/include/linux/ |
D | assoc_array.h | 54 static inline void assoc_array_init(struct assoc_array *array) in assoc_array_init() argument 56 array->root = NULL; in assoc_array_init() 57 array->nr_leaves_on_tree = 0; in assoc_array_init() 60 extern int assoc_array_iterate(const struct assoc_array *array, 64 extern void *assoc_array_find(const struct assoc_array *array, 67 extern void assoc_array_destroy(struct assoc_array *array, 69 extern struct assoc_array_edit *assoc_array_insert(struct assoc_array *array, 75 extern struct assoc_array_edit *assoc_array_delete(struct assoc_array *array, 78 extern struct assoc_array_edit *assoc_array_clear(struct assoc_array *array, 82 extern int assoc_array_gc(struct assoc_array *array,
|
D | dma-fence-unwrap.h | 29 struct dma_fence *array; member 40 cursor->array = dma_fence_chain_contained(cursor->chain); in __dma_fence_unwrap_array() 42 return dma_fence_array_first(cursor->array); in __dma_fence_unwrap_array() 73 tmp = dma_fence_array_next(cursor->array, cursor->index); in dma_fence_unwrap_next()
|
D | skb_array.h | 107 struct sk_buff **array, int n) in skb_array_consume_batched() argument 109 return ptr_ring_consume_batched(&a->ring, (void **)array, n); in skb_array_consume_batched() 118 struct sk_buff **array, int n) in skb_array_consume_batched_irq() argument 120 return ptr_ring_consume_batched_irq(&a->ring, (void **)array, n); in skb_array_consume_batched_irq() 129 struct sk_buff **array, int n) in skb_array_consume_batched_any() argument 131 return ptr_ring_consume_batched_any(&a->ring, (void **)array, n); in skb_array_consume_batched_any() 141 struct sk_buff **array, int n) in skb_array_consume_batched_bh() argument 143 return ptr_ring_consume_batched_bh(&a->ring, (void **)array, n); in skb_array_consume_batched_bh()
|
D | ptr_ring.h | 307 void **array, int n) in __ptr_ring_consume_batched() argument 316 array[i] = ptr; in __ptr_ring_consume_batched() 373 void **array, int n) in ptr_ring_consume_batched() argument 378 ret = __ptr_ring_consume_batched(r, array, n); in ptr_ring_consume_batched() 385 void **array, int n) in ptr_ring_consume_batched_irq() argument 390 ret = __ptr_ring_consume_batched(r, array, n); in ptr_ring_consume_batched_irq() 397 void **array, int n) in ptr_ring_consume_batched_any() argument 403 ret = __ptr_ring_consume_batched(r, array, n); in ptr_ring_consume_batched_any() 410 void **array, int n) in ptr_ring_consume_batched_bh() argument 415 ret = __ptr_ring_consume_batched(r, array, n); in ptr_ring_consume_batched_bh()
|
D | linkmode.h | 46 static inline void linkmode_set_bit_array(const int *array, int array_size, in linkmode_set_bit_array() argument 52 linkmode_set_bit(array[i], addr); in linkmode_set_bit_array()
|
D | gpio.h | 125 static inline int gpio_request_array(const struct gpio *array, size_t num) in gpio_request_array() argument 138 static inline void gpio_free_array(const struct gpio *array, size_t num) in gpio_free_array() argument
|
D | dma-fence-array.h | 25 struct dma_fence_array *array; member
|
D | fs_parser.h | 126 #define fsparam_enum(NAME, OPT, array) __fsparam(fs_param_is_enum, NAME, OPT, 0, array) argument
|
D | moduleparam.h | 514 #define module_param_array_named(name, array, type, nump, perm) \ argument 515 param_check_##type(name, &(array)[0]); \ 517 = { .max = ARRAY_SIZE(array), .num = nump, \ 519 .elemsize = sizeof(array[0]), .elem = array }; \
|
D | bpf.h | 1162 bool bpf_prog_array_compatible(struct bpf_array *array, const struct bpf_prog *fp); 1206 bool bpf_prog_array_is_empty(struct bpf_prog_array *array); 1212 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index); 1213 int bpf_prog_array_update_at(struct bpf_prog_array *array, int index, 1215 int bpf_prog_array_copy_info(struct bpf_prog_array *array, 1268 const struct bpf_prog_array *array; in BPF_PROG_RUN_ARRAY_CG_FLAGS() local 1276 array = rcu_dereference(array_rcu); in BPF_PROG_RUN_ARRAY_CG_FLAGS() 1277 item = &array->items[0]; in BPF_PROG_RUN_ARRAY_CG_FLAGS() 1298 const struct bpf_prog_array *array; in BPF_PROG_RUN_ARRAY_CG() local 1305 array = rcu_dereference(array_rcu); in BPF_PROG_RUN_ARRAY_CG() [all …]
|
D | assoc_array_priv.h | 76 struct assoc_array *array; member
|
D | string.h | 226 int match_string(const char * const *array, size_t n, const char *string); 227 int __sysfs_match_string(const char * const *array, size_t n, const char *s);
|
D | pagemap.h | 887 struct page **array, unsigned int array_sz) in __readahead_batch() argument 905 array[i++] = page; in __readahead_batch() 936 #define readahead_page_batch(rac, array) \ argument 937 __readahead_batch(rac, array, ARRAY_SIZE(array))
|
D | xarray.h | 1130 struct xarray *array; /* The array we belong to */ member 1330 #define __XA_STATE(array, index, shift, sibs) { \ argument 1331 .xa = array, \ 1350 #define XA_STATE(name, array, index) \ argument 1351 struct xa_state name = __XA_STATE(array, index, 0, 0) 1364 #define XA_STATE_ORDER(name, array, index, order) \ argument 1365 struct xa_state name = __XA_STATE(array, \
|
D | string_helpers.h | 102 void kfree_strarray(char **array, size_t n);
|
D | debugfs.h | 42 u32 *array; member 157 struct debugfs_u32_array *array); 348 struct debugfs_u32_array *array) in debugfs_create_u32_array() argument
|
D | ring_buffer.h | 18 u32 array[]; member
|
D | kvm_host.h | 1606 #define KVM_STATS_LINEAR_HIST_UPDATE(array, value, bsize) \ argument 1607 kvm_stats_linear_hist_update(array, ARRAY_SIZE(array), value, bsize) 1608 #define KVM_STATS_LOG_HIST_UPDATE(array, value) \ argument 1609 kvm_stats_log_hist_update(array, ARRAY_SIZE(array), value)
|
/include/media/ |
D | v4l2-common.h | 410 #define v4l2_find_nearest_size(array, array_size, width_field, height_field, \ argument 413 BUILD_BUG_ON(sizeof((array)->width_field) != sizeof(u32) || \ 414 sizeof((array)->height_field) != sizeof(u32)); \ 415 (typeof(&(array)[0]))__v4l2_find_nearest_size( \ 416 (array), array_size, sizeof(*(array)), \ 417 offsetof(typeof(*(array)), width_field), \ 418 offsetof(typeof(*(array)), height_field), \ 422 __v4l2_find_nearest_size(const void *array, size_t array_size,
|
/include/sound/ |
D | hdaudio.h | 643 void *snd_array_new(struct snd_array *array); 644 void snd_array_free(struct snd_array *array); 645 static inline void snd_array_init(struct snd_array *array, unsigned int size, in snd_array_init() argument 648 array->elem_size = size; in snd_array_init() 649 array->alloc_align = align; in snd_array_init() 652 static inline void *snd_array_elem(struct snd_array *array, unsigned int idx) in snd_array_elem() argument 654 return array->list + idx * array->elem_size; in snd_array_elem() 657 static inline unsigned int snd_array_index(struct snd_array *array, void *ptr) in snd_array_index() argument 659 return (unsigned long)(ptr - array->list) / array->elem_size; in snd_array_index() 663 #define snd_array_for_each(array, idx, ptr) \ argument [all …]
|
/include/asm-generic/ |
D | gpio.h | 116 extern int gpio_request_array(const struct gpio *array, size_t num); 117 extern void gpio_free_array(const struct gpio *array, size_t num);
|
/include/linux/sunrpc/ |
D | xdr.h | 554 const __u32 *array, size_t array_size) in xdr_stream_encode_uint32_array() argument 562 for (; array_size > 0; p++, array++, array_size--) in xdr_stream_encode_uint32_array() 563 *p = cpu_to_be32p(array); in xdr_stream_encode_uint32_array() 726 __u32 *array, size_t array_size) in xdr_stream_decode_uint32_array() argument 739 if (array == NULL) in xdr_stream_decode_uint32_array() 743 memset(array+len, 0, (array_size-len)*sizeof(*array)); in xdr_stream_decode_uint32_array() 748 for (; array_size > 0; p++, array++, array_size--) in xdr_stream_decode_uint32_array() 749 *array = be32_to_cpup(p); in xdr_stream_decode_uint32_array()
|
/include/uapi/linux/ |
D | sem.h | 50 unsigned short __user *array; /* array for GETALL & SETALL */ member
|
D | io_uring.h | 223 __u32 array; member
|
/include/kunit/ |
D | test.h | 367 __kunit_test_suites(__UNIQUE_ID(array), \ 1872 #define KUNIT_ARRAY_PARAM(name, array, get_desc) \ argument 1875 typeof((array)[0]) *__next = prev ? ((typeof(__next)) prev) + 1 : (array); \ 1876 if (__next - (array) < ARRAY_SIZE((array))) { \
|