/linux-5.19.10/block/ |
D | blk-settings.c | 34 void blk_set_default_limits(struct queue_limits *lim) in blk_set_default_limits() argument 36 lim->max_segments = BLK_MAX_SEGMENTS; in blk_set_default_limits() 37 lim->max_discard_segments = 1; in blk_set_default_limits() 38 lim->max_integrity_segments = 0; in blk_set_default_limits() 39 lim->seg_boundary_mask = BLK_SEG_BOUNDARY_MASK; in blk_set_default_limits() 40 lim->virt_boundary_mask = 0; in blk_set_default_limits() 41 lim->max_segment_size = BLK_MAX_SEGMENT_SIZE; in blk_set_default_limits() 42 lim->max_sectors = lim->max_hw_sectors = BLK_SAFE_MAX_SECTORS; in blk_set_default_limits() 43 lim->max_dev_sectors = 0; in blk_set_default_limits() 44 lim->chunk_sectors = 0; in blk_set_default_limits() [all …]
|
/linux-5.19.10/drivers/media/i2c/ |
D | ccs-pll.c | 152 const struct ccs_pll_limits *lim, in check_fr_bounds() argument 161 lim_fr = &lim->op_fr; in check_fr_bounds() 164 lim_fr = &lim->vt_fr; in check_fr_bounds() 192 const struct ccs_pll_limits *lim, in check_bk_bounds() argument 204 lim_bk = &lim->op_bk; in check_bk_bounds() 207 lim_bk = &lim->vt_bk; in check_bk_bounds() 251 ccs_pll_find_vt_sys_div(struct device *dev, const struct ccs_pll_limits *lim, in ccs_pll_find_vt_sys_div() argument 260 *min_sys_div = lim->vt_bk.min_sys_clk_div; in ccs_pll_find_vt_sys_div() 264 lim->vt_bk.max_pix_clk_div)); in ccs_pll_find_vt_sys_div() 268 / lim->vt_bk.max_sys_clk_freq_hz); in ccs_pll_find_vt_sys_div() [all …]
|
/linux-5.19.10/tools/lib/ |
D | bitmap.c | 10 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local 12 for (k = 0; k < lim; k++) in __bitmap_weight() 64 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_and() local 67 for (k = 0; k < lim; k++) in __bitmap_and() 78 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal() local 79 for (k = 0; k < lim; ++k) in __bitmap_equal() 93 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_intersects() local 94 for (k = 0; k < lim; ++k) in __bitmap_intersects()
|
/linux-5.19.10/tools/include/nolibc/ |
D | stdlib.h | 226 unsigned long lim; in utoa_r() local 232 for (dig = 0, lim = 1; dig < pos; dig++) in utoa_r() 233 lim *= 10; in utoa_r() 235 if (digits || in >= lim || !pos) { in utoa_r() 236 for (dig = 0; in >= lim; dig++) in utoa_r() 237 in -= lim; in utoa_r() 362 unsigned long long lim; in u64toa_r() local 368 for (dig = 0, lim = 1; dig < pos; dig++) in u64toa_r() 369 lim *= 10; in u64toa_r() 371 if (digits || in >= lim || !pos) { in u64toa_r() [all …]
|
/linux-5.19.10/drivers/dma/dw-edma/ |
D | dw-edma-v0-debugfs.c | 47 } lim[2][EDMA_V0_MAX_NR_CH]; variable 65 if (lim[0][ch].start >= reg && reg < lim[0][ch].end) { in dw_edma_debugfs_u32_get() 66 ptr += (reg - lim[0][ch].start); in dw_edma_debugfs_u32_get() 71 if (lim[1][ch].start >= reg && reg < lim[1][ch].end) { in dw_edma_debugfs_u32_get() 72 ptr += (reg - lim[1][ch].start); in dw_edma_debugfs_u32_get() 191 lim[0][i].start = ®s->type.unroll.ch[i].wr; in dw_edma_debugfs_regs_wr() 192 lim[0][i].end = ®s->type.unroll.ch[i].padding_1[0]; in dw_edma_debugfs_regs_wr() 260 lim[1][i].start = ®s->type.unroll.ch[i].rd; in dw_edma_debugfs_regs_rd() 261 lim[1][i].end = ®s->type.unroll.ch[i].padding_2[0]; in dw_edma_debugfs_regs_rd()
|
/linux-5.19.10/lib/ |
D | bitmap.c | 51 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal() local 52 for (k = 0; k < lim; ++k) in __bitmap_equal() 69 unsigned int k, lim = bits / BITS_PER_LONG; in __bitmap_or_equal() local 72 for (k = 0; k < lim; ++k) { in __bitmap_or_equal() 86 unsigned int k, lim = BITS_TO_LONGS(bits); in __bitmap_complement() local 87 for (k = 0; k < lim; ++k) in __bitmap_complement() 106 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right() local 109 for (k = 0; off + k < lim; ++k) { in __bitmap_shift_right() 116 if (!rem || off + k + 1 >= lim) in __bitmap_shift_right() 120 if (off + k + 1 == lim - 1) in __bitmap_shift_right() [all …]
|
/linux-5.19.10/arch/um/os-Linux/ |
D | main.c | 28 struct rlimit lim; in set_stklim() local 30 if (getrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim() 34 if ((lim.rlim_cur == RLIM_INFINITY) || (lim.rlim_cur > STACKSIZE)) { in set_stklim() 35 lim.rlim_cur = STACKSIZE; in set_stklim() 36 if (setrlimit(RLIMIT_STACK, &lim) < 0) { in set_stklim()
|
D | start_up.c | 303 struct rlimit lim; in check_coredump_limit() local 304 int err = getrlimit(RLIMIT_CORE, &lim); in check_coredump_limit() 312 if (lim.rlim_cur == RLIM_INFINITY) in check_coredump_limit() 315 os_info("%llu\n", (unsigned long long)lim.rlim_cur); in check_coredump_limit() 318 if (lim.rlim_max == RLIM_INFINITY) in check_coredump_limit() 321 os_info("%llu\n", (unsigned long long)lim.rlim_max); in check_coredump_limit()
|
/linux-5.19.10/drivers/pps/generators/ |
D | pps_gen_parport.c | 60 long lim, delta; in hrtimer_event() local 78 lim = NSEC_PER_SEC - send_delay - dev->port_write_time; in hrtimer_event() 81 if (expire_time.tv_sec != ts1.tv_sec || ts1.tv_nsec > lim) { in hrtimer_event() 91 } while (expire_time.tv_sec == ts2.tv_sec && ts2.tv_nsec < lim); in hrtimer_event() 98 lim = NSEC_PER_SEC - dev->port_write_time; in hrtimer_event() 101 } while (expire_time.tv_sec == ts2.tv_sec && ts2.tv_nsec < lim); in hrtimer_event()
|
/linux-5.19.10/drivers/edac/ |
D | amd64_edac.h | 152 #define dram_intlv_sel(pvt, i) ((u8)((pvt->ranges[i].lim.lo >> 8) & 0x7)) 153 #define dram_dst_node(pvt, i) ((u8)(pvt->ranges[i].lim.lo & 0x7)) 330 struct reg_pair lim; member 448 u64 lim = (((u64)pvt->ranges[i].lim.lo & 0xffff0000) << 8) | 0x00ffffff; in get_dram_limit() local 451 return lim; in get_dram_limit() 453 return (((u64)pvt->ranges[i].lim.hi & 0x000000ff) << 40) | lim; in get_dram_limit()
|
/linux-5.19.10/drivers/scsi/ |
D | sun3x_esp.c | 87 int lim; in sun3x_esp_dma_drain() local 95 lim = 1000; in sun3x_esp_dma_drain() 97 if (--lim == 0) { in sun3x_esp_dma_drain() 109 int lim; in sun3x_esp_dma_invalidate() local 111 lim = 1000; in sun3x_esp_dma_invalidate() 113 if (--lim == 0) { in sun3x_esp_dma_invalidate()
|
D | sun_esp.c | 224 int can_do_sbus64, lim; in sbus_esp_reset_dma() local 264 lim = 1000; in sbus_esp_reset_dma() 266 if (--lim == 0) { in sbus_esp_reset_dma() 323 int lim; in sbus_esp_dma_drain() local 335 lim = 1000; in sbus_esp_dma_drain() 337 if (--lim == 0) { in sbus_esp_dma_drain() 365 int lim; in sbus_esp_dma_invalidate() local 367 lim = 1000; in sbus_esp_dma_invalidate() 369 if (--lim == 0) { in sbus_esp_dma_invalidate()
|
D | am53c974.c | 142 int lim = 1000; in pci_esp_dma_drain() local 150 while (--lim > 0) { in pci_esp_dma_drain() 164 lim = 1000; in pci_esp_dma_drain() 167 if (--lim == 0) in pci_esp_dma_drain() 172 esp_dma_log("DMA blast done (%d tries, %d bytes left)\n", lim, resid); in pci_esp_dma_drain()
|
/linux-5.19.10/tools/testing/selftests/vm/ |
D | compaction_test.c | 163 struct rlimit lim; in main() local 178 lim.rlim_cur = RLIM_INFINITY; in main() 179 lim.rlim_max = RLIM_INFINITY; in main() 180 if (setrlimit(RLIMIT_MEMLOCK, &lim)) { in main()
|
/linux-5.19.10/drivers/regulator/ |
D | qcom-labibb-regulator.c | 310 static int qcom_labibb_set_ocp(struct regulator_dev *rdev, int lim, in qcom_labibb_set_ocp() argument 322 if (lim || severity != REGULATOR_SEVERITY_PROT || !enable) in qcom_labibb_set_ocp() 565 struct labibb_current_limits *lim = &vreg->uA_limits; in qcom_labibb_set_current_limit() local 569 if (min_uA < lim->uA_min || max_uA < lim->uA_min) in qcom_labibb_set_current_limit() 573 int uA_limit = (lim->uA_step * i) + lim->uA_min; in qcom_labibb_set_current_limit() 587 mask = desc->csel_mask | lim->ovr_val; in qcom_labibb_set_current_limit() 589 val = (u32)sel | lim->ovr_val; in qcom_labibb_set_current_limit() 599 struct labibb_current_limits *lim = &vreg->uA_limits; in qcom_labibb_get_current_limit() local 608 return (cur_step * lim->uA_step) + lim->uA_min; in qcom_labibb_get_current_limit()
|
D | rt5759-regulator.c | 147 static int rt5759_set_otp(struct regulator_dev *rdev, int lim, int severity, in rt5759_set_otp() argument 161 if (lim == 0) in rt5759_set_otp() 162 lim = 150; in rt5759_set_otp() 165 if (lim <= otp_lvl[i]) in rt5759_set_otp()
|
D | bd9576-regulator.c | 216 struct regmap *regmap, int reg, int mask, int lim) in bd9576_set_limit() argument 222 if (lim) { in bd9576_set_limit() 225 lim, &sel, &found); in bd9576_set_limit() 232 lim); in bd9576_set_limit() 464 static int bd9576_set_tw(struct regulator_dev *rdev, int lim, int severity, in bd9576_set_tw() argument 475 if (lim) in bd9576_set_tw()
|
/linux-5.19.10/include/linux/ |
D | bcm47xx_nvram.h | 14 int bcm47xx_nvram_init_from_mem(u32 base, u32 lim); 23 static inline int bcm47xx_nvram_init_from_mem(u32 base, u32 lim) in bcm47xx_nvram_init_from_mem() argument
|
/linux-5.19.10/drivers/media/usb/pvrusb2/ |
D | pvrusb2-ctrl.c | 22 int lim; in pvr2_ctrl_range_check() local 23 lim = cptr->info->def.type_int.min_value; in pvr2_ctrl_range_check() 25 cptr->info->get_min_value(cptr,&lim); in pvr2_ctrl_range_check() 27 if (val < lim) return -ERANGE; in pvr2_ctrl_range_check() 28 lim = cptr->info->def.type_int.max_value; in pvr2_ctrl_range_check() 30 cptr->info->get_max_value(cptr,&lim); in pvr2_ctrl_range_check() 32 if (val > lim) return -ERANGE; in pvr2_ctrl_range_check()
|
/linux-5.19.10/drivers/firmware/broadcom/ |
D | bcm47xx_nvram.c | 120 int bcm47xx_nvram_init_from_mem(u32 base, u32 lim) in bcm47xx_nvram_init_from_mem() argument 125 iobase = ioremap(base, lim); in bcm47xx_nvram_init_from_mem() 129 err = bcm47xx_nvram_find_and_copy(iobase, lim); in bcm47xx_nvram_init_from_mem()
|
/linux-5.19.10/drivers/block/aoe/ |
D | aoedev.c | 246 size_t lim; in user_req() local 251 lim = sizeof(d->gd->disk_name); in user_req() 252 lim -= p - d->gd->disk_name; in user_req() 253 if (slen < lim) in user_req() 254 lim = slen; in user_req() 256 return !strncmp(s, p, lim); in user_req()
|
/linux-5.19.10/Documentation/driver-api/media/drivers/ccs/ |
D | mk-ccs-regs | 308 my ($lim, $offset) = split /,/, $d->[0]; 310 $reg_formula .= " + (($arg) < $lim ? ($arg)$times : $offset + (($arg) - $lim)$times)";
|
/linux-5.19.10/kernel/rcu/ |
D | tasks.h | 223 int lim; in cblist_init_generic() local 234 lim = rcu_task_enqueue_lim; in cblist_init_generic() 236 if (lim > nr_cpu_ids) in cblist_init_generic() 237 lim = nr_cpu_ids; in cblist_init_generic() 238 shift = ilog2(nr_cpu_ids / lim); in cblist_init_generic() 239 if (((nr_cpu_ids - 1) >> shift) >= lim) in cblist_init_generic() 242 WRITE_ONCE(rtp->percpu_dequeue_lim, lim); in cblist_init_generic() 243 smp_store_release(&rtp->percpu_enqueue_lim, lim); in cblist_init_generic()
|
/linux-5.19.10/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-core.c | 870 struct fimc_pix_limit *lim; in fimc_parse_dt() local 877 v = devm_kzalloc(dev, sizeof(*v) + sizeof(*lim), GFP_KERNEL); in fimc_parse_dt() 890 lim = (struct fimc_pix_limit *)&v[1]; in fimc_parse_dt() 892 lim->scaler_en_w = args[0]; in fimc_parse_dt() 893 lim->scaler_dis_w = args[1]; in fimc_parse_dt() 894 lim->out_rot_en_w = args[2]; in fimc_parse_dt() 895 lim->out_rot_dis_w = args[3]; in fimc_parse_dt() 896 v->pix_limit = lim; in fimc_parse_dt()
|
/linux-5.19.10/arch/ia64/kernel/ |
D | efi.c | 1051 u64 as, ae, lim; in efi_memmap_init() local 1099 lim = min(efi_md_end(md), contig_low); in efi_memmap_init() 1105 (lim - md->phys_addr) in efi_memmap_init() 1110 k->num_pages = (lim - md->phys_addr) in efi_memmap_init() 1120 lim = max(md->phys_addr, contig_high); in efi_memmap_init() 1122 if (lim == md->phys_addr && k > kern_memmap && in efi_memmap_init() 1128 k->start = lim; in efi_memmap_init() 1129 k->num_pages = (efi_md_end(md) - lim) in efi_memmap_init()
|