| /include/asm-generic/ |
| A D | access_ok.h | 33 unsigned long limit = TASK_SIZE_MAX; in __access_ok() local 40 return (size <= limit) && (addr <= (limit - size)); in __access_ok()
|
| /include/linux/ |
| A D | vhost_iotlb.h | 28 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 D | percpu_counter.h | 60 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 D | cma.h | 31 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 D | acpi_iort.h | 42 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 D | refcount.h | 217 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 D | xarray.h | 872 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 D | pipe_fs_i.h | 206 unsigned int limit) in pipe_full() argument 208 return pipe_occupancy(head, tail) >= limit; in pipe_full()
|
| A D | of_fdt.h | 41 extern void of_fdt_limit_memory(int limit);
|
| A D | coredump.h | 22 unsigned long limit; member
|
| A D | hid.h | 1062 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 D | dynamic_queue_limits.h | 62 unsigned int limit ____cacheline_aligned_in_smp; /* Current limit */
|
| A D | tty_flip.h | 10 int tty_buffer_set_limit(struct tty_port *port, int limit);
|
| A D | dma-map-ops.h | 111 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 D | memblock.h | 508 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 D | corgi_lcd.h | 18 void corgi_lcd_limit_intensity(int limit);
|
| /include/uapi/linux/netfilter/ |
| A D | xt_connlimit.h | 25 unsigned int limit; member
|
| /include/uapi/linux/ |
| A D | pkt_sched.h | 125 __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 D | scatterwalk.h | 109 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 D | pie.h | 31 u32 limit; member 93 params->limit = 1000; in pie_params_init()
|
| A D | fq.h | 75 u32 limit; member
|
| A D | pkt_sched.h | 96 int fifo_set_limit(struct Qdisc *q, unsigned int limit); 98 unsigned int limit,
|
| /include/linux/sched/ |
| A D | signal.h | 762 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 D | tuner-types.h | 48 unsigned short limit; member
|
| /include/acpi/ |
| A D | processor.h | 213 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
|