Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 25 of 47) sorted by relevance

12

/include/asm-generic/
A Daccess_ok.h33 unsigned long limit = TASK_SIZE_MAX; in __access_ok() local
40 return (size <= limit) && (addr <= (limit - size)); in __access_ok()
/include/linux/
A Dvhost_iotlb.h28 unsigned int limit; member
39 void vhost_iotlb_init(struct vhost_iotlb *iotlb, unsigned int limit,
41 struct vhost_iotlb *vhost_iotlb_alloc(unsigned int limit, unsigned int flags);
A Dpercpu_counter.h60 bool __percpu_counter_limited_add(struct percpu_counter *fbc, s64 limit,
75 percpu_counter_limited_add(struct percpu_counter *fbc, s64 limit, s64 amount) in percpu_counter_limited_add() argument
77 return __percpu_counter_limited_add(fbc, limit, amount, in percpu_counter_limited_add()
198 percpu_counter_limited_add(struct percpu_counter *fbc, s64 limit, s64 amount) in percpu_counter_limited_add() argument
209 if ((amount > 0 && count <= limit) || in percpu_counter_limited_add()
210 (amount < 0 && count >= limit)) { in percpu_counter_limited_add()
A Dcma.h31 phys_addr_t size, phys_addr_t limit,
36 phys_addr_t size, phys_addr_t limit, in cma_declare_contiguous() argument
40 return cma_declare_contiguous_nid(base, size, limit, alignment, in cma_declare_contiguous()
A Dacpi_iort.h42 int iort_dma_get_ranges(struct device *dev, u64 *limit);
58 static inline int iort_dma_get_ranges(struct device *dev, u64 *limit) in iort_dma_get_ranges() argument
A Drefcount.h217 int limit) in __refcount_add_not_zero_limited_acquire() argument
225 if (i > limit - old) { in __refcount_add_not_zero_limited_acquire()
242 __refcount_inc_not_zero_limited_acquire(refcount_t *r, int *oldp, int limit) in __refcount_inc_not_zero_limited_acquire() argument
244 return __refcount_add_not_zero_limited_acquire(1, r, oldp, limit); in __refcount_inc_not_zero_limited_acquire()
A Dxarray.h872 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc() argument
878 err = __xa_alloc(xa, id, entry, limit, gfp); in xa_alloc()
905 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc_bh() argument
911 err = __xa_alloc(xa, id, entry, limit, gfp); in xa_alloc_bh()
938 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc_irq() argument
944 err = __xa_alloc(xa, id, entry, limit, gfp); in xa_alloc_irq()
977 struct xa_limit limit, u32 *next, gfp_t gfp) in xa_alloc_cyclic() argument
983 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp); in xa_alloc_cyclic()
1016 struct xa_limit limit, u32 *next, gfp_t gfp) in xa_alloc_cyclic_bh() argument
1022 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp); in xa_alloc_cyclic_bh()
[all …]
A Dpipe_fs_i.h206 unsigned int limit) in pipe_full() argument
208 return pipe_occupancy(head, tail) >= limit; in pipe_full()
A Dof_fdt.h41 extern void of_fdt_limit_memory(int limit);
A Dcoredump.h22 unsigned long limit; member
A Dhid.h1062 unsigned int limit = 0; in hid_map_usage() local
1067 limit = ABS_MAX; in hid_map_usage()
1071 limit = REL_MAX; in hid_map_usage()
1075 limit = KEY_MAX; in hid_map_usage()
1079 limit = LED_MAX; in hid_map_usage()
1083 limit = MSC_MAX; in hid_map_usage()
1087 if (unlikely(c > limit || !bmap)) { in hid_map_usage()
1096 *max = limit; in hid_map_usage()
A Ddynamic_queue_limits.h62 unsigned int limit ____cacheline_aligned_in_smp; /* Current limit */
A Dtty_flip.h10 int tty_buffer_set_limit(struct tty_port *port, int limit);
A Ddma-map-ops.h111 phys_addr_t limit, struct cma **res_cma, bool fixed);
126 static inline void dma_contiguous_reserve(phys_addr_t limit) in dma_contiguous_reserve() argument
130 phys_addr_t base, phys_addr_t limit, struct cma **res_cma, in dma_contiguous_reserve_area() argument
A Dmemblock.h508 phys_addr_t memblock_reserved_kern_size(phys_addr_t limit, int nid);
514 void memblock_mem_limit_remove_map(phys_addr_t limit);
529 void memblock_set_current_limit(phys_addr_t limit);
/include/linux/spi/
A Dcorgi_lcd.h18 void corgi_lcd_limit_intensity(int limit);
/include/uapi/linux/netfilter/
A Dxt_connlimit.h25 unsigned int limit; member
/include/uapi/linux/
A Dpkt_sched.h125 __u32 limit; /* Queue length: bytes for bfifo, packets for pfifo */ member
140 __u32 limit; /* Queue length in packets. */ member
178 __u32 limit; member
186 __u32 limit; member
216 __u32 limit; /* Maximal packets in queue */ member
235 __u32 limit; /* HARD maximal flow queue length (bytes) */ member
268 __u32 limit; /* HARD maximal queue length (bytes) */ member
347 __u32 limit; /* HARD maximal queue length (bytes) */ member
387 __u32 limit; /* Hard queue length (packets) */ member
505 __u32 limit; /* fifo limit (packets) */ member
[all …]
/include/crypto/
A Dscatterwalk.h109 unsigned int limit; in scatterwalk_clamp() local
129 limit = PAGE_SIZE - offset_in_page(walk->offset); in scatterwalk_clamp()
131 limit = PAGE_SIZE; in scatterwalk_clamp()
133 return min3(nbytes, len_this_sg, limit); in scatterwalk_clamp()
/include/net/
A Dpie.h31 u32 limit; member
93 params->limit = 1000; in pie_params_init()
A Dfq.h75 u32 limit; member
A Dpkt_sched.h96 int fifo_set_limit(struct Qdisc *q, unsigned int limit);
98 unsigned int limit,
/include/linux/sched/
A Dsignal.h762 unsigned int limit) in task_rlimit() argument
764 return READ_ONCE(task->signal->rlim[limit].rlim_cur); in task_rlimit()
768 unsigned int limit) in task_rlimit_max() argument
770 return READ_ONCE(task->signal->rlim[limit].rlim_max); in task_rlimit_max()
773 static inline unsigned long rlimit(unsigned int limit) in rlimit() argument
775 return task_rlimit(current, limit); in rlimit()
778 static inline unsigned long rlimit_max(unsigned int limit) in rlimit_max() argument
780 return task_rlimit_max(current, limit); in rlimit_max()
/include/media/
A Dtuner-types.h48 unsigned short limit; member
/include/acpi/
A Dprocessor.h213 u8 limit:1; member
237 struct acpi_processor_limit limit; member
326 extern int acpi_processor_get_bios_limit(int cpu, unsigned int *limit);
352 static inline int acpi_processor_get_bios_limit(int cpu, unsigned int *limit) in acpi_processor_get_bios_limit() argument

Completed in 47 milliseconds

12