Searched refs:limit (Results 251 - 275 of 851) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00queue.h433 * @limit: Maximum number of entries in the queue.
463 unsigned short limit; member in struct:data_queue
602 return queue->length == queue->limit;
611 return queue->limit - queue->length;
/linux-master/sound/pci/aw2/
H A Daw2-saa7146.c154 /* No MMU -> nothing to do with PageA1, we only configure the limit of
160 The limit register defines an address limit, which generates
164 defines a limit of 128 bytes, '0011' one of 256 bytes, and
180 /* Define upper limit for DMA access */
191 /* Define upper limit for DMA access */
211 /* No MMU -> nothing to do with PageA1, we only configure the limit of
217 The limit register defines an address limit, which generates
221 defines a limit o
442 int limit = 0; local
[all...]
/linux-master/sound/isa/
H A Dazt2320.c136 unsigned long limit; local
138 limit = jiffies + HZ / 10;
139 for (i = 50000; i && time_after(limit, jiffies); i--)
/linux-master/drivers/usb/mtu3/
H A Dmtu3_core.c31 if (num_bits > fifo->limit)
37 fifo->limit, 0, num_bits, 0);
38 if (start_bit >= fifo->limit)
58 if (unlikely(addr < fifo->base || bits > fifo->limit))
551 tx_fifo->limit = fifosize / MTU3_EP_FIFO_UNIT;
557 rx_fifo->limit = fifosize / MTU3_EP_FIFO_UNIT;
564 tx_fifo->limit = (fifosize / MTU3_EP_FIFO_UNIT) >> 1;
569 tx_fifo->base + tx_fifo->limit * MTU3_EP_FIFO_UNIT;
570 rx_fifo->limit = tx_fifo->limit;
[all...]
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_pool.c110 pool->limit.min = info->min_index;
111 pool->limit.max = info->max_index;
141 err = xa_alloc_cyclic(&pool->xa, &elem->index, NULL, pool->limit,
/linux-master/tools/lib/bpf/
H A Dzip.c177 int64_t limit, offset; local
185 * search for it at the end of the file, scanning the (limit, offset] range.
188 limit = (int64_t)offset - (1 << 16);
190 for (; offset >= 0 && offset > limit && rc != 0; offset--) {
/linux-master/arch/s390/boot/
H A Dphysmem_info.c180 void physmem_set_usable_limit(unsigned long limit) argument
182 physmem_info.usable = limit;
183 physmem_alloc_pos = limit;
/linux-master/lib/
H A Dref_tracker.c32 ref_tracker_get_stats(struct ref_tracker_dir *dir, unsigned int limit) argument
37 stats = kmalloc(struct_size(stats, stacks, limit),
52 if (i >= limit)
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_irq.c52 * proper allocation limit for maximum tracker entries.
58 struct xa_limit limit = { .max = pf->irq_tracker.num_entries, local
71 limit.min = num_static;
73 ret = xa_alloc(&pf->irq_tracker.entries, &index, entry, limit,
/linux-master/drivers/input/serio/
H A Dapbps2.c105 int limit; local
111 limit = 1024;
112 while ((ioread32be(&priv->regs->status) & APBPS2_STATUS_DR) && --limit)
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-trbe.c111 * Safe limit for the number of bytes that may be overwritten
301 * The TRBE buffer spans from the base pointer till the limit pointer. When enabled,
302 * it starts writing trace data from the write pointer onward till the limit pointer.
303 * When the write pointer reaches the address just before the limit pointer, it gets
320 * The base and limit pointers always needs to be PAGE_SIZE aligned. But the write
402 u64 limit = bufsize; local
459 * trbe_base limit trbe_base + nr_pages
471 * trbe_base limit = trbe_base + nr_pages
484 * trbe_base limit = trbe_base + nr_pages
492 limit
549 u64 limit = __trbe_normal_offset(handle); local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dshadow.c41 const u32 limit = (upto + 3) & ~3; local
44 if (nvbios_extend(bios, limit) > 0) {
45 u32 read = mthd->func->read(data, start, limit - start, bios);
/linux-master/include/linux/
H A Dxarray.h852 * @limit: Range of ID to allocate.
855 * Finds an empty entry in @xa between @limit.min and @limit.max,
865 * -EBUSY if there are no free entries in @limit.
868 void *entry, struct xa_limit limit, gfp_t gfp)
874 err = __xa_alloc(xa, id, entry, limit, gfp);
885 * @limit: Range of ID to allocate.
888 * Finds an empty entry in @xa between @limit.min and @limit.max,
898 * -EBUSY if there are no free entries in @limit
867 xa_alloc(struct xarray *xa, u32 *id, void *entry, struct xa_limit limit, gfp_t gfp) argument
900 xa_alloc_bh(struct xarray *xa, u32 *id, void *entry, struct xa_limit limit, gfp_t gfp) argument
933 xa_alloc_irq(struct xarray *xa, u32 *id, void *entry, struct xa_limit limit, gfp_t gfp) argument
970 xa_alloc_cyclic(struct xarray *xa, u32 *id, void *entry, struct xa_limit limit, u32 *next, gfp_t gfp) argument
1007 xa_alloc_cyclic_bh(struct xarray *xa, u32 *id, void *entry, struct xa_limit limit, u32 *next, gfp_t gfp) argument
1044 xa_alloc_cyclic_irq(struct xarray *xa, u32 *id, void *entry, struct xa_limit limit, u32 *next, gfp_t gfp) argument
[all...]
/linux-master/arch/powerpc/platforms/pasemi/
H A Ddma_lib.c105 int start, limit; local
110 limit = 10;
114 limit = MAX_TXCH;
118 limit = MAX_TXCH;
123 if (bit >= limit)
/linux-master/kernel/
H A Dpanic.c238 unsigned int limit; local
243 limit = READ_ONCE(warn_limit);
244 if (atomic_inc_return(&warn_count) >= limit && limit)
246 origin, limit);
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
H A Drf_common.c169 u8 limit; local
178 limit = rtlefuse->pwrgroup_ht40[rf][channel - 1];
180 limit = rtlefuse->pwrgroup_ht20[rf][channel - 1];
182 if (pwr_diff_limit[i] > limit)
183 pwr_diff_limit[i] = limit;
234 "customer's limit, 40MHz rf(%c) = 0x%x\n",
239 "customer's limit, 20MHz rf(%c) = 0x%x\n",
253 "Customer's limit rf(%c) = 0x%x\n",
/linux-master/net/sched/
H A Dsch_sfq.c115 int limit; /* limit of total number of packets in this qdisc */ member in struct:sfq_sched_data
118 u8 maxdepth; /* limit of packets per flow */
461 if (++sch->q.qlen <= q->limit)
692 if (ctl->limit) {
693 q->limit = min_t(u32, ctl->limit, q->maxdepth * q->maxflows);
694 q->maxflows = min_t(u32, q->maxflows, q->limit);
698 while (sch->q.qlen > q->limit) {
758 q->limit
[all...]
/linux-master/drivers/ras/amd/atl/
H A Dmap.c184 u16 dst_fabric_id = FIELD_GET(DF3_DST_FABRIC_ID, ctx->map.limit);
221 ctx->inst_id, &ctx->map.limit))
252 ctx->inst_id, &ctx->map.limit))
308 ctx->inst_id, &ctx->map.limit))
582 dies = FIELD_GET(DF2_INTLV_NUM_DIES, ctx->map.limit);
609 sockets = FIELD_GET(DF2_INTLV_NUM_SOCKETS, ctx->map.limit);
652 pr_debug("limit=0x%x", map->limit);
/linux-master/drivers/hwmon/
H A Demc1403.c136 case 0x35: /* high limit status */
137 case 0x36: /* low limit status */
138 case 0x37: /* therm limit status */
314 long limit; local
317 ret = __emc1403_get_temp(data, channel, map, &limit);
324 *val = limit + hyst * 1000;
326 *val = limit - hyst * 1000;
447 long limit; local
455 ret = __emc1403_get_temp(data, 0, temp_crit, &limit);
459 hyst = limit
[all...]
/linux-master/drivers/gpu/drm/amd/pm/powerplay/
H A Damd_powerplay.c970 static int pp_set_power_limit(void *handle, uint32_t limit) argument
983 if (limit == 0)
984 limit = hwmgr->default_power_limit;
992 if (limit > max_power_limit)
995 hwmgr->hwmgr_func->set_power_limit(hwmgr, limit);
996 hwmgr->power_limit = limit;
1000 static int pp_get_power_limit(void *handle, uint32_t *limit, argument
1007 if (!hwmgr || !hwmgr->pm_en || !limit)
1015 *limit = hwmgr->power_limit;
1018 *limit
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_fbc.c104 u8 limit; member in struct:intel_fbc
139 /* plane stride based cfb stride in bytes, assuming 1:1 compression limit */
147 /* minimum acceptable cfb stride in bytes, assuming 1:1 compression limit */
151 unsigned int limit = 4; /* 1:4 compression limit is the worst case */ local
158 stride = width * cpp * height / limit;
173 /* convert back to single line equivalent with 1:1 compression limit */
174 return stride * limit / height;
177 /* properly aligned cfb stride in bytes, assuming 1:1 compression limit */
186 * that regardless of the compression limit w
762 int ret, limit = min_limit; local
[all...]
/linux-master/arch/x86/xen/
H A Dmmu_pv.c556 bool last, unsigned long limit)
560 nr = last ? pmd_index(limit) + 1 : PTRS_PER_PMD;
570 bool last, unsigned long limit)
574 nr = last ? pud_index(limit) + 1 : PTRS_PER_PUD;
584 xen_pmd_walk(mm, pmd, func, last && i == nr - 1, limit);
591 bool last, unsigned long limit)
602 xen_pud_walk(mm, pud, func, last, limit);
610 * pinning pte pages which are below limit. In the normal case this
620 unsigned long limit)
625 /* The limit i
553 xen_pmd_walk(struct mm_struct *mm, pmd_t *pmd, void (*func)(struct mm_struct *mm, struct page *, enum pt_level), bool last, unsigned long limit) argument
567 xen_pud_walk(struct mm_struct *mm, pud_t *pud, void (*func)(struct mm_struct *mm, struct page *, enum pt_level), bool last, unsigned long limit) argument
588 xen_p4d_walk(struct mm_struct *mm, p4d_t *p4d, void (*func)(struct mm_struct *mm, struct page *, enum pt_level), bool last, unsigned long limit) argument
617 __xen_pgd_walk(struct mm_struct *mm, pgd_t *pgd, void (*func)(struct mm_struct *mm, struct page *, enum pt_level), unsigned long limit) argument
655 xen_pgd_walk(struct mm_struct *mm, void (*func)(struct mm_struct *mm, struct page *, enum pt_level), unsigned long limit) argument
2242 unsigned i, limit; local
[all...]
/linux-master/mm/
H A Dpage-writeback.c259 * Because the user is allowed to specify the dirty limit globally as
260 * absolute number of bytes, calculating the per-zone dirty limit can
261 * require translating the configured limit into a percentage of
482 * dirty limit, %false if the limit is exceeded.
486 unsigned long limit = node_dirty_limit(pgdat); local
492 return nr_pages <= limit;
844 * Note that balance_dirty_pages() will only seriously take it as a hard limit
855 * The wb's share of dirty limit will be adapting to its throughput and
858 * Return: @wb's dirty limit i
909 pos_ratio_polynom(unsigned long setpoint, unsigned long dirty, unsigned long limit) argument
1006 unsigned long limit = hard_dirty_limit(dtc_dom(dtc), dtc->thresh); local
1234 unsigned long limit = dom->dirty_limit; local
1291 unsigned long limit = hard_dirty_limit(dtc_dom(dtc), dtc->thresh); local
[all...]
/linux-master/drivers/net/ethernet/emulex/benet/
H A Dbe.h134 static inline u32 MODULO(u32 val, u32 limit) argument
136 BUG_ON(limit & (limit - 1));
137 return val & (limit - 1);
140 static inline void index_adv(u32 *index, u32 val, u32 limit) argument
142 *index = MODULO((*index + val), limit);
145 static inline void index_inc(u32 *index, u32 limit) argument
147 *index = MODULO((*index + 1), limit);
170 static inline void index_dec(u32 *index, u32 limit) argument
172 *index = MODULO((*index - 1), limit);
[all...]
/linux-master/block/partitions/
H A Dmsdos.c150 if (state->next == state->limit)
198 if (++state->next == state->limit)
283 for (i = 0; i < max_nparts && state->next < state->limit; i++) {
380 if (state->next == state->limit)
508 if (state->next == state->limit)
554 if (state->next == state->limit)

Completed in 260 milliseconds

<<11121314151617181920>>