/linux/drivers/gpu/drm/nouveau/ |
H A D | nv50_fence.c | 42 u32 limit = start + priv->bo->bo.base.size - 1; in nv50_fence_context_new() local 60 .limit = limit, in nv50_fence_context_new()
|
/linux/arch/x86/platform/uv/ |
H A D | uv_irq.c | 93 if (info->uv.limit == UV_AFFINITY_CPU) in uv_domain_alloc() 185 unsigned long mmr_offset, int limit) in uv_setup_irq() argument 195 info.uv.limit = limit; in uv_setup_irq()
|
/linux/security/keys/ |
H A D | gc.c | 191 time64_t new_timer, limit, expiry; in key_garbage_collector() local 195 limit = ktime_get_real_seconds(); in key_garbage_collector() 240 if (expiry > limit && expiry < new_timer) { in key_garbage_collector() 242 key_serial(key), key->expiry - limit); in key_garbage_collector() 356 keyring_gc(key, limit); in key_garbage_collector()
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | sch_red.sh | 269 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0." 279 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected >= 95." 345 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0." 353 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0." 421 check_err $? "backlog $backlog / $limit Got $pct% mirrored packets, expected == 0." 426 check_err $? "backlog $backlog / $limit Got $pct% mirrored packets, expected >= 95."
|
/linux/drivers/thermal/intel/int340x_thermal/ |
H A D | acpi_thermal_rel.c | 311 memset(&psvt->limit, 0, sizeof(u64)); in acpi_parse_psvt() 312 strscpy(psvt->limit.string, psvt_ptr->limit.str_ptr, ACPI_LIMIT_STR_MAX_LEN); in acpi_parse_psvt() 314 psvt->limit.integer = psvt_ptr->limit.integer; in acpi_parse_psvt() 471 strscpy(psvt_user[i].limit.string, psvts[i].limit.string, in fill_psvt() 474 psvt_user[i].limit.integer = psvts[i].limit.integer; in fill_psvt()
|
/linux/Documentation/power/regulator/ |
H A D | consumer.rst | 107 current limit to match system operating points. e.g. LCD backlight driver can 108 change the current limit to vary the backlight brightness, USB drivers may want 109 to set the limit to 500mA when supplying power. 111 Consumers can control their supply current limit by calling:: 115 Where min_uA and max_uA are the minimum and maximum acceptable current limit in 120 when enabled, then the current limit changes instantly, otherwise the current 121 limit configuration changes and the current limit is physically set when the 124 A regulators current limit can be found by calling:: 129 get_current_limit() will return the current limit whether the regulator
|
/linux/drivers/hwmon/ |
H A D | max16065.c | 92 int limit[MAX16065_NUM_LIMIT][MAX16065_NUM_ADC]; member 112 static inline int LIMIT_TO_MV(int limit, int range) in LIMIT_TO_MV() argument 114 return limit * range / 256; in LIMIT_TO_MV() 227 int limit; in max16065_limit_store() local 233 limit = MV_TO_LIMIT(val, data->range[attr2->index]); in max16065_limit_store() 236 data->limit[attr2->nr][attr2->index] in max16065_limit_store() 237 = LIMIT_TO_MV(limit, data->range[attr2->index]); in max16065_limit_store() 240 limit); in max16065_limit_store() 253 data->limit[attr2->nr][attr2->index]); in max16065_limit_show() 553 data->limit[i][j] = LIMIT_TO_MV(val, data->range[j]); in max16065_probe()
|
/linux/fs/nilfs2/ |
H A D | dir.c | 115 size_t limit = folio_size(folio); in nilfs_check_folio() local 119 if (dir->i_size < folio_pos(folio) + limit) { in nilfs_check_folio() 120 limit = dir->i_size - folio_pos(folio); in nilfs_check_folio() 121 if (limit & (chunk_size - 1)) in nilfs_check_folio() 123 if (!limit) in nilfs_check_folio() 126 for (offs = 0; offs <= limit - NILFS_DIR_REC_LEN(1); offs += rec_len) { in nilfs_check_folio() 139 if (offs != limit) in nilfs_check_folio() 272 char *kaddr, *limit; in nilfs_readdir() local 283 limit = kaddr + nilfs_last_byte(inode, n) - in nilfs_readdir() 285 for ( ; (char *)de <= limit; de = nilfs_next_entry(de)) { in nilfs_readdir()
|
/linux/block/ |
H A D | blk-wbt.c | 198 int inflight, limit; in wbt_rqw_done() local 208 limit = rwb->wb_background; in wbt_rqw_done() 211 limit = 0; in wbt_rqw_done() 213 limit = rwb->wb_normal; in wbt_rqw_done() 218 if (inflight && inflight >= limit) in wbt_rqw_done() 222 int diff = limit - inflight; in wbt_rqw_done() 535 unsigned int limit; in get_limit() local 549 limit = rwb->rq_depth.max_depth; in get_limit() 555 limit = rwb->wb_background; in get_limit() 557 limit = rwb->wb_normal; in get_limit() [all …]
|
/linux/arch/arm64/kernel/ |
H A D | signal.c | 82 user->limit -= TERMINATOR_SIZE; in init_user_layout() 83 user->limit -= EXTRA_CONTEXT_SIZE; in init_user_layout() 110 user->limit += EXTRA_CONTEXT_SIZE; in __sigframe_alloc() 114 user->limit -= EXTRA_CONTEXT_SIZE; in __sigframe_alloc() 155 user->limit += TERMINATOR_SIZE; in sigframe_alloc_end() 163 user->limit = user->size; in sigframe_alloc_end() 638 if (limit - offset < sizeof(*head)) in parse_user_sigframe() 650 if (limit - offset < size) in parse_user_sigframe() 784 limit = extra_size; in parse_user_sigframe() 786 if (!access_ok(base, limit)) in parse_user_sigframe() [all …]
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | iommu.c | 220 long l, limit; in tce_buildmulti_pSeriesLP() local 272 limit); in tce_buildmulti_pSeriesLP() 274 npages -= limit; in tce_buildmulti_pSeriesLP() 275 tcenum += limit; in tce_buildmulti_pSeriesLP() 333 rpages -= limit; in tce_freemulti_pSeriesLP() 334 tcenum += limit; in tce_freemulti_pSeriesLP() 406 long limit; in tce_clearrange_multi_pSeriesLP() local 433 num_tce -= limit; in tce_clearrange_multi_pSeriesLP() 447 long l, limit; in tce_setrange_multi_pSeriesLP() local 507 limit); in tce_setrange_multi_pSeriesLP() [all …]
|
/linux/drivers/net/ethernet/sun/ |
H A D | sungem.c | 129 while (--limit) { in __sungem_phy_read() 137 if (!limit) in __sungem_phy_read() 362 int limit, i; in gem_rxmac_reset() local 368 for (limit = 0; limit < 5000; limit++) { in gem_rxmac_reset() 380 for (limit = 0; limit < 5000; limit++) { in gem_rxmac_reset() 392 for (limit = 0; limit < 5000; limit++) { in gem_rxmac_reset() 407 for (limit = 0; limit < 5000; limit++) { in gem_rxmac_reset() 1100 int limit; in gem_pcs_reset() local 1108 limit = 32; in gem_pcs_reset() 1114 if (limit < 0) in gem_pcs_reset() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | nv20.c | 34 tile->limit = max(1u, addr + size) - 1; in nv20_fb_tile_init() 63 tile->limit = 0; in nv20_fb_tile_fini() 73 nvkm_wr32(device, 0x100244 + (i * 0x10), tile->limit); in nv20_fb_tile_prog()
|
/linux/arch/arm/mach-socfpga/ |
H A D | ocram.c | 94 int limit = ALTR_A10_ECC_INIT_WATCHDOG_10US; in altr_init_memory_port() local 97 while (limit--) { in altr_init_memory_port() 103 if (limit < 0) in altr_init_memory_port()
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8974-sony-xperia-rhine-amami.dts | 12 qcom,fast-charge-current-limit = <1300000>; 13 qcom,dc-current-limit = <1300000>;
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-led-flash | 60 has exceeded the limit specific to the flash controller 73 supply has exceeded the limit specific to the flash 80 LED has been below the minimum limit specific to 84 controller is below the limit under which strobing the 89 its allowed upper limit
|
/linux/kernel/bpf/ |
H A D | lpm_trie.c | 170 u32 limit = min(node->prefixlen, key->prefixlen); in __longest_prefix_match() local 186 if (prefixlen >= limit) in __longest_prefix_match() 187 return limit; in __longest_prefix_match() 199 if (prefixlen >= limit) in __longest_prefix_match() 200 return limit; in __longest_prefix_match() 211 if (prefixlen >= limit) in __longest_prefix_match() 212 return limit; in __longest_prefix_match() 221 if (prefixlen >= limit) in __longest_prefix_match() 222 return limit; in __longest_prefix_match()
|
/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | mediatek,mt76.yaml | 75 ieee80211-freq-limit: true 176 4 half-dBm per-rate power limit values 183 8 half-dBm per-rate power limit values 188 Sets of per-rate power limit values for 802.11n/802.11ac 192 either 8 or 10 power limit values. The order of the 202 Sets of per-rate power limit values for 802.11ax rates 206 followed by 12 power limit values. The order of the 250 ieee80211-freq-limit = <5000000 6000000>;
|
/linux/include/linux/sched/ |
H A D | signal.h | 764 unsigned int limit) in task_rlimit() argument 766 return READ_ONCE(task->signal->rlim[limit].rlim_cur); in task_rlimit() 770 unsigned int limit) in task_rlimit_max() argument 772 return READ_ONCE(task->signal->rlim[limit].rlim_max); in task_rlimit_max() 775 static inline unsigned long rlimit(unsigned int limit) in rlimit() argument 777 return task_rlimit(current, limit); in rlimit() 780 static inline unsigned long rlimit_max(unsigned int limit) in rlimit_max() argument 782 return task_rlimit_max(current, limit); in rlimit_max()
|
/linux/net/sched/ |
H A D | sch_choke.c | 50 u32 limit; member 267 if (sch->q.qlen < q->limit) { in choke_enqueue() 366 if (ctl->limit > CHOKE_MAX_QUEUE) in choke_change() 369 mask = roundup_pow_of_two(ctl->limit + 1) - 1; in choke_change() 409 WRITE_ONCE(q->limit, ctl->limit); in choke_change() 437 .limit = READ_ONCE(q->limit), in choke_dump()
|
/linux/fs/jfs/ |
H A D | jfs_types.h | 144 #define setDASDLIMIT(dasdp, limit)\ argument 146 (dasdp)->limit_hi = ((u64)limit) >> 32;\ 147 (dasdp)->limit_lo = __cpu_to_le32(limit);\
|
/linux/lib/lzo/ |
H A D | lzo1x_compress.c | 53 const unsigned char *limit = min(ip_end, ip + MAX_ZERO_RUN_LENGTH + 1); in lzo1x_1_do_compress() local 58 for (; (ir + 32) <= limit; ir += 32) { in lzo1x_1_do_compress() 66 for (; (ir + 8) <= limit; ir += 8) { in lzo1x_1_do_compress() 82 (ir < limit) && (*ir == 0)) in lzo1x_1_do_compress() 85 for (; (ir + 4) <= limit; ir += 4) { in lzo1x_1_do_compress() 100 while (likely(ir < limit) && unlikely(*ir == 0)) in lzo1x_1_do_compress()
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-n950.dts | 197 st,min-limit-x = <(-32)>; 198 st,min-limit-y = <3>; 199 st,min-limit-z = <3>; 201 st,max-limit-x = <(-3)>; 202 st,max-limit-y = <32>; 203 st,max-limit-z = <32>;
|
/linux/arch/powerpc/include/asm/ |
H A D | rtas-work-area.h | 91 void rtas_work_area_reserve_arena(phys_addr_t limit); 93 static inline void rtas_work_area_reserve_arena(phys_addr_t limit) {} in rtas_work_area_reserve_arena() argument
|
/linux/Documentation/hwmon/ |
H A D | gl518sm.rst | 44 temperature is above the over temperature limit, and has not yet dropped 45 below the hysteresis limit. The alarm always reflects the current 50 triggered if the rotation speed has dropped below a programmable limit. In 60 maximum limit. Note that minimum in this case always means 'closest to 65 reading the current voltage of any input except for VIN3; limit setting and
|