Home
last modified time | relevance | path

Searched refs:array (Results 1 – 200 of 487) sorted by relevance

123

/linux-4.1.27/drivers/misc/vmw_vmci/
Dvmci_handle_array.c27 struct vmci_handle_arr *array; in vmci_handle_arr_create() local
32 array = kmalloc(handle_arr_calc_size(capacity), GFP_ATOMIC); in vmci_handle_arr_create()
33 if (!array) in vmci_handle_arr_create()
36 array->capacity = capacity; in vmci_handle_arr_create()
37 array->size = 0; in vmci_handle_arr_create()
39 return array; in vmci_handle_arr_create()
42 void vmci_handle_arr_destroy(struct vmci_handle_arr *array) in vmci_handle_arr_destroy() argument
44 kfree(array); in vmci_handle_arr_destroy()
50 struct vmci_handle_arr *array = *array_ptr; in vmci_handle_arr_append_entry() local
52 if (unlikely(array->size >= array->capacity)) { in vmci_handle_arr_append_entry()
[all …]
Dvmci_handle_array.h32 void vmci_handle_arr_destroy(struct vmci_handle_arr *array);
35 struct vmci_handle vmci_handle_arr_remove_entry(struct vmci_handle_arr *array,
38 struct vmci_handle vmci_handle_arr_remove_tail(struct vmci_handle_arr *array);
40 vmci_handle_arr_get_entry(const struct vmci_handle_arr *array, size_t index);
41 bool vmci_handle_arr_has_entry(const struct vmci_handle_arr *array,
43 struct vmci_handle *vmci_handle_arr_get_handles(struct vmci_handle_arr *array);
46 const struct vmci_handle_arr *array) in vmci_handle_arr_get_size() argument
48 return array->size; in vmci_handle_arr_get_size()
/linux-4.1.27/sound/hda/
Darray.c18 void *snd_array_new(struct snd_array *array) in snd_array_new() argument
20 if (snd_BUG_ON(!array->elem_size)) in snd_array_new()
22 if (array->used >= array->alloced) { in snd_array_new()
23 int num = array->alloced + array->alloc_align; in snd_array_new()
24 int size = (num + 1) * array->elem_size; in snd_array_new()
28 nlist = krealloc(array->list, size, GFP_KERNEL | __GFP_ZERO); in snd_array_new()
31 array->list = nlist; in snd_array_new()
32 array->alloced = num; in snd_array_new()
34 return snd_array_elem(array, array->used++); in snd_array_new()
42 void snd_array_free(struct snd_array *array) in snd_array_free() argument
[all …]
DMakefile2 hdac_regmap.o array.o
/linux-4.1.27/kernel/bpf/
Darraymap.c27 struct bpf_array *array; in array_map_alloc() local
39 attr->max_entries > (U32_MAX - sizeof(*array)) / elem_size) in array_map_alloc()
42 array_size = sizeof(*array) + attr->max_entries * elem_size; in array_map_alloc()
45 array = kzalloc(array_size, GFP_USER | __GFP_NOWARN); in array_map_alloc()
46 if (!array) { in array_map_alloc()
47 array = vzalloc(array_size); in array_map_alloc()
48 if (!array) in array_map_alloc()
53 array->map.key_size = attr->key_size; in array_map_alloc()
54 array->map.value_size = attr->value_size; in array_map_alloc()
55 array->map.max_entries = attr->max_entries; in array_map_alloc()
[all …]
/linux-4.1.27/tools/perf/util/
Devsel.c1340 const u64 *array = event->sample.array; in perf_evsel__parse_id_sample() local
1344 array += ((event->header.size - in perf_evsel__parse_id_sample()
1348 sample->id = *array; in perf_evsel__parse_id_sample()
1349 array--; in perf_evsel__parse_id_sample()
1353 u.val64 = *array; in perf_evsel__parse_id_sample()
1361 array--; in perf_evsel__parse_id_sample()
1365 sample->stream_id = *array; in perf_evsel__parse_id_sample()
1366 array--; in perf_evsel__parse_id_sample()
1370 sample->id = *array; in perf_evsel__parse_id_sample()
1371 array--; in perf_evsel__parse_id_sample()
[all …]
Dsession.h113 #define perf_session__set_tracepoints_handlers(session, array) \ argument
114 __perf_session__set_tracepoints_handlers(session, array, ARRAY_SIZE(array))
Devlist.h74 #define perf_evlist__add_default_attrs(evlist, array) \ argument
75 __perf_evlist__add_default_attrs(evlist, array, ARRAY_SIZE(array))
Dutil.c256 void *array[16]; in dump_stack() local
257 size_t size = backtrace(array, ARRAY_SIZE(array)); in dump_stack()
258 char **strings = backtrace_symbols(array, size); in dump_stack()
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_allocator.c118 void *mthca_array_get(struct mthca_array *array, int index) in mthca_array_get() argument
122 if (array->page_list[p].page) in mthca_array_get()
123 return array->page_list[p].page[index & MTHCA_ARRAY_MASK]; in mthca_array_get()
128 int mthca_array_set(struct mthca_array *array, int index, void *value) in mthca_array_set() argument
133 if (!array->page_list[p].page) in mthca_array_set()
134 array->page_list[p].page = (void **) get_zeroed_page(GFP_ATOMIC); in mthca_array_set()
136 if (!array->page_list[p].page) in mthca_array_set()
139 array->page_list[p].page[index & MTHCA_ARRAY_MASK] = value; in mthca_array_set()
140 ++array->page_list[p].used; in mthca_array_set()
145 void mthca_array_clear(struct mthca_array *array, int index) in mthca_array_clear() argument
[all …]
Dmthca_dev.h419 void *mthca_array_get(struct mthca_array *array, int index);
420 int mthca_array_set(struct mthca_array *array, int index, void *value);
421 void mthca_array_clear(struct mthca_array *array, int index);
422 int mthca_array_init(struct mthca_array *array, int nent);
423 void mthca_array_cleanup(struct mthca_array *array, int nent);
/linux-4.1.27/include/linux/
Dassoc_array.h58 static inline void assoc_array_init(struct assoc_array *array) in assoc_array_init() argument
60 array->root = NULL; in assoc_array_init()
61 array->nr_leaves_on_tree = 0; in assoc_array_init()
64 extern int assoc_array_iterate(const struct assoc_array *array,
68 extern void *assoc_array_find(const struct assoc_array *array,
71 extern void assoc_array_destroy(struct assoc_array *array,
73 extern struct assoc_array_edit *assoc_array_insert(struct assoc_array *array,
79 extern struct assoc_array_edit *assoc_array_delete(struct assoc_array *array,
82 extern struct assoc_array_edit *assoc_array_clear(struct assoc_array *array,
86 extern int assoc_array_gc(struct assoc_array *array,
Dmoduleparam.h468 #define module_param_array_named(name, array, type, nump, perm) \ argument
469 param_check_##type(name, &(array)[0]); \
471 = { .max = ARRAY_SIZE(array), .num = nump, \
473 .elemsize = sizeof(array[0]), .elem = array }; \
Dgpio.h115 static inline int gpio_request_array(const struct gpio *array, size_t num) in gpio_request_array() argument
128 static inline void gpio_free_array(const struct gpio *array, size_t num) in gpio_free_array() argument
Ddebugfs.h111 u32 *array, u32 elements);
272 u32 *array, u32 elements) in debugfs_create_u32_array() argument
Dassoc_array_priv.h80 struct assoc_array *array; member
/linux-4.1.27/drivers/scsi/isci/
Dunsolicited_frame_control.c85 uf_control->headers.array = virt + SCI_UFI_BUF_SIZE; in sci_unsolicited_frame_control_construct()
95 uf_control->address_table.array = virt + SCI_UFI_BUF_SIZE + SCI_UFI_HDR_SIZE; in sci_unsolicited_frame_control_construct()
110 uf = &uf_control->buffers.array[i]; in sci_unsolicited_frame_control_construct()
112 uf_control->address_table.array[i] = dma; in sci_unsolicited_frame_control_construct()
115 uf->header = &uf_control->headers.array[i]; in sci_unsolicited_frame_control_construct()
136 *frame_header = &uf_control->buffers.array[frame_index].header->data; in sci_unsolicited_frame_control_get_header()
149 *frame_buffer = uf_control->buffers.array[frame_index].buffer; in sci_unsolicited_frame_control_get_buffer()
171 while (lower_32_bits(uf_control->address_table.array[frame_get]) == 0 && in sci_unsolicited_frame_control_release_frame()
172 upper_32_bits(uf_control->address_table.array[frame_get]) == 0 && in sci_unsolicited_frame_control_release_frame()
184 uf_control->buffers.array[frame_index].state = UNSOLICITED_FRAME_RELEASED; in sci_unsolicited_frame_control_release_frame()
[all …]
Dunsolicited_frame_control.h172 struct scu_unsolicited_frame_header *array; member
195 struct sci_unsolicited_frame array[SCU_MAX_UNSOLICITED_FRAMES]; member
217 u64 *array; member
/linux-4.1.27/Documentation/
Dflexible-arrays.txt16 piecing together an array from smaller parts; the flexible array library
19 A flexible array holds an arbitrary (within limits) number of fixed-sized
24 system page size, and putting data into a flexible array requires a copy
26 locking at all; if concurrent access to an array is possible, then the
29 The creation of a flexible array is done with:
38 maximum number of objects which can be stored in the array. The flags
47 This macro will result in a definition of an array with the given name; the
50 Storing data into a flexible array is accomplished with a call to:
52 int flex_array_put(struct flex_array *array, unsigned int element_nr,
55 This call will copy the data from src into the array, in the position
[all …]
Dmd.txt16 or, to assemble a partitionable array:
57 If a raid5 or raid6 array is both dirty and degraded, it could have
63 For this reason, md will normally refuse to start such an array. This
64 requires the sysadmin to take action to explicitly start the array
68 This option is not really available if the array has the root
70 array, md supports a module parameter "start_dirty_degraded" which,
95 An array is 'created' by writing appropriate superblocks to all
102 An array should be created by a user-space tool. This will write
103 superblocks to all devices. It will usually mark the array as
108 When an array is assembled, it is first initialized with the
[all …]
Dassoc_array.txt28 This associative array implementation is an object container with the following
36 (2) Objects do not need to contain linkage blocks for use by the array. This
38 Rather, the array is made up of metadata blocks that point to objects.
40 (3) Objects require index keys to locate them within the array.
43 already in the array will replace the old object.
50 (7) Index keys can include a hash to scatter objects throughout the array.
52 (8) The array can iterated over. The objects will not necessarily come out in
55 (9) The array can be iterated over whilst it is being modified, provided the
61 (10) Objects in the array can be looked up by means of their index key.
63 (11) Objects can be looked up whilst the array is being modified, provided the
[all …]
Dmedia-framework.txt114 As the number of pads is known in advance, the pads array is not allocated
116 pads array in a driver-specific structure, avoiding dynamic allocation.
118 Drivers must set the direction of every pad in the pads array before calling
124 number of extra links. The links array will be reallocated if it grows beyond
177 include/media/media-entity.h. Each entity stores its pads in a pads array
178 managed by the entity driver. Drivers usually embed the array in a
181 Pads are identified by their entity and their 0-based index in the pads array.
197 targeting any of its pads in a links array. A given link is thus stored
198 twice, once in the source entity and once in the target entity. The array is
207 An entry in the link array of each entity is allocated and stores pointers
DIRQ.txt10 array, but except for what linux/interrupt.h implements the details
/linux-4.1.27/drivers/media/usb/gspca/stv06xx/
Dstv06xx_hdcs.c79 } array; member
300 if (width > hdcs->array.width) in hdcs_set_size()
301 width = hdcs->array.width; in hdcs_set_size()
305 if (height + 2 * hdcs->array.border + HDCS_1020_BOTTOM_Y_SKIP in hdcs_set_size()
306 > hdcs->array.height) in hdcs_set_size()
307 height = hdcs->array.height - 2 * hdcs->array.border - in hdcs_set_size()
310 y = (hdcs->array.height - HDCS_1020_BOTTOM_Y_SKIP - height) / 2 in hdcs_set_size()
311 + hdcs->array.top; in hdcs_set_size()
313 if (height > hdcs->array.height) in hdcs_set_size()
314 height = hdcs->array.height; in hdcs_set_size()
[all …]
/linux-4.1.27/drivers/gpio/
Dgpiolib-legacy.c84 int gpio_request_array(const struct gpio *array, size_t num) in gpio_request_array() argument
88 for (i = 0; i < num; i++, array++) { in gpio_request_array()
89 err = gpio_request_one(array->gpio, array->flags, array->label); in gpio_request_array()
97 gpio_free((--array)->gpio); in gpio_request_array()
107 void gpio_free_array(const struct gpio *array, size_t num) in gpio_free_array() argument
110 gpio_free((array++)->gpio); in gpio_free_array()
/linux-4.1.27/Documentation/RCU/
DarrayRCU.txt18 Hash tables are often implemented as an array, where each array entry
21 to other array-of-list situations, such as radix trees.
27 located in each array element, and where the array is never resized,
39 function used by the System V IPC code. The array is used to map from
48 the new array, and invokes ipc_rcu_putref() to free up the old array.
80 * contents of the new array are visible before the new
81 * array becomes visible.
89 The ipc_rcu_putref() function decrements the array's reference count
91 to free the array after a grace period has elapsed.
93 The array is traversed by the ipc_lock() function. This function
[all …]
Drcuref.txt40 If this list/array is made lock free using RCU as in changing the
44 has already been deleted from the list/array. Use atomic_inc_not_zero()
Drcu_dereference.txt30 such an array must necessarily evaluate to zero. The compiler
32 that the array index no longer depended on the value returned
33 by rcu_dereference(). If the array index no longer depends
35 are within their rights to order the array access before the
36 rcu_dereference(), which can cause the array access to return
171 kernel's wide array of primitives that cause code to
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dcalib.h36 #define STATIC_INI_ARRAY(array) { \ argument
37 .ia_array = (u32 *)(array), \
38 .ia_rows = ARRAY_SIZE(array), \
39 .ia_columns = ARRAY_SIZE(array[0]), \
42 #define INIT_INI_ARRAY(iniarray, array) do { \ argument
43 (iniarray)->ia_array = (u32 *)(array); \
44 (iniarray)->ia_rows = ARRAY_SIZE(array); \
45 (iniarray)->ia_columns = ARRAY_SIZE(array[0]); \
/linux-4.1.27/include/sound/
Dhdaudio.h228 void *snd_array_new(struct snd_array *array);
229 void snd_array_free(struct snd_array *array);
230 static inline void snd_array_init(struct snd_array *array, unsigned int size, in snd_array_init() argument
233 array->elem_size = size; in snd_array_init()
234 array->alloc_align = align; in snd_array_init()
237 static inline void *snd_array_elem(struct snd_array *array, unsigned int idx) in snd_array_elem() argument
239 return array->list + idx * array->elem_size; in snd_array_elem()
242 static inline unsigned int snd_array_index(struct snd_array *array, void *ptr) in snd_array_index() argument
244 return (unsigned long)(ptr - array->list) / array->elem_size; in snd_array_index()
/linux-4.1.27/arch/s390/include/asm/
Dctl_reg.h12 #define __ctl_load(array, low, high) { \ argument
13 typedef struct { char _[sizeof(array)]; } addrtype; \
18 : : "Q" (*(addrtype *)(&array)), "i" (low), "i" (high));\
21 #define __ctl_store(array, low, high) { \ argument
22 typedef struct { char _[sizeof(array)]; } addrtype; \
27 : "=Q" (*(addrtype *)(&array)) \
Dccwdev.h43 ccw_device_id_match(const struct ccw_device_id *array, in ccw_device_id_match() argument
46 const struct ccw_device_id *id = array; in ccw_device_id_match()
48 for (id = array; id->match_flags; id++) { in ccw_device_id_match()
/linux-4.1.27/drivers/video/fbdev/
Dssd1307fb.c81 struct ssd1307fb_array *array; in ssd1307fb_alloc_array() local
83 array = kzalloc(sizeof(struct ssd1307fb_array) + len, GFP_KERNEL); in ssd1307fb_alloc_array()
84 if (!array) in ssd1307fb_alloc_array()
87 array->type = type; in ssd1307fb_alloc_array()
89 return array; in ssd1307fb_alloc_array()
93 struct ssd1307fb_array *array, u32 len) in ssd1307fb_write_array() argument
99 ret = i2c_master_send(client, (u8 *)array, len); in ssd1307fb_write_array()
110 struct ssd1307fb_array *array; in ssd1307fb_write_cmd() local
113 array = ssd1307fb_alloc_array(1, SSD1307FB_COMMAND); in ssd1307fb_write_cmd()
114 if (!array) in ssd1307fb_write_cmd()
[all …]
/linux-4.1.27/fs/dlm/
Dmember.c64 struct rcom_slot *ro0, struct dlm_slot *array, in log_slots() argument
74 if (array) { in log_slots()
76 if (!array[i].nodeid) in log_slots()
80 array[i].slot, array[i].nodeid); in log_slots()
170 struct dlm_slot *array; in dlm_slots_assign() local
221 array = kzalloc(array_size * sizeof(struct dlm_slot), GFP_NOFS); in dlm_slots_assign()
222 if (!array) in dlm_slots_assign()
235 kfree(array); in dlm_slots_assign()
239 array[memb->slot - 1].nodeid = memb->nodeid; in dlm_slots_assign()
240 array[memb->slot - 1].slot = memb->slot; in dlm_slots_assign()
[all …]
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_seq_pdu_list.c104 static void iscsit_create_random_array(u32 *array, u32 count) in iscsit_create_random_array() argument
109 array[0] = 0; in iscsit_create_random_array()
119 if ((array[k] & 0x80000000) && (array[k] == j)) in iscsit_create_random_array()
122 array[i] = j; in iscsit_create_random_array()
126 array[i] &= ~0x80000000; in iscsit_create_random_array()
134 u32 *array, pdu_count, seq_count = 0, seq_no = 0, seq_offset = 0; in iscsit_randomize_pdu_lists() local
142 array = kcalloc(seq_count, sizeof(u32), GFP_KERNEL); in iscsit_randomize_pdu_lists()
143 if (!array) { in iscsit_randomize_pdu_lists()
148 iscsit_create_random_array(array, seq_count); in iscsit_randomize_pdu_lists()
151 cmd->pdu_list[seq_offset+i].pdu_send_order = array[i]; in iscsit_randomize_pdu_lists()
[all …]
/linux-4.1.27/lib/
Dassoc_array.c145 int assoc_array_iterate(const struct assoc_array *array, in assoc_array_iterate() argument
150 struct assoc_array_ptr *root = ACCESS_ONCE(array->root); in assoc_array_iterate()
182 assoc_array_walk(const struct assoc_array *array, in assoc_array_walk() argument
197 cursor = ACCESS_ONCE(array->root); in assoc_array_walk()
319 void *assoc_array_find(const struct assoc_array *array, in assoc_array_find() argument
329 if (assoc_array_walk(array, ops, index_key, &result) != in assoc_array_find()
458 void assoc_array_destroy(struct assoc_array *array, in assoc_array_destroy() argument
461 assoc_array_destroy_subtree(array->root, ops); in assoc_array_destroy()
462 array->root = NULL; in assoc_array_destroy()
481 edit->set[0].ptr = &edit->array->root; in assoc_array_insert_in_empty_tree()
[all …]
/linux-4.1.27/drivers/staging/rtl8188eu/hal/
Dbb_cfg.c25 #define read_next_pair(array, v1, v2, i) \ argument
28 v1 = array[i]; \
29 v2 = array[i+1]; \
170 u32 *array = array_agc_tab_1t_8188e; in set_baseband_agc_config() local
173 u32 v1 = array[i]; in set_baseband_agc_config()
174 u32 v2 = array[i+1]; in set_baseband_agc_config()
405 u32 *array = array_phy_reg_1t_8188e; in set_baseband_phy_config() local
408 u32 v1 = array[i]; in set_baseband_phy_config()
409 u32 v2 = array[i+1]; in set_baseband_phy_config()
587 u32 *array = array_phy_reg_pg_8188e; in config_bb_with_pgheader() local
[all …]
Drf_cfg.c158 i += 2; v1 = array[i]; \
159 v2 = array[i+1]; \
202 u32 *array = Array_RadioA_1T_8188E; in rtl88e_phy_config_rf_with_headerfile() local
205 u32 v1 = array[i]; in rtl88e_phy_config_rf_with_headerfile()
206 u32 v2 = array[i+1]; in rtl88e_phy_config_rf_with_headerfile()
212 if (!check_condition(adapt, array[i])) { in rtl88e_phy_config_rf_with_headerfile()
/linux-4.1.27/net/netfilter/
Dnf_conntrack_ftp.c121 static int try_number(const char *data, size_t dlen, u_int32_t array[], in try_number() argument
126 memset(array, 0, sizeof(array[0])*array_size); in try_number()
131 array[i] = array[i]*10 + *data - '0'; in try_number()
158 u_int32_t array[6]; in try_rfc959() local
160 length = try_number(data, dlen, array, 6, ',', term); in try_rfc959()
164 cmd->u3.ip = htonl((array[0] << 24) | (array[1] << 16) | in try_rfc959()
165 (array[2] << 8) | array[3]); in try_rfc959()
166 cmd->u.tcp.port = htons((array[4] << 8) | array[5]); in try_rfc959()
251 u_int32_t array[4]; in try_eprt() local
254 length = try_number(data + 3, dlen - 3, array, 4, '.', delim); in try_eprt()
[all …]
/linux-4.1.27/drivers/md/bcache/
Dutil.h265 #define array_alloc(array) \ argument
267 typeof((array)->freelist) _ret = (array)->freelist; \
270 (array)->freelist = *((typeof((array)->freelist) *) _ret);\
275 #define array_free(array, ptr) \ argument
277 typeof((array)->freelist) _ptr = ptr; \
279 *((typeof((array)->freelist) *) _ptr) = (array)->freelist; \
280 (array)->freelist = _ptr; \
283 #define array_allocator_init(array) \ argument
285 typeof((array)->freelist) _i; \
287 BUILD_BUG_ON(sizeof((array)->data[0]) < sizeof(void *)); \
[all …]
/linux-4.1.27/fs/nfs/
Ddir.c151 struct nfs_cache_array_entry array[0]; member
199 struct nfs_cache_array *array; in nfs_readdir_clear_array() local
202 array = kmap_atomic(page); in nfs_readdir_clear_array()
203 for (i = 0; i < array->size; i++) in nfs_readdir_clear_array()
204 kfree(array->array[i].string.name); in nfs_readdir_clear_array()
205 kunmap_atomic(array); in nfs_readdir_clear_array()
232 struct nfs_cache_array *array = nfs_readdir_get_array(page); in nfs_readdir_add_to_array() local
236 if (IS_ERR(array)) in nfs_readdir_add_to_array()
237 return PTR_ERR(array); in nfs_readdir_add_to_array()
239 cache_entry = &array->array[array->size]; in nfs_readdir_add_to_array()
[all …]
/linux-4.1.27/net/8021q/
Dvlan.h55 struct net_device **array; in __vlan_group_get_device() local
57 array = vg->vlan_devices_arrays[pidx] in __vlan_group_get_device()
59 return array ? array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] : NULL; in __vlan_group_get_device()
73 struct net_device **array; in vlan_group_set_device() local
76 array = vg->vlan_devices_arrays[vlan_proto_idx(vlan_proto)] in vlan_group_set_device()
78 array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] = dev; in vlan_group_set_device()
Dvlan.c57 struct net_device **array; in vlan_group_prealloc_vid() local
65 array = vg->vlan_devices_arrays[pidx][vidx]; in vlan_group_prealloc_vid()
66 if (array != NULL) in vlan_group_prealloc_vid()
70 array = kzalloc(size, GFP_KERNEL); in vlan_group_prealloc_vid()
71 if (array == NULL) in vlan_group_prealloc_vid()
74 vg->vlan_devices_arrays[pidx][vidx] = array; in vlan_group_prealloc_vid()
/linux-4.1.27/drivers/staging/vt6656/
Drf.c833 u8 array[256]; in vnt_rf_table_download() local
880 memcpy(array, addr1, length1); in vnt_rf_table_download()
883 MESSAGE_REQUEST_RF_INIT, length1, array); in vnt_rf_table_download()
893 memcpy(array, addr2, length); in vnt_rf_table_download()
896 value, MESSAGE_REQUEST_RF_CH0, length, array); in vnt_rf_table_download()
911 memcpy(array, addr3, length); in vnt_rf_table_download()
914 value, MESSAGE_REQUEST_RF_CH1, length, array); in vnt_rf_table_download()
927 memcpy(array, addr1, length1); in vnt_rf_table_download()
931 0, MESSAGE_REQUEST_RF_INIT2, length1, array); in vnt_rf_table_download()
941 memcpy(array, addr2, length); in vnt_rf_table_download()
[all …]
Dbaseband.c386 u8 array[256]; in vnt_vt3184_init() local
461 memcpy(array, addr, length); in vnt_vt3184_init()
464 MESSAGE_REQUEST_BBREG, length, array); in vnt_vt3184_init()
466 memcpy(array, agc, length_agc); in vnt_vt3184_init()
469 MESSAGE_REQUEST_BBAGC, length_agc, array); in vnt_vt3184_init()
/linux-4.1.27/fs/befs/
Ddatastream.c250 befs_block_run *array = data->direct; in befs_find_brun_direct() local
264 sum += array[i].len, i++) { in befs_find_brun_direct()
265 if (blockno >= sum && blockno < sum + (array[i].len)) { in befs_find_brun_direct()
267 run->allocation_group = array[i].allocation_group; in befs_find_brun_direct()
268 run->start = array[i].start + offset; in befs_find_brun_direct()
269 run->len = array[i].len - offset; in befs_find_brun_direct()
315 befs_disk_block_run *array; in befs_find_brun_indirect() local
336 array = (befs_disk_block_run *) indirblock->b_data; in befs_find_brun_indirect()
339 int len = fs16_to_cpu(sb, array[j].len); in befs_find_brun_indirect()
344 fs32_to_cpu(sb, array[j].allocation_group); in befs_find_brun_indirect()
[all …]
/linux-4.1.27/drivers/soc/qcom/
Dqcom_gsbi.c33 const u32 (*array)[MAX_GSBI]; member
51 .array = crci_ipq8064,
69 .array = crci_apq8064,
87 .array = crci_msm8960,
115 .array = crci_msm8660,
207 mask = config->array[i][gsbi_num - 1]; in gsbi_probe()
/linux-4.1.27/Documentation/input/
Dgpio-tilt.txt13 The array of struct gpio in the gpios field is used to list the gpios
16 The array of struct gpio_tilt_axis describes the axes that are reported
20 The array of struct gpio_tilt_state maps gpio states to the corresponding
22 bit-index corresponds to the index of the gpio in the struct gpio array.
23 In the same manner the values stored in the axes array correspond to
24 the elements of the gpio_tilt_axis-array.
/linux-4.1.27/samples/trace_events/
Dtrace-events-sample.c23 int array[6]; in simple_thread_func() local
31 array[i] = i + 1; in simple_thread_func()
32 array[i] = 0; in simple_thread_func()
35 trace_foo_bar("hello", cnt, array, random_strings[len], in simple_thread_func()
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/
Dstacktrace.h23 void *array[64]; in dump_stack() local
26 size = backtrace(array, 64); in dump_stack()
27 backtrace_symbols_fd(array, size, 1); in dump_stack()
/linux-4.1.27/tools/perf/
Dperf-completion.sh192 local -a array
199 array[${#array[@]}+1]="$c"
203 compadd -Q -S '' -a -- array && _ret=0
212 local -a array
223 array[$#array+1]=${c#"$colon_word"}
227 compadd -Q -S '' -a -- array && _ret=0
/linux-4.1.27/sound/pci/lola/
Dlola_mixer.c132 chip->mixer.array = (struct lola_mixer_array __iomem *) in lola_init_mixer_widget()
228 oldval = val = readl(&chip->mixer.array->src_gain_enable); in lola_mixer_set_src_gain()
235 (gain == readw(&chip->mixer.array->src_gain[id]))) in lola_mixer_set_src_gain()
241 writew(gain, &chip->mixer.array->src_gain[id]); in lola_mixer_set_src_gain()
242 writel(val, &chip->mixer.array->src_gain_enable); in lola_mixer_set_src_gain()
259 writew(*gains, &chip->mixer.array->src_gain[i]);
263 writel(mask, &chip->mixer.array->src_gain_enable);
291 writew(gain, &chip->mixer.array->dest_mix_gain[dest][src]); in lola_mixer_set_mapping_gain()
292 val = readl(&chip->mixer.array->dest_mix_gain_enable[dest]); in lola_mixer_set_mapping_gain()
297 writel(val, &chip->mixer.array->dest_mix_gain_enable[dest]); in lola_mixer_set_mapping_gain()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dservice.c595 struct ptlrpc_at_array *array; in ptlrpc_service_part_init() local
625 array = &svcpt->scp_at_array; in ptlrpc_service_part_init()
628 array->paa_size = size; in ptlrpc_service_part_init()
629 array->paa_count = 0; in ptlrpc_service_part_init()
630 array->paa_deadline = -1; in ptlrpc_service_part_init()
633 OBD_CPT_ALLOC(array->paa_reqs_array, in ptlrpc_service_part_init()
635 if (array->paa_reqs_array == NULL) in ptlrpc_service_part_init()
639 INIT_LIST_HEAD(&array->paa_reqs_array[index]); in ptlrpc_service_part_init()
641 OBD_CPT_ALLOC(array->paa_reqs_count, in ptlrpc_service_part_init()
643 if (array->paa_reqs_count == NULL) in ptlrpc_service_part_init()
[all …]
/linux-4.1.27/mm/
Dswap_cgroup.c145 void *array; in swap_cgroup_swapon() local
156 array = vzalloc(array_size); in swap_cgroup_swapon()
157 if (!array) in swap_cgroup_swapon()
163 ctrl->map = array; in swap_cgroup_swapon()
170 vfree(array); in swap_cgroup_swapon()
/linux-4.1.27/Documentation/devicetree/bindings/input/
Dqcom,pm8xxx-keypad.txt14 Value type: <prop-encoded-array>
19 Value type: <prop-encoded-array>
27 Value type: <prop-encoded-array>
63 of the matrix array.
69 the matrix array.
Dqcom,pm8941-pwrkey.txt13 Value type: <prop-encoded-array>
18 Value type: <prop-encoded-array>
Dqcom,pm8xxx-pwrkey.txt14 Value type: <prop-encoded-array>
19 Value type: <prop-encoded-array>
Dcap11xx.txt35 linux,keycodes: Specifies an array of numeric keycode values to
38 defaults. The array must have exactly six
Dnvidia,tegra20-kbc.txt11 array of pin numbers which is used as rows.
13 array of pin numbers which is used as column.
Dqcom,pm8xxx-vib.txt14 Value type: <prop-encoded-array>
Datmel,maxtouch.txt15 on GPIO bit changes. An array of up to 8 entries can be provided
Dmatrix-keymap.txt6 - linux,keymap: an array of packed 1-cell entries containing the equivalent
Dinput-reset.txt15 sysrq-reset-seq: array of Linux keycodes, one keycode per cell.
/linux-4.1.27/Documentation/device-mapper/
Ddm-raid.txt67 logical size of the array. The bitmap records the device
119 <#raid_devs>: The number of devices composing the array.
157 'dmsetup status' yields information on the state and health of the array.
168 which are 'A'live, and the array is 2/490221568 complete with its initial
170 <raid_type> Same as the <raid_type> used to create the array.
173 <sync_ratio> The ratio indicating how much of the array has undergone
183 recover - A device in the array is being rebuilt or
185 check - A user-initiated full check of the array is
190 array by this action.
193 reshape - The array is undergoing a reshape.
[all …]
Dswitch.txt37 robin algorithm to send I/O across all paths and let the storage array
50 Upper Tier - Determine which array member the I/O should be sent to.
55 the array member in one priority group, and leverages existing path
57 non-preferred priority group containing paths to other array members for
Ddm-io.txt19 to multiple regions are specified by an array of io_region structures.
36 The second I/O service type takes an array of bio vectors as the data buffer
/linux-4.1.27/Documentation/networking/
Dfib_trie.txt11 An internal node, holding an array of child (leaf or tnode) pointers,
18 child array - the "child index". See Level Compression.
22 the child array. See Path Compression.
25 Any given tnode is linked to from the child array of its parent, using
39 contain an arbitrarily large array of links to several children.
40 Conversely, a tnode with a mostly empty child array (see empty_children)
45 the number of positions in the child array of a given tnode that are
81 Analyzes a tnode and optimizes the child array size by either inflating
87 Doubles the size of the child array within a tnode. Used by resize().
90 Halves the size of the child array within a tnode - the inverse of
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Dgr-udc.txt22 from the default size of 1024. The array is indexed by the OUT endpoint
25 only for as many endpoints as the array contains.
28 from the default size of 1024. The array is indexed by the IN endpoint
31 only for as many endpoints as the array contains.
Dsamsung-hsotg.txt21 - clocks: contains an array of clock specifiers:
23 - clock-names: contains array of clock names:
Ddwc3.txt11 - usb-phy : array of phandle for the PHY device. The first element
12 in the array is expected to be a handle to the USB2/HS PHY and
Dkeystone-usb.txt15 - clocks: Clock IDs array as required by the controller.
/linux-4.1.27/arch/arm/mach-shmobile/
Dheadsmp.S53 adr r5, 1f @ array of per-cpu mpidr values
54 adr r6, 2f @ array of per-cpu functions
55 adr r7, 3f @ array of per-cpu arguments
/linux-4.1.27/Documentation/video4linux/bttv/
DSound-FAQ10 To handle the grabber boards correctly, there is a array tvcards[] in
57 As mentioned above, there is a array which holds the required
73 The audiomux[] array holds the data values for the different inputs
80 the audiomux array. If you have Windows and the drivers four your
98 audiomux=i,j,... set the values of the audiomux array
99 audioall=a set the values of the audiomux array (one
100 value for all array elements, useful to check
115 Other elements of the tvcards array
119 know what the other elements in the tvcards array are good for:
135 If some config item is specified both from the tvcards array and as
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/
Dsrio-rmu.txt20 Value type: <prop-encoded-array>
27 Value type: <prop-encoded-array>
51 Value type: <prop-encoded-array>
58 Value type: <prop_encoded-array>
81 Value type: <prop-encoded-array>
88 Value type: <prop_encoded-array>
111 Value type: <prop-encoded-array>
118 Value type: <prop_encoded-array>
Dpamu.txt13 - ranges : <prop-encoded-array>
20 - interrupts : <prop-encoded-array>
31 - reg : <prop-encoded-array>
53 - reg : <prop-encoded-array>
60 : <prop-encoded-array>
66 : <prop-encoded-array>
85 - fsl,liodn-reg : <prop-encoded-array>
Ddcsr.txt42 Value type: <prop-encoded-array>
68 Value type: <prop_encoded-array>
96 Value type: <prop-encoded-array>
125 Value type: <prop-encoded-array>
162 Value type: <prop-encoded-array>
187 Value type: <prop-encoded-array>
224 Value type: <prop-encoded-array>
252 Value type: <prop-encoded-array>
283 Value type: <prop-encoded-array>
312 Value type: <prop-encoded-array>
[all …]
Dmcm.txt22 Value type: <prop-encoded-array>
51 Value type: <prop-encoded-array>
58 Value type: <prop-encoded-array>
Decm.txt22 Value type: <prop-encoded-array>
51 Value type: <prop-encoded-array>
58 Value type: <prop-encoded-array>
Dfman.txt66 Value type: <prop-encoded-array>
77 Value type: <prop-encoded-array>
82 Value type: <prop-encoded-array>
92 Value type: <prop-encoded-array>
99 Value type: <prop-encoded-array>
134 Value type: <prop-encoded-array>
188 Value type: <prop-encoded-array>
290 Value type: <prop-encoded-array>
295 Value type: <prop-encoded-array>
296 Definition: An array of two phandles - the first references is
[all …]
Dsrio.txt17 Value type: <prop-encoded-array>
24 Value type: <prop_encoded-array>
50 Value type: <prop-encoded-array>
58 Value type: <prop-encoded-array>
Dccf.txt24 - reg: <prop-encoded-array>
27 - interrupts: <prop-encoded-array>
Dmpic-msgr.txt16 <prop-encoded-array>.
21 <prop-encoded-array>.
Dinterlaken-lac.txt66 Value type: <prop-encoded-array>
72 Value type: <prop-encoded-array>
117 Value type: <prop-encoded-array>
146 Value type: <prop-encoded-array>
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dmsgbuf.c278 struct brcmf_msgbuf_pktid *array; member
298 struct brcmf_msgbuf_pktid *array; in brcmf_msgbuf_init_pktids() local
301 array = kcalloc(nr_array_entries, sizeof(*array), GFP_KERNEL); in brcmf_msgbuf_init_pktids()
302 if (!array) in brcmf_msgbuf_init_pktids()
307 kfree(array); in brcmf_msgbuf_init_pktids()
310 pktids->array = array; in brcmf_msgbuf_init_pktids()
323 struct brcmf_msgbuf_pktid *array; in brcmf_msgbuf_alloc_pktid() local
326 array = pktids->array; in brcmf_msgbuf_alloc_pktid()
343 if (array[*idx].allocated.counter == 0) in brcmf_msgbuf_alloc_pktid()
344 if (atomic_cmpxchg(&array[*idx].allocated, 0, 1) == 0) in brcmf_msgbuf_alloc_pktid()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/crypto/
Dfsl-sec4.txt80 Value type: <prop-encoded-array>
87 Value type: <prop-encoded-array>
95 Value type: <prop_encoded-array>
142 Value type: <prop-encoded-array>
148 Value type: <prop-encoded-array>
158 Value type: <prop_encoded-array>
214 Value type: <prop-encoded-array>
221 Value type: <prop-encoded-array>
251 Value type: <prop-encoded-array>
260 Value type: <prop-encoded-array>
[all …]
Dfsl-sec6.txt46 Value type: <prop-encoded-array>
52 Value type: <prop-encoded-array>
88 Value type: <prop-encoded-array>
94 Value type: <prop_encoded-array>
/linux-4.1.27/Documentation/filesystems/
Dfiemap.txt23 __u32 fm_extent_count; /* size of fm_extents array (in) */
25 struct fiemap_extent fm_extents[0]; /* array of mapped extents (out) */
45 fm_extent_count specifies the number of elements in the fm_extents[] array
47 fm_extents[] array is ignored (no extents will be returned), and the
65 Extent information is returned within the embedded fm_extents array
67 number of elements in the fiemap_extents[] array should be passed via
72 array will be returned and fm_mapped_extents will be equal to
73 fm_extent_count. In that case, the last extent in the array will not
194 unsigned int fi_extents_max; /* Size of fiemap_extent array */
195 struct fiemap_extent *fi_extents_start; /* Start of fiemap_extent array */
[all …]
/linux-4.1.27/tools/firewire/
Dnosy-dump.h4 #define array_length(array) (sizeof(array) / sizeof(array[0])) argument
/linux-4.1.27/net/irda/
Dqos.c165 static inline int value_index(__u32 value, __u32 *array, int size) in value_index() argument
170 if (array[i] == value) in value_index()
181 static inline __u32 index_value(int index, __u32 *array) in index_value() argument
183 return array[index]; in index_value()
223 static inline int value_lower_bits(__u32 value, __u32 *array, int size, __u16 *field) in value_lower_bits() argument
234 if (array[i] >= value) in value_lower_bits()
249 static inline int value_highest_bit(__u32 value, __u32 *array, int size, __u16 *field) in value_highest_bit() argument
257 if (array[i] <= value) in value_highest_bit()
/linux-4.1.27/sound/isa/
Dcmi8328.c195 int array_find(int array[], int item) in array_find() argument
199 for (i = 0; array[i] != -1; i++) in array_find()
200 if (array[i] == item) in array_find()
206 int array_find_l(long array[], long item) in array_find_l() argument
210 for (i = 0; array[i] != -1; i++) in array_find_l()
211 if (array[i] == item) in array_find_l()
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dqcom-pm8xxx.txt27 Value type: <prop-encoded-array>
68 Value type: <prop-encoded-array>
73 Value type: <prop-encoded-array>
Dqcom-rpm.txt19 Value type: <prop-encoded-array>
24 Value type: <prop-encoded-array>
32 Value type: <string-array>
37 Value type: <prop-encoded-array>
/linux-4.1.27/Documentation/devicetree/bindings/soc/fsl/
Dqman.txt30 Value type: <prop-encoded-array>
38 Value type: <prop-encoded-array>
48 Value type: <prop-encoded-array>
60 Value type: <prop-encoded-array>
69 Value type: <prop-encoded-array>
Dqman-portals.txt27 Value type: <prop-encoded-array>
34 Value type: <prop-encoded-array>
39 Value type: <prop-encoded-array>
71 Value type: <prop-encoded-array>
Dbman.txt28 Value type: <prop-encoded-array>
36 Value type: <prop-encoded-array>
46 Value type: <prop-encoded-array>
61 Value type: <prop-encoded-array>
Dbman-portals.txt26 Value type: <prop-encoded-array>
33 Value type: <prop-encoded-array>
/linux-4.1.27/fs/debugfs/
Dfile.c569 void *array; member
574 u32 *array, int array_size) in u32_format_array() argument
582 len = snprintf(buf, bufsize, "%u%c", *array++, term); in u32_format_array()
609 u32_format_array(buf, size, data->array, data->elements); in u32_array_open()
659 u32 *array, u32 elements) in debugfs_create_u32_array() argument
666 data->array = array; in debugfs_create_u32_array()
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe/
Dfirmware.txt15 as an array of two 32-bit numbers.
17 It is an array of 8 32-bit numbers.
/linux-4.1.27/include/asm-generic/
Dgpio.h113 extern int gpio_request_array(const struct gpio *array, size_t num);
114 extern void gpio_free_array(const struct gpio *array, size_t num);
/linux-4.1.27/Documentation/devicetree/bindings/gpio/
Dgpio-grgpio.txt20 - irqmap : An array with an index for each gpio line. An index is either a valid
21 index into the interrupts property array, or 0xffffffff that indicates
Dgpio-fan.txt10 control value that should be set to achieve them. This array
/linux-4.1.27/Documentation/hwmon/
Dadm102618 * gpio_input: int array (min = 1, max = 17)
20 * gpio_output: int array (min = 1, max = 17)
22 * gpio_inverted: int array (min = 1, max = 17)
24 * gpio_normal: int array (min = 1, max = 17)
26 * gpio_fan: int array (min = 1, max = 8)
/linux-4.1.27/Documentation/devicetree/bindings/video/backlight/
Dpwm-backlight.txt10 last value in the array represents a 100% duty cycle (brightest).
12 array defined by the "brightness-levels" property)
/linux-4.1.27/Documentation/devicetree/bindings/clock/ti/
Ddivider.txt30 Additionally an array of valid dividers may be supplied like so:
41 Any zero value in this array means the corresponding bit-value is invalid
45 unless the divider array is provided, min and max dividers. Optionally
63 - ti,dividers : array of integers defining divisors
/linux-4.1.27/drivers/power/
Dds2760_battery.c108 static int battery_interpolate(int array[], int temp) in battery_interpolate() argument
113 return array[0]; in battery_interpolate()
115 return array[4]; in battery_interpolate()
120 return array[index] + (((array[index + 1] - array[index]) * dt) / 10); in battery_interpolate()
/linux-4.1.27/Documentation/gpio/
Dconsumer.txt76 This function returns a struct gpio_descs which contains an array of
122 For an array of GPIOs this function can be used:
128 from an array acquired with gpiod_get_array().
242 The following functions set the output values of an array of GPIOs:
257 The array can be an arbitrary set of GPIOs. The functions will try to set
264 * array_size - the number of array elements
265 * desc_array - an array of GPIO descriptors
266 * value_array - an array of values to assign to the GPIOs
268 The descriptor array can be obtained using the gpiod_get_array() function
277 It is also possible to set a completely arbitrary array of descriptors. The
[all …]
/linux-4.1.27/arch/x86/xen/
Dspinlock.c64 static void __spin_time_accum(u64 delta, u32 *array) in __spin_time_accum() argument
71 array[index]++; in __spin_time_accum()
73 array[HISTO_BUCKETS]++; in __spin_time_accum()
/linux-4.1.27/Documentation/devicetree/bindings/sound/
Dadi,adau1701.txt14 - adi,pll-mode-gpios: An array of two GPIO specs to describe the GPIOs
19 - adi,pin-config: An array of 12 numerical values selecting one of the
Domap-mcbsp.txt8 - reg: Register location and size, for OMAP4+ as an array:
12 - interrupts: Interrupt numbers for the McBSP port, as an array in case the
Domap-mcpdm.txt5 - reg: Register location and size as an array:
Domap-dmic.txt5 - reg: Register location and size as an array:
/linux-4.1.27/Documentation/devicetree/bindings/iio/adc/
Dqcom,spmi-iadc.txt18 Value type: <prop-encoded-array>
23 Value type: <prop-encoded-array>
Dqcom,spmi-vadc.txt15 Value type: <prop-encoded-array>
37 Value type: <prop-encoded-array>
58 Value type: <u32 array>
/linux-4.1.27/kernel/sched/
Drt.c69 struct rt_prio_array *array; in init_rt_rq() local
72 array = &rt_rq->active; in init_rt_rq()
74 INIT_LIST_HEAD(array->queue + i); in init_rt_rq()
75 __clear_bit(i, array->bitmap); in init_rt_rq()
78 __set_bit(MAX_RT_PRIO, array->bitmap); in init_rt_rq()
1077 struct rt_prio_array *array = &rt_rq->active; in dec_rt_prio() local
1080 sched_find_first_bit(array->bitmap); in dec_rt_prio()
1169 struct rt_prio_array *array = &rt_rq->active; in __enqueue_rt_entity() local
1171 struct list_head *queue = array->queue + rt_se_prio(rt_se); in __enqueue_rt_entity()
1186 __set_bit(rt_se_prio(rt_se), array->bitmap); in __enqueue_rt_entity()
[all …]
/linux-4.1.27/Documentation/video4linux/cx2341x/
Dfw-dma.txt35 - The driver constructs the scatter-gather array from enough free dma buffers
62 The scatter-gather array is a contiguously allocated block of memory that
67 Each S-G array element is a struct of three 32-bit words. The first word is
96 4 Scatter-Gather array error
Dfw-calling.txt7 mailboxes are basically a fixed length array that serves as the call-stack.
59 the result value array with that call's return values and sets the call
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/
Dphy.c700 v1 = array[i]; \
701 v2 = array[i+1]; \
708 u32 *array; in phy_config_bb_with_hdr_file() local
715 array = RTL8192EE_PHY_REG_ARRAY; in phy_config_bb_with_hdr_file()
718 v1 = array[i]; in phy_config_bb_with_hdr_file()
719 v2 = array[i+1]; in phy_config_bb_with_hdr_file()
727 if (!_check_condition(hw , array[i])) { in phy_config_bb_with_hdr_file()
756 array = RTL8192EE_AGC_TAB_ARRAY; in phy_config_bb_with_hdr_file()
759 v1 = array[i]; in phy_config_bb_with_hdr_file()
760 v2 = array[i+1]; in phy_config_bb_with_hdr_file()
[all …]
/linux-4.1.27/scripts/coccinelle/misc/
Darray_size.cocci1 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element
4 //# where there is a division of sizeof the array by the sizeof its first
/linux-4.1.27/Documentation/devicetree/bindings/regulator/
Dmax8952.txt6 - max8952,dvs-mode-microvolt: array of 4 integer values defining DVS voltages
11 - max8952,vid-gpios: array of two GPIO pins used for DVS voltage selection
Dgpio-regulator.txt11 - gpios-states : gpios pin's initial states array. 0: LOW, 1: HIGH.
/linux-4.1.27/Documentation/arm/
Dvlocks.txt67 The currently_voting[] array provides a way for the CPUs to determine
69 "entering" array in Lamport's bakery algorithm [1].
124 * By packing the members of the currently_voting array close together,
125 we can read the whole array in one transaction (providing the number
156 If there are too many CPUs to read the currently_voting array in
173 packing of the currently_voting array does not work with cached
DInterrupts18 array (basically all machine types) will break, and this means every
47 the irqdesc array). This doesn't have to be a real "IC"; indeed the
113 1. Machine implementations must not write to the irqdesc array.
115 2. New functions to manipulate the irqdesc array. The first 4 are expected
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/
Dgpio-au1300.h215 static inline int gpio_request_array(struct gpio *array, size_t num) in gpio_request_array() argument
224 static inline void gpio_free_array(struct gpio *array, size_t num) in gpio_free_array() argument
/linux-4.1.27/tools/perf/tests/
Ddwarf-unwind.c113 struct thread *array[2] = {thread, thread}; in krava_3() local
125 _bsearch(array, &thread, 2, sizeof(struct thread **), compare); in krava_3()
/linux-4.1.27/Documentation/devicetree/bindings/media/i2c/
Dadv7343.txt19 - ad,adv7343-power-mode-dac: array configuring the power on/off DAC's 1..6,
22 - ad,adv7343-sd-config-dac-out: array configure SD DAC Output's 1 and 2, 0 = OFF
Dmt9m111.txt4 array size of 1280H x 1024V. It is programmable through a simple two-wire serial
Dmt9p031.txt4 an active array size of 2592H x 1944V. It is programmable through a simple
Dov2659.txt3 The Omnivision OV2659 is a 1/5-inch SOC camera, with an active array size of
Dmt9v032.txt4 an active array size of 752H x 480V. It is programmable through a simple
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/
Dqcom,pmic-mpp.txt17 Value type: <prop-encoded-array>
22 Value type: <prop-encoded-array>
23 Definition: Must contain an array of encoded interrupt specifiers for
67 Value type: <string-array>
Dpinctrl-single.txt24 - pinctrl-single,drive-strength : array of value that are used to configure
31 - pinctrl-single,bias-pullup : array of value that are used to configure the
37 - pinctrl-single,bias-pulldown : array of value that are used to configure the
53 - pinctrl-single,input-schmitt : array of value that are used to configure
60 - pinctrl-single,input-schmitt-enable : array of value that are used to
66 - pinctrl-single,low-power-mode : array of value that are used to configure
Dqcom,pmic-gpio.txt21 Value type: <prop-encoded-array>
26 Value type: <prop-encoded-array>
27 Definition: Must contain an array of encoded interrupt specifiers for
72 Value type: <string-array>
Datmel,at91-pinctrl.txt23 - atmel,mux-mask: array of mask (periph per bank) to describe if a pin can be
26 How to create such array:
83 - atmel,pins: 4 integers array, represents a group of pins mux and config
Dlantiq,falcon-pinumx.txt32 - lantiq,groups : An array of strings. Each string contains the name of a group.
50 - lantiq,pins : An array of strings. Each string contains the name of a pin.
Dqcom,apq8084-pinctrl.txt13 Value type: <prop-encoded-array>
18 Value type: <prop-encoded-array>
74 Value type: <string-array>
Dqcom,msm8960-pinctrl.txt13 Value type: <prop-encoded-array>
18 Value type: <prop-encoded-array>
74 Value type: <string-array>
Dqcom,msm8916-pinctrl.txt13 Value type: <prop-encoded-array>
18 Value type: <prop-encoded-array>
74 Value type: <string-array>
Dfsl,imx51-pinctrl.txt8 - fsl,pins: two integers array, represents a group of pins mux and config
Dfsl,imx6q-pinctrl.txt8 - fsl,pins: two integers array, represents a group of pins mux and config
Dfsl,imx53-pinctrl.txt8 - fsl,pins: two integers array, represents a group of pins mux and config
Dfsl,imx35-pinctrl.txt8 - fsl,pins: two integers array, represents a group of pins mux and config
Dfsl,imx6dl-pinctrl.txt8 - fsl,pins: two integers array, represents a group of pins mux and config
Dfsl,imx6sl-pinctrl.txt8 - fsl,pins: two integers array, represents a group of pins mux and config
Dfsl,vf610-pinctrl.txt8 - fsl,pins: two integers array, represents a group of pins mux and config
Dlantiq,xway-pinumx.txt32 - lantiq,groups : An array of strings. Each string contains the name of a group.
57 - lantiq,pins : An array of strings. Each string contains the name of a pin.
Dste,nomadik.txt26 - groups : An array of strings. Each string contains the name of a pin
31 - pins: A string array describing the pins affected by the configuration
/linux-4.1.27/tools/lib/api/fd/
DBuild1 libapi-y += array.o
/linux-4.1.27/Documentation/x86/
Dzero-page.txt36 (array of struct e820entry)
37 D00/1EC ALL eddbuf EDD data (array of struct edd_info)
/linux-4.1.27/drivers/mfd/
Dsi476x-prop.c28 const u16 array[], in si476x_core_element_is_in_array() argument
34 if (element == array[i]) in si476x_core_element_is_in_array()
/linux-4.1.27/Documentation/devicetree/bindings/ata/
Dsata_highbank.txt21 - calxeda,led-order : a u32 array that map port numbers to offsets within the
23 - calxeda,tx-atten : a u32 array that contains TX attenuation override
/linux-4.1.27/Documentation/devicetree/bindings/net/
Damd-xgbe-phy.txt19 The following optional properties are represented by an array with each
20 value corresponding to a particular speed. The first array value represents
Dethernet.txt3 - local-mac-address: array of 6 bytes, specifies the MAC address that was
5 - mac-address: array of 6 bytes, specifies the MAC address that was last used by
/linux-4.1.27/scripts/dtc/
Ddtc-parser.tab.c_shipped164 } array;
383 /* The size of an array large to enough to hold all stacks, each with
1675 (yyval.data) = data_merge((yyvsp[(1) - (3)].data), (yyvsp[(2) - (3)].array).data);
1766 (yyval.array).data = empty_data;
1767 (yyval.array).bits = eval_literal((yyvsp[(2) - (3)].literal), 0, 7);
1769 if (((yyval.array).bits != 8) &&
1770 ((yyval.array).bits != 16) &&
1771 ((yyval.array).bits != 32) &&
1772 ((yyval.array).bits != 64))
1776 (yyval.array).bits = 32;
[all …]
Ddtc-parser.y51 } array; member
81 %type <array> arrayprefix
/linux-4.1.27/kernel/trace/
Dring_buffer_benchmark.c132 inc = event->array[0] + 4; in read_page()
144 if (!event->array[0]) { in read_page()
148 inc = event->array[0] + 4; in read_page()
Dring_buffer.c175 #define RB_EVNT_HDR_SIZE (offsetof(struct ring_buffer_event, array))
221 length = event->array[0]; in rb_event_data_length()
238 return event->array[0] + RB_EVNT_HDR_SIZE; in rb_event_length()
293 if (length > RB_MAX_SMALL_DATA + sizeof(event->array[0])) in ring_buffer_event_length()
294 length -= sizeof(event->array[0]); in ring_buffer_event_length()
308 return (void *)&event->array[0]; in rb_event_data()
310 return (void *)&event->array[1]; in rb_event_data()
2015 event->array[0] = delta >> TS_SHIFT; in rb_add_time_stamp()
2019 event->array[0] = 0; in rb_add_time_stamp()
2059 event->array[0] = length; in rb_update_event()
[all …]
/linux-4.1.27/Documentation/fmc/
Dmezzanine.txt51 null-terminated array - the entry with NULL names can be a valid entry.
56 identified by an array of cores (it matches if all of the cores are
59 driver, and thus the driver specifies and array of such arrays.
92 This is an array of integers, listing carrier-specific
99 The argument is an array of strings. If no busid= is specified,
Dcarrier.txt45 int slot_id; /* Index in the slot array */
70 * eeprom_len: length of the following array.
103 * devarray: an array og all mezzanines driven by a singe FPGA.
168 index in the associated array. See *note Module Parameters:: in in
232 pointer to an array of struct fmc_gpio items, as well as the length of
233 the array. This is the data structure:
296 * If no pin in the array can be used by the carrier, `-ENODEV'.
/linux-4.1.27/Documentation/sound/alsa/
Dhdspm.txt328 index int array (min = 1, max = 8),
333 id string array (min = 1, max = 8),
338 enable int array (min = 1, max = 8),
343 precise_ptr int array (min = 1, max = 8),
348 line_outs_monitor int array (min = 1, max = 8),
359 enable_monitor int array (min = 1, max = 8),
/linux-4.1.27/Documentation/devicetree/bindings/media/
Dvideo-interfaces.txt93 - data-lanes: an array of physical data lane indexes. Position of an entry
98 - clock-lanes: an array of physical clock lane indexes. Position of an entry
103 array contains only one entry.
108 lane value. An array of 64-bit unsigned integers.
109 - lane-polarities: an array of polarities of the lanes starting from the clock
111 Valid values are 0 (normal) and 1 (inverted). The length of the array
Dsamsung-mipi-csis.txt42 - data-lanes : (required) an array specifying active physical MIPI-CSI2
44 array's content is unused, only its length is meaningful;
/linux-4.1.27/Documentation/powerpc/
Dqe_firmware.txt96 | array | Protocol | within PRAM | Operand |
119 This is a double word bit array (64 bits) that defines special functionality
193 The 'magic' field is an array of three bytes that contains the letters
236 'vtraps' is an array of 8 words that contain virtual trap values for each
247 'traps' is an array of 16 words that contain hardware trap values
263 array.
270 is an array, the 64-bit 'extended_modes' field needs to be aligned
/linux-4.1.27/Documentation/virtual/kvm/devices/
Dmpic.txt46 the main array of interrupt sources (a.k.a. "SRC" interrupts).
49 the register offset from the beginning of the sources array, without
/linux-4.1.27/drivers/uwb/
Ddrp-avail.c141 unsigned long get_val(u8 *array, size_t itr, size_t len) in get_val() argument
150 val |= array[top - 1]; in get_val()
/linux-4.1.27/net/ipv6/
Daddrconf.c4544 __s32 *array, int bytes) in ipv6_store_devconf() argument
4548 memset(array, 0, bytes); in ipv6_store_devconf()
4549 array[DEVCONF_FORWARDING] = cnf->forwarding; in ipv6_store_devconf()
4550 array[DEVCONF_HOPLIMIT] = cnf->hop_limit; in ipv6_store_devconf()
4551 array[DEVCONF_MTU6] = cnf->mtu6; in ipv6_store_devconf()
4552 array[DEVCONF_ACCEPT_RA] = cnf->accept_ra; in ipv6_store_devconf()
4553 array[DEVCONF_ACCEPT_REDIRECTS] = cnf->accept_redirects; in ipv6_store_devconf()
4554 array[DEVCONF_AUTOCONF] = cnf->autoconf; in ipv6_store_devconf()
4555 array[DEVCONF_DAD_TRANSMITS] = cnf->dad_transmits; in ipv6_store_devconf()
4556 array[DEVCONF_RTR_SOLICITS] = cnf->rtr_solicits; in ipv6_store_devconf()
[all …]
/linux-4.1.27/arch/x86/mm/
Dpf_in.c135 #define CHECK_OP_TYPE(opcode, array, type) \ argument
136 for (i = 0; i < ARRAY_SIZE(array); i++) { \
137 if (array[i] == opcode) { \
/linux-4.1.27/Documentation/acpi/
Dgpio-properties.txt71 array of struct acpi_gpio_mapping objects that each contain a name, a pointer
72 to an array of line data (struct acpi_gpio_params) objects and the size of that
73 array. Each struct acpi_gpio_params object consists of three fields,
/linux-4.1.27/drivers/md/persistent-data/
DMakefile3 dm-array.o \
/linux-4.1.27/drivers/tty/hvc/
Dhvc_iucv.c1233 void *array, *old_filter; in hvc_iucv_setup_filter() local
1238 array = NULL; in hvc_iucv_setup_filter()
1254 array = kzalloc(size * 8, GFP_KERNEL); in hvc_iucv_setup_filter()
1255 if (!array) in hvc_iucv_setup_filter()
1262 array + ((size - count) * 8)); in hvc_iucv_setup_filter()
1265 kfree(array); in hvc_iucv_setup_filter()
1275 hvc_iucv_filter = array; in hvc_iucv_setup_filter()
/linux-4.1.27/arch/sparc/kernel/
Dhead_64.S176 add %sp, (2047 + 128), %o0 ! argument array
205 add %sp, (2047 + 128), %o0 ! argument array
224 add %sp, (2047 + 128), %o0 ! argument array
248 add %sp, (2047 + 128), %o0 ! argument array
273 add %sp, (2047 + 128), %o0 ! argument array
314 add %sp, (2047 + 128), %o0 ! argument array
351 add %sp, (2047 + 128), %o0 ! argument array
377 add %sp, (2047 + 128), %o0 ! argument array
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_sync.c1743 struct task_struct **array = NULL, *task; in start_sync_thread() local
1799 array = kzalloc(count * sizeof(struct task_struct *), in start_sync_thread()
1801 if (!array) in start_sync_thread()
1840 array[id] = task; in start_sync_thread()
1846 ipvs->backup_threads = array; in start_sync_thread()
1870 kthread_stop(array[count]); in start_sync_thread()
1872 kfree(array); in start_sync_thread()
1886 struct task_struct **array; in stop_sync_thread() local
1927 array = ipvs->backup_threads; in stop_sync_thread()
1933 task_pid_nr(array[id])); in stop_sync_thread()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/phy/
Dphy-miphy365x.txt9 - st,syscfg : Phandle / integer array property. Phandle of sysconfig group
10 containing the miphy registers and integer array should contain
Dphy-stih407-usb.txt8 - st,syscfg : phandle of sysconfig bank plus integer array containing phyparam and phyctrl registe…
/linux-4.1.27/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,brcmstb.txt57 A phandle / integer array property which lets the BSP know the location
87 A phandle / integer array that points to the syscon node which describes
/linux-4.1.27/include/uapi/linux/
Dsem.h48 unsigned short __user *array; /* array for GETALL & SETALL */ member
/linux-4.1.27/Documentation/phy/
Dsamsung-usb2.txt50 array that contains the configuration for each phy. The has_mode_switch
70 The exynos4210_phys configuration array is as follows:
107 added to the struct of_device_id samsung_usb2_phy_of_match[] array:
/linux-4.1.27/Documentation/scsi/
Dlibsas.txt50 And then all the phys are an array of my_phy in your HA
72 sas_addr -- this normally points to an array holding the sas
89 so you define the actual array in your phy struct and let
140 allocated array somewhere (say in your host adapter
144 sas_phy -- an array of pointers to structures. (see
147 num_phys -- the number of phys present in the sas_phy array,
149 array. There can be a maximum num_phys ports (one per
320 scatter -- pointer to scatter gather list array
/linux-4.1.27/Documentation/devicetree/bindings/net/wireless/
Dqcom,ath10k.txt10 - qcom,ath10k-calibration-data : calibration data as an array, the
/linux-4.1.27/net/sched/
Dsch_fq.c613 struct rb_root *array; in fq_resize() local
621 array = fq_alloc_node(sizeof(struct rb_root) << log, in fq_resize()
623 if (!array) in fq_resize()
627 array[idx] = RB_ROOT; in fq_resize()
633 fq_rehash(q, old_fq_root, q->fq_trees_log, array, log); in fq_resize()
635 q->fq_root = array; in fq_resize()
/linux-4.1.27/Documentation/devicetree/bindings/power/
Dopp.txt8 - operating-points: An array of 2-tuples items, and each item consists
/linux-4.1.27/fs/
Dsplice.c957 struct bio_vec *array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write() local
961 if (unlikely(!array)) in iter_file_splice_write()
977 kfree(array); in iter_file_splice_write()
979 array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write()
981 if (!array) { in iter_file_splice_write()
1006 array[n].bv_page = buf->page; in iter_file_splice_write()
1007 array[n].bv_len = this_len; in iter_file_splice_write()
1008 array[n].bv_offset = buf->offset; in iter_file_splice_write()
1012 iov_iter_bvec(&from, ITER_BVEC | WRITE, array, n, in iter_file_splice_write()
1043 kfree(array); in iter_file_splice_write()
/linux-4.1.27/fs/proc/
DMakefile10 proc-y += inode.o root.o base.o generic.o array.o \
/linux-4.1.27/drivers/staging/i2o/
DKconfig60 raidutils to manage your RAID array, you have to say Y here.
91 are using an RAID controller, you could access the array only by
104 you wish. To access a RAID array, you must use the Block OSM driver.
/linux-4.1.27/Documentation/devicetree/bindings/
Dbtmrvl.txt11 initialization. This is an array of 28 values(u8).
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/
Dphy.c1629 u8 **array; in _rtl8821ae_phy_read_and_config_txpwr_lmt() local
1633 array = RTL8812AE_TXPWR_LMT; in _rtl8821ae_phy_read_and_config_txpwr_lmt()
1636 array = RTL8821AE_TXPWR_LMT; in _rtl8821ae_phy_read_and_config_txpwr_lmt()
1643 u8 *regulation = array[i]; in _rtl8821ae_phy_read_and_config_txpwr_lmt()
1644 u8 *band = array[i+1]; in _rtl8821ae_phy_read_and_config_txpwr_lmt()
1645 u8 *bandwidth = array[i+2]; in _rtl8821ae_phy_read_and_config_txpwr_lmt()
1646 u8 *rate = array[i+3]; in _rtl8821ae_phy_read_and_config_txpwr_lmt()
1647 u8 *rf_path = array[i+4]; in _rtl8821ae_phy_read_and_config_txpwr_lmt()
1648 u8 *chnl = array[i+5]; in _rtl8821ae_phy_read_and_config_txpwr_lmt()
1649 u8 *val = array[i+6]; in _rtl8821ae_phy_read_and_config_txpwr_lmt()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/drm/msm/
Dmdp.txt8 - connectors: array of phandles for output device(s)
/linux-4.1.27/drivers/usb/host/
Dr8a66597-hcd.c670 u16 array[R8A66597_MAX_NUM_PIPE], i = 0, min; in get_empty_pipenum() local
672 memset(array, 0, sizeof(array)); in get_empty_pipenum()
676 array[i++] = 4; in get_empty_pipenum()
678 array[i++] = 3; in get_empty_pipenum()
679 array[i++] = 5; in get_empty_pipenum()
684 array[i++] = 6; in get_empty_pipenum()
685 array[i++] = 7; in get_empty_pipenum()
686 array[i++] = 8; in get_empty_pipenum()
688 array[i++] = 9; in get_empty_pipenum()
692 array[i++] = 2; in get_empty_pipenum()
[all …]
/linux-4.1.27/Documentation/leds/
Dleds-lm3556.txt47 and 4 patterns are pre-defined in indicator_pattern array.
50 indicator_pattern array with your own values and INDIC_PATTERN_SIZE.
/linux-4.1.27/fs/f2fs/
Dsegment.c1939 struct curseg_info *array; in build_curseg() local
1942 array = kcalloc(NR_CURSEG_TYPE, sizeof(*array), GFP_KERNEL); in build_curseg()
1943 if (!array) in build_curseg()
1946 SM_I(sbi)->curseg_array = array; in build_curseg()
1949 mutex_init(&array[i].curseg_mutex); in build_curseg()
1950 array[i].sum_blk = kzalloc(PAGE_CACHE_SIZE, GFP_KERNEL); in build_curseg()
1951 if (!array[i].sum_blk) in build_curseg()
1953 array[i].segno = NULL_SEGNO; in build_curseg()
1954 array[i].next_blkoff = 0; in build_curseg()
2214 struct curseg_info *array = SM_I(sbi)->curseg_array; in destroy_curseg() local
[all …]
/linux-4.1.27/drivers/media/common/
Dtveeprom.c52 #define STRM(array, i) \ argument
53 (i < sizeof(array) / sizeof(char *) ? array[i] : "unknown")
/linux-4.1.27/fs/ocfs2/
Duptodate.c538 sector_t *array = ci->ci_cache.ci_array; in ocfs2_remove_metadata_array() local
555 memmove(&array[index], &array[index + 1], bytes); in ocfs2_remove_metadata_array()
/linux-4.1.27/Documentation/devicetree/bindings/arm/msm/
Dqcom,kpss-acc.txt19 Value type: <prop-encoded-array>
/linux-4.1.27/net/rds/
Daf_rds.c43 char *rds_str_array(char **array, size_t elements, size_t index) in rds_str_array() argument
45 if ((index < elements) && array[index]) in rds_str_array()
46 return array[index]; in rds_str_array()
/linux-4.1.27/Documentation/devicetree/bindings/mtd/
Dorion-nand.txt12 - chip-delay : Chip dependent delay for transferring data from array to read
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-extcon20 mutually_exclusive array.
86 if the mutually_exclusive array of extcon device is
/linux-4.1.27/tools/perf/Documentation/
Dperf-probe.txt150 …ructure member (e.g. var->field, var.field2), local array with fixed index (e.g. array[1], var->ar…
152 …'string' type only for the local variable or structure member which is an array of or a pointer to…
/linux-4.1.27/arch/ia64/kernel/
Dunwind_i.h55 const struct unw_table_entry *array; member
/linux-4.1.27/drivers/s390/block/
Ddasd_proc.c196 static void dasd_statistics_array(struct seq_file *m, unsigned int *array, int factor) in dasd_statistics_array() argument
201 seq_printf(m, "%7d ", array[i] / factor); in dasd_statistics_array()
/linux-4.1.27/arch/x86/kernel/
Dkvm.c633 static void __spin_time_accum(u64 delta, u32 *array) in __spin_time_accum() argument
641 array[index]++; in __spin_time_accum()
643 array[HISTO_BUCKETS]++; in __spin_time_accum()
/linux-4.1.27/drivers/staging/comedi/drivers/
Ddas16m1.c141 static void munge_sample_array(unsigned short *array, unsigned int num_elements) in munge_sample_array() argument
146 array[i] = munge_sample(array[i]); in munge_sample_array()

123