Searched refs:element (Results 1 - 200 of 921) sorted by relevance

12345

/linux-4.1.27/mm/
H A Dmempool.c24 static void poison_error(mempool_t *pool, void *element, size_t size, poison_error() argument
32 pr_err("BUG: mempool element poison mismatch\n"); poison_error()
34 pr_err(" nr=%d @ %p: %s0x", nr, element, start > 0 ? "... " : ""); poison_error()
36 pr_cont("%x ", *(u8 *)(element + i)); poison_error()
41 static void __check_element(mempool_t *pool, void *element, size_t size) __check_element() argument
43 u8 *obj = element; __check_element()
50 poison_error(pool, element, size, i); __check_element()
57 static void check_element(mempool_t *pool, void *element) check_element() argument
61 __check_element(pool, element, ksize(element)); check_element()
66 void *addr = kmap_atomic((struct page *)element); check_element()
73 static void __poison_element(void *element, size_t size) __poison_element() argument
75 u8 *obj = element; __poison_element()
81 static void poison_element(mempool_t *pool, void *element) poison_element() argument
85 __poison_element(element, ksize(element)); poison_element()
90 void *addr = kmap_atomic((struct page *)element); poison_element()
97 static inline void check_element(mempool_t *pool, void *element) check_element() argument
100 static inline void poison_element(mempool_t *pool, void *element) poison_element() argument
105 static void kasan_poison_element(mempool_t *pool, void *element) kasan_poison_element() argument
108 kasan_slab_free(pool->pool_data, element); kasan_poison_element()
110 kasan_kfree(element); kasan_poison_element()
112 kasan_free_pages(element, (unsigned long)pool->pool_data); kasan_poison_element()
115 static void kasan_unpoison_element(mempool_t *pool, void *element) kasan_unpoison_element() argument
118 kasan_slab_alloc(pool->pool_data, element); kasan_unpoison_element()
120 kasan_krealloc(element, (size_t)pool->pool_data); kasan_unpoison_element()
122 kasan_alloc_pages(element, (unsigned long)pool->pool_data); kasan_unpoison_element()
125 static void add_element(mempool_t *pool, void *element) add_element() argument
128 poison_element(pool, element); add_element()
129 kasan_poison_element(pool, element); add_element()
130 pool->elements[pool->curr_nr++] = element; add_element()
135 void *element = pool->elements[--pool->curr_nr]; remove_element() local
138 check_element(pool, element); remove_element()
139 kasan_unpoison_element(pool, element); remove_element()
140 return element; remove_element()
154 void *element = remove_element(pool); mempool_destroy() local
155 pool->free(element, pool->pool_data); mempool_destroy()
166 * @alloc_fn: user-defined element-allocation function.
167 * @free_fn: user-defined element-freeing function.
209 void *element; mempool_create_node() local
211 element = pool->alloc(gfp_mask, pool->pool_data); mempool_create_node()
212 if (unlikely(!element)) { mempool_create_node()
216 add_element(pool, element); mempool_create_node()
240 void *element; mempool_resize() local
250 element = remove_element(pool); mempool_resize()
252 pool->free(element, pool->pool_data); mempool_resize()
281 element = pool->alloc(GFP_KERNEL, pool->pool_data); mempool_resize()
282 if (!element) mempool_resize()
286 add_element(pool, element); mempool_resize()
289 pool->free(element, pool->pool_data); /* Raced */ mempool_resize()
301 * mempool_alloc - allocate an element from a specific memory pool
314 void *element; mempool_alloc() local
330 element = pool->alloc(gfp_temp, pool->pool_data); mempool_alloc()
331 if (likely(element != NULL)) mempool_alloc()
332 return element; mempool_alloc()
336 element = remove_element(pool); mempool_alloc()
344 kmemleak_update_trace(element); mempool_alloc()
345 return element; mempool_alloc()
364 /* Let's wait for someone else to return an element to @pool */ mempool_alloc()
382 * mempool_free - return an element to the pool.
383 * @element: pool element pointer.
389 void mempool_free(void *element, mempool_t *pool) mempool_free() argument
393 if (unlikely(element == NULL)) mempool_free()
398 * for @element and the following @pool->curr_nr. This ensures mempool_free()
400 * allocation of @element. This is necessary for fringe cases mempool_free()
401 * where @element was passed to this task without going through mempool_free()
419 * allocation of @element, any task which decremented curr_nr below mempool_free()
422 * to min_nr after the allocation of @element, the elements mempool_free()
432 add_element(pool, element); mempool_free()
439 pool->free(element, pool->pool_data); mempool_free()
454 void mempool_free_slab(void *element, void *pool_data) mempool_free_slab() argument
457 kmem_cache_free(mem, element); mempool_free_slab()
472 void mempool_kfree(void *element, void *pool_data) mempool_kfree() argument
474 kfree(element); mempool_kfree()
489 void mempool_free_pages(void *element, void *pool_data) mempool_free_pages() argument
492 __free_pages(element, order); mempool_free_pages()
/linux-4.1.27/include/uapi/linux/
H A Dchio.h5 /* changer element types */
6 #define CHET_MT 0 /* media transport element (robot) */
7 #define CHET_ST 1 /* storage element (media slots) */
8 #define CHET_IE 2 /* import/export element */
9 #define CHET_DT 3 /* data transfer element (tape/cdrom/whatever) */
21 * query vendor-specific element types
23 * accessing elements works by specifing type and unit of the element.
29 int cp_curpicker; /* current transport element */
50 * move a medium from one element to another
53 int cm_fromtype; /* type/unit of source element */
55 int cm_totype; /* type/unit of destination element */
64 * move one medium from element #1 to element #2,
65 * and another one from element #2 to element #3.
66 * element #1 and #3 are allowed to be identical.
69 int ce_srctype; /* type/unit of element #1 */
71 int ce_fdsttype; /* type/unit of element #2 */
73 int ce_sdsttype; /* type/unit of element #3 */
83 * move the transport element (robot arm) to a specific element.
95 * get element status for all elements of a specific type
105 #define CESTATUS_EXENAB 0x10 /* element can export media */
106 #define CESTATUS_INENAB 0x20 /* element can import media */
111 * get more detailed status information for a single element
118 int cge_srctype; /* source element of the last move/exchange */
H A Datmppp.h16 * the first element of the structure is the backend number and the rest
H A Dnfc.h67 * @NFC_CMD_ENABLE_SE: Enable the physical link to a specific secure element.
68 * Once enabled a secure element will handle card emulation mode, i.e.
69 * starting a poll from a device which has a secure element enabled means
71 * @NFC_CMD_DISABLE_SE: Disable the physical link to a specific secure element.
74 * @NFC_EVENT_SE_ADDED: Event emitted when a new secure element is discovered.
77 * @NFC_EVENT_SE_REMOVED: Event emitted when a secure element is removed from
79 * @NFC_EVENT_SE_CONNECTIVITY: This event is emitted whenever a secure element
88 * @NFC_CMD_SE_IO: Send/Receive APDUs to/from the selected secure element.
150 * @NFC_ATTR_SE_INDEX: Secure element index
151 * @NFC_ATTR_SE_TYPE: Secure element type (UICC or EMBEDDED)
153 * @NFC_ATTR_APDU: Secure element APDU
H A Datmbr2684.h51 * the first element of the structure is the backend number and the rest
78 * the first element of the structure is the backend number and the rest
H A Da.out.h219 element's value is stored into one word of the space.
228 #define N_SETA 0x14 /* Absolute set element symbol */
229 #define N_SETT 0x16 /* Text set element symbol */
230 #define N_SETD 0x18 /* Data set element symbol */
231 #define N_SETB 0x1A /* Bss set element symbol */
H A Dbpf.h129 #define BPF_ANY 0 /* create new element or update existing */
130 #define BPF_NOEXIST 1 /* create new element if it didn't exist */
131 #define BPF_EXIST 2 /* update existing element */
H A Dquota.h42 #define USRQUOTA 0 /* element used for user quotas */
43 #define GRPQUOTA 1 /* element used for group quotas */
44 #define PRJQUOTA 2 /* element used for project quotas */
/linux-4.1.27/security/tomoyo/
H A Dgc.c32 * tomoyo_struct_used_by_io_buffer - Check whether the list element is used by /sys/kernel/security/tomoyo/ users or not.
34 * @element: Pointer to "struct list_head".
36 * Returns true if @element is used by /sys/kernel/security/tomoyo/ users,
39 static bool tomoyo_struct_used_by_io_buffer(const struct list_head *element) tomoyo_struct_used_by_io_buffer() argument
49 if (head->r.domain == element || head->r.group == element || tomoyo_struct_used_by_io_buffer()
50 head->r.acl == element || &head->w.domain->list == element) tomoyo_struct_used_by_io_buffer()
102 * @element: Pointer to "struct list_head".
106 static inline void tomoyo_del_transition_control(struct list_head *element) tomoyo_del_transition_control() argument
109 container_of(element, typeof(*ptr), head.list); tomoyo_del_transition_control()
117 * @element: Pointer to "struct list_head".
121 static inline void tomoyo_del_aggregator(struct list_head *element) tomoyo_del_aggregator() argument
124 container_of(element, typeof(*ptr), head.list); tomoyo_del_aggregator()
132 * @element: Pointer to "struct list_head".
136 static inline void tomoyo_del_manager(struct list_head *element) tomoyo_del_manager() argument
139 container_of(element, typeof(*ptr), head.list); tomoyo_del_manager()
146 * @element: Pointer to "struct list_head".
150 static void tomoyo_del_acl(struct list_head *element) tomoyo_del_acl() argument
153 container_of(element, typeof(*acl), list); tomoyo_del_acl()
237 * @element: Pointer to "struct list_head".
243 static inline void tomoyo_del_domain(struct list_head *element) tomoyo_del_domain() argument
246 container_of(element, typeof(*domain), list); tomoyo_del_domain()
264 * @element: Pointer to "struct list_head".
268 void tomoyo_del_condition(struct list_head *element) tomoyo_del_condition() argument
270 struct tomoyo_condition *cond = container_of(element, typeof(*cond), tomoyo_del_condition()
303 * @element: Pointer to "struct list_head".
307 static inline void tomoyo_del_name(struct list_head *element) tomoyo_del_name() argument
315 * @element: Pointer to "struct list_head".
319 static inline void tomoyo_del_path_group(struct list_head *element) tomoyo_del_path_group() argument
322 container_of(element, typeof(*member), head.list); tomoyo_del_path_group()
329 * @element: Pointer to "struct list_head".
333 static inline void tomoyo_del_group(struct list_head *element) tomoyo_del_group() argument
336 container_of(element, typeof(*group), head.list); tomoyo_del_group()
343 * @element: Pointer to "struct list_head".
347 static inline void tomoyo_del_address_group(struct list_head *element) tomoyo_del_address_group() argument
355 * @element: Pointer to "struct list_head".
359 static inline void tomoyo_del_number_group(struct list_head *element) tomoyo_del_number_group() argument
368 * @element: Pointer to "struct list_head".
375 struct list_head *element) tomoyo_try_to_gc()
378 * __list_del_entry() guarantees that the list element became no longer tomoyo_try_to_gc()
379 * reachable from the list which the element was originally on (e.g. tomoyo_try_to_gc()
381 * list element became no longer referenced by syscall users. tomoyo_try_to_gc()
383 __list_del_entry(element); tomoyo_try_to_gc()
388 * element. We need to defer until both users forget this element. tomoyo_try_to_gc()
391 * and "struct tomoyo_io_buffer"->w.domain forget this element. tomoyo_try_to_gc()
393 if (tomoyo_struct_used_by_io_buffer(element)) tomoyo_try_to_gc()
397 tomoyo_del_transition_control(element); tomoyo_try_to_gc()
400 tomoyo_del_manager(element); tomoyo_try_to_gc()
403 tomoyo_del_aggregator(element); tomoyo_try_to_gc()
406 tomoyo_del_group(element); tomoyo_try_to_gc()
409 tomoyo_del_path_group(element); tomoyo_try_to_gc()
412 tomoyo_del_address_group(element); tomoyo_try_to_gc()
415 tomoyo_del_number_group(element); tomoyo_try_to_gc()
418 tomoyo_del_condition(element); tomoyo_try_to_gc()
423 * forget this element. tomoyo_try_to_gc()
426 (container_of(element, typeof(struct tomoyo_name), tomoyo_try_to_gc()
429 tomoyo_del_name(element); tomoyo_try_to_gc()
432 tomoyo_del_acl(element); tomoyo_try_to_gc()
437 * element. tomoyo_try_to_gc()
440 (element, typeof(struct tomoyo_domain_info), tomoyo_try_to_gc()
449 tomoyo_del_domain(element); tomoyo_try_to_gc()
450 tomoyo_memory_free(element); tomoyo_try_to_gc()
454 * We can safely reinject this element here bacause tomoyo_try_to_gc()
462 list_add_rcu(element, element->prev); tomoyo_try_to_gc()
374 tomoyo_try_to_gc(const enum tomoyo_policy_id type, struct list_head *element) tomoyo_try_to_gc() argument
/linux-4.1.27/include/linux/
H A Dutil_macros.h18 * find_closest - locate the closest element in a sorted array
20 * @a: The array in which to look for the closest element. Must be sorted
24 * Returns the index of the element closest to 'x'.
29 * find_closest_descending - locate the closest element in a sorted array
31 * @a: The array in which to look for the closest element. Must be sorted
H A Dmempool.h12 typedef void (mempool_free_t)(void *element, void *pool_data);
35 extern void mempool_free(void *element, mempool_t *pool);
43 void mempool_free_slab(void *element, void *pool_data);
56 void mempool_kfree(void *element, void *pool_data); mempool_create_kmalloc_pool()
68 void mempool_free_pages(void *element, void *pool_data); mempool_create_page_pool()
H A Drculist.h107 * @entry: the element to delete from the list.
137 * @n: the element to delete from the hash list.
165 * @old : the element to be replaced
166 * @new : the new element to insert
278 * list_first_or_null_rcu - get the first element from a list
279 * @ptr: the list head to take the element from.
326 * @n: the element to delete from the hash list.
351 * @old : the element to be replaced
352 * @new : the new element to insert
370 * return the first or the next element in an RCU protected hlist
378 * @n: the element to add to the hash list.
382 * Adds the specified element to the specified hlist,
409 * @n: the new element to add to the hash list.
410 * @next: the existing element to add the new element before.
413 * Adds the specified element to the specified hlist
436 * @n: the new element to add to the hash list.
437 * @prev: the existing element to add the new element after.
440 * Adds the specified element to the specified hlist
H A Drculist_nulls.h14 * @n: the element to delete from the hash list.
48 * @n: the element to delete from the hash list.
73 * @n: the element to add to the hash list.
77 * Adds the specified element to the specified hlist_nulls,
108 * The barrier() is needed to make sure compiler doesn't cache first element [1],
H A Drculist_bl.h28 * @n: the element to delete from the hash list.
56 * @n: the element to delete from the hash list.
81 * @n: the element to add to the hash list.
85 * Adds the specified element to the specified hlist_bl,
H A Dlist_lru.h68 * list_lru_add: add an element to the lru list's tail
72 * If the element is already part of a list, this function returns doing
74 * not the element already belongs in the list and is allowed to lazy update
86 * list_lru_del: delete an element to the lru list
91 * manipulation. The comments about an element already pertaining to
H A Denclosure.h35 /* ses-2 common element status */
45 /* last element for counting purposes */
H A Dieee80211.h647 * enum ieee80211_preq_flags - mesh PREQ element flags
656 * enum ieee80211_preq_target_flags - mesh PREQ element per target flags
669 * This structure refers to "Quiet information element"
681 * This structure refers to "Measurement Request/Report information element"
693 * This structure refers to "Channel Switch Announcement information element"
704 * This structure represents the "Extended Channel Switch Announcement element"
717 * This structure represents the "Secondary Channel Offset element"
726 * This structure represents the "Mesh Channel Switch Paramters element"
746 * This structure refers to "Traffic Indication Map information element"
759 * This structure refers to "Mesh Configuration information element"
790 * mesh channel switch parameters element's flag indicator
800 * This structure refers to "Root Announcement information element"
850 * This structure refers to "TPC Report element"
1011 /* Management MIC information element (IEEE 802.11w) */
1020 /* Management MIC information element (IEEE 802.11w) for GMAC and CMAC-256 */
1085 /* Link-id information element */
1254 * This structure is the "HT capabilities element" as
1344 * This structure is the "HT operation element" as
1453 * This structure is the "VHT capabilities element" as
1481 * This structure is the "VHT operation element" as
1593 /* 802.11g ERP information element */
2055 * the @WLAN_EID_EXT_CAPABILITY information element
2065 * @WLAN_EID_EXT_CAPABILITY information element
2071 * @WLAN_EID_EXT_CAPABILITY information element
2091 * that will be specified in a vendor specific information element
2103 * be specified in a vendor specific information element
2115 * specified in a vendor specific information element
2146 * IEEE 802.11-2007 7.3.2.9 Country information element
2155 /* The Country String field of the element shall be 3 octets in length */
2217 * struct ieee80211_timeout_interval_ie - Timeout Interval element
2502 * ieee80211_action_contains_tpc - checks if the frame contains TPC element
2525 * TPC report element length = 2 ieee80211_action_contains_tpc()
H A Domap-dma.h203 int frame_count; /* number of frames in a element */
209 int src_ei; /* source element index */
216 int dst_ei; /* source element index */
221 int sync_mode; /* sycn on element, frame , block or packet */
H A Dlist.h95 * @entry: the element to delete from the list.
118 * @old : the element to be replaced
119 * @new : the new element to insert
141 * @entry: the element to delete from the list.
255 * pass on @entry an element you know is on @head. @list
355 * list_first_entry - get the first element from a list
356 * @ptr: the list head to take the element from.
366 * list_last_entry - get the last element from a list
367 * @ptr: the list head to take the element from.
377 * list_first_entry_or_null - get the first element from a list
378 * @ptr: the list head to take the element from.
388 * list_next_entry - get the next element in list
396 * list_prev_entry - get the prev element in list
581 * exception to this is if the cursor element (pos) is pinned in the list,
H A Dvirtio.h24 * element in the queue, otherwise a buffer will need one element per
25 * sg element.
H A Dbtree.h52 * @element: the element to free
55 void btree_free(void *element, void *pool_data);
H A Dlru_cache.h133 /* this defines an element in a tracked set
146 * an element is said to be "in the active set",
163 /* back "pointer" into lc_cache->element[index],
238 * unused element available, we are "starving", and must not give out
257 extern void lc_del(struct lru_cache *lc, struct lc_element *element);
H A Drslib.h34 * @prim: Primitive element, index form
H A Dcleancache.h71 * check plus a superblock element comparison if CONFIG_CLEANCACHE is enabled
/linux-4.1.27/drivers/acpi/acpica/
H A Duttrack.c49 * element contains the caller's component, module name, function name, and
51 * acpi_ut_track_allocation to add an element to the list; deletion
296 * DESCRIPTION: Searches for an element in the global allocation tracking list.
297 * If the element is not found, returns the location within the
298 * list where the element should be inserted.
315 struct acpi_debug_mem_block *element; acpi_ut_find_allocation() local
317 element = acpi_gbl_global_list->list_head; acpi_ut_find_allocation()
318 if (!element) { acpi_ut_find_allocation()
329 while (element > allocation) { acpi_ut_find_allocation()
333 if (!element->next) { acpi_ut_find_allocation()
334 return (element); acpi_ut_find_allocation()
337 element = element->next; acpi_ut_find_allocation()
340 if (element == allocation) { acpi_ut_find_allocation()
341 return (element); acpi_ut_find_allocation()
344 return (element->previous); acpi_ut_find_allocation()
360 * DESCRIPTION: Inserts an element into the global allocation tracking list.
371 struct acpi_debug_mem_block *element; acpi_ut_track_allocation() local
390 element = acpi_ut_find_allocation(allocation); acpi_ut_track_allocation()
391 if (element == allocation) { acpi_ut_track_allocation()
408 if (!element) { acpi_ut_track_allocation()
422 /* Insert after element */ acpi_ut_track_allocation()
424 allocation->next = element->next; acpi_ut_track_allocation()
425 allocation->previous = element; acpi_ut_track_allocation()
427 if (element->next) { acpi_ut_track_allocation()
428 (element->next)->previous = allocation; acpi_ut_track_allocation()
431 element->next = allocation; acpi_ut_track_allocation()
450 * DESCRIPTION: Deletes an element from the global allocation tracking list.
576 struct acpi_debug_mem_block *element; acpi_ut_dump_allocations() local
594 element = acpi_gbl_global_list->list_head; acpi_ut_dump_allocations()
595 while (element) { acpi_ut_dump_allocations()
596 if ((element->component & component) && acpi_ut_dump_allocations()
598 || (0 == ACPI_STRCMP(module, element->module)))) { acpi_ut_dump_allocations()
601 &element->user_space); acpi_ut_dump_allocations()
603 if (element->size < acpi_ut_dump_allocations()
607 descriptor, element->size, acpi_ut_dump_allocations()
608 element->module, element->line); acpi_ut_dump_allocations()
616 descriptor, element->size, acpi_ut_dump_allocations()
617 element->module, element->line, acpi_ut_dump_allocations()
629 if (element->size == acpi_ut_dump_allocations()
640 if (element->size == acpi_ut_dump_allocations()
650 if (element->size == acpi_ut_dump_allocations()
705 element = element->next; acpi_ut_dump_allocations()
H A Dnsprepkg.c116 * Most packages must have at least one element. The only exception acpi_ns_check_package()
234 /* First element is the (Integer) revision */ acpi_ns_check_package()
253 /* First element is the (Integer) count of subpackages to follow */ acpi_ns_check_package()
288 * First, ensure that the first element is a subpackage. If not, acpi_ns_check_package()
306 /* Update locals to point to the new package (of 1 element) */ acpi_ns_check_package()
465 * optional element acpi_ns_check_package_list()
499 /* Check the type of each subpackage element */ acpi_ns_check_package_list()
524 /* Check the type of each subpackage element */ acpi_ns_check_package_list()
539 * First element is the (Integer) count of elements, including acpi_ns_check_package_list()
564 * Either the num_entries element was originally zero or it was acpi_ns_check_package_list()
565 * a NULL element and repaired to an Integer of value zero. acpi_ns_check_package_list()
573 /* Check the type of each subpackage element */ acpi_ns_check_package_list()
H A Dexoparg6.c112 * Below, P[i] refers to the package element, M refers to the Match object. acpi_ex_do_match()
260 * Examine each element until a match is found. Both match conditions acpi_ex_opcode_6A_0T_1R()
262 * "continue" signifies that the current element does not match acpi_ex_opcode_6A_0T_1R()
272 /* Get the current package element */ acpi_ex_opcode_6A_0T_1R()
H A Dnsrepair.c218 "Found unexpected NULL package element")); acpi_ns_simple_repair()
289 * The original object is a package element. We need to acpi_ns_simple_repair()
389 * DESCRIPTION: Attempt to repair a NULL element of a returned Package object.
411 * Attempt to repair a NULL element of a Package object. This applies to acpi_ns_repair_null_element()
412 * predefined names that return a fixed-length package and each element acpi_ns_repair_null_element()
447 "%s: Converted NULL package element to expected %s at index %u\n", acpi_ns_repair_null_element()
576 * have a single element, the lone sub-object. acpi_ns_wrap_with_package()
H A Dutcopy.c124 * package element) acpi_ut_copy_isimple_to_esimple()
241 * DESCRIPTION: Copy one package element to another package element
821 * DESCRIPTION: Copy one package element to another package element
845 /* A null source object indicates a (legal) null package element */ acpi_ut_copy_ielement_to_ielement()
867 /* Pass through a null element */ acpi_ut_copy_ielement_to_ielement()
948 * Copy the package element-by-element by walking the package "tree". acpi_ut_copy_ipackage_to_ipackage()
H A Dexresolv.c203 /* Otherwise, dereference the package_index to a package element */ acpi_ex_resolve_object_to_value()
217 * A NULL object descriptor means an uninitialized element of acpi_ex_resolve_object_to_value()
221 "Attempt to dereference an Index to NULL package element Idx=%p", acpi_ex_resolve_object_to_value()
443 * of the individual package element that is referenced by acpi_ex_resolve_multiple()
H A Dnsrepair2.c392 /* Examine each element of the _CID package */ acpi_ns_repair_CID()
618 /* Each element in the _PRT package is a subpackage */ acpi_ns_repair_PRT()
629 /* Check for minimum required element count */ acpi_ns_repair_PRT()
836 /* Each element of the top-level package must also be a package */ acpi_ns_check_sorted_list()
887 * PARAMETERS: elements - Package object element list
889 * index - Sort by which package element
894 * DESCRIPTION: Sort the objects that are in a package element list.
936 * PARAMETERS: obj_desc - Package object element list
937 * index - Index of element to remove
941 * DESCRIPTION: Remove the requested element of a package and delete it.
H A Dutmisc.c221 * walk_callback - Called once for each package element
250 /* Get one element of the package */ acpi_ut_walk_package_tree()
258 * 1) An uninitialized package element. It is completely acpi_ut_walk_package_tree()
H A Dexstore.c222 * DESCRIPTION: Store the object to indexed Buffer or Package element
246 * Storing to a package element. Copy the object and replace acpi_ex_store_object_to_index()
251 * element within the package that is to be modified. acpi_ex_store_object_to_index()
303 * The first 8-bit element of the source object is written to the acpi_ex_store_object_to_index()
/linux-4.1.27/include/uapi/linux/netfilter/ipset/
H A Dip_set_bitmap.h6 /* The element is out of the range of the set */
H A Dip_set_hash.h8 /* Null-valued element */
H A Dip_set.h35 IPSET_CMD_ADD, /* 9: Add an element to a set */
36 IPSET_CMD_DEL, /* 10: Delete an element from a set */
37 IPSET_CMD_TEST, /* 11: Test an element in a set */
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/
H A Dlist.h45 * We need one list head in bar and a list element in all list_of_foos (both are of
66 * Then we create the first element and add it to this list:
72 * Repeat the above for each element you want to add to the list. Deleting
73 * works with the element itself.
144 * Insert a new element after the given list head. The new element does not
147 * head → some element → ...
149 * head → new element → older element → ...
155 * @param entry The new element to prepend to the list.
165 * Append a new element to the end of the list given with this list head.
168 * head → some element → ... → lastelement
170 * head → some element → ... → lastelement → new element
176 * @param entry The new element to prepend to the list.
193 * Remove the element from the list it is in. Using this function will reset
194 * the pointers to/from this element so it is removed from the list. It does
195 * NOT free the element itself or manipulate it otherwise.
198 * this file) will NOT remove the first element from
204 * @param entry The element to remove.
241 * Returns a pointer to the container of this list element.
249 * @param type Data type of the list element.
250 * @param member Member name of the struct list_head field in the list element.
272 * @param type Data type of the list element to retrieve
273 * @param member Member name of the struct list_head field in the list element.
274 * @return A pointer to the first list element.
287 * @param type Data type of the list element to retrieve
288 * @param member Member name of the struct list_head field in the list element.
289 * @return A pointer to the last list element.
320 * Loop through the list, keeping a backup pointer to the element. This
321 * macro allows for the deletion of a list element while looping through the
/linux-4.1.27/scripts/
H A Dasn1_compiler.c417 /* Can be a directive, type name or element tokenise()
427 * it's an element name tokenise()
651 struct element { struct
656 struct element *children;
657 struct element *next;
658 struct element *render_next;
659 struct element *list_next;
678 struct element *element; member in struct:type
771 static struct element *parse_type(struct token **_cursor, struct token *stop,
792 type->element = parse_type(&cursor, type[1].name, NULL); parse()
793 type->element->type_def = type; parse()
807 static struct element *element_list;
809 static struct element *alloc_elem(struct token *type) alloc_elem()
811 struct element *e = calloc(1, sizeof(*e)); alloc_elem()
821 static struct element *parse_compound(struct token **_cursor, struct token *end,
827 static struct element *parse_type(struct token **_cursor, struct token *end, parse_type()
830 struct element *top, *element; parse_type() local
837 top = element = alloc_elem(cursor); parse_type()
838 element->class = ASN1_UNIV; parse_type()
839 element->method = ASN1_PRIM; parse_type()
840 element->tag = token_to_tag[cursor->token_type]; parse_type()
841 element->name = name; parse_type()
850 element->class = ASN1_UNIV; parse_type()
854 element->class = ASN1_APPL; parse_type()
858 element->class = ASN1_CONT; parse_type()
861 element->class = ASN1_PRIV; parse_type()
880 element->tag &= ~0x1f; parse_type()
881 element->tag |= strtoul(cursor->value, &p, 10); parse_type()
902 element->flags |= ELEMENT_IMPLICIT; parse_type()
908 element->flags |= ELEMENT_EXPLICIT; parse_type()
916 element->method |= ASN1_CONS; parse_type()
917 element->compound = implicit ? TAG_OVERRIDE : SEQUENCE; parse_type()
918 element->children = alloc_elem(cursor); parse_type()
919 element = element->children; parse_type()
920 element->class = ASN1_UNIV; parse_type()
921 element->method = ASN1_PRIM; parse_type()
922 element->tag = token_to_tag[cursor->token_type]; parse_type()
923 element->name = name; parse_type()
927 element->type = cursor; parse_type()
930 element->compound = ANY; parse_type()
938 element->compound = NOT_COMPOUND; parse_type()
943 element->method = ASN1_CONS; parse_type()
961 element->compound = NOT_COMPOUND; parse_type()
967 element->compound = NOT_COMPOUND; parse_type()
977 element->compound = NOT_COMPOUND; parse_type()
987 element->compound = TYPE_REF; parse_type()
1002 element->compound = CHOICE; parse_type()
1004 element->children = parse_compound(&cursor, end, 1); parse_type()
1008 element->compound = SEQUENCE; parse_type()
1009 element->method = ASN1_CONS; parse_type()
1014 element->compound = SEQUENCE_OF; parse_type()
1018 element->children = parse_type(&cursor, end, NULL); parse_type()
1020 element->children = parse_compound(&cursor, end, 0); parse_type()
1025 element->compound = SET; parse_type()
1026 element->method = ASN1_CONS; parse_type()
1031 element->compound = SET_OF; parse_type()
1035 element->children = parse_type(&cursor, end, NULL); parse_type()
1037 element->children = parse_compound(&cursor, end, 1); parse_type()
1098 element->action = action; parse_type()
1129 static struct element *parse_compound(struct token **_cursor, struct token *end, parse_compound()
1132 struct element *children, **child_p = &children, *element; parse_compound() local
1160 element = parse_type(&cursor, end, name); parse_compound()
1162 element->flags |= ELEMENT_SKIPPABLE | ELEMENT_CONDITIONAL; parse_compound()
1164 *child_p = element; parse_compound()
1165 child_p = &element->next; parse_compound()
1194 static void render_element(FILE *out, struct element *e, struct element *tag);
1199 static struct element *render_list, **render_list_p = &render_list;
1232 struct element *e; render()
1298 render_element(NULL, root->element, NULL); render()
1313 render_element(out, root->element, NULL); render()
1332 struct element *e, *ce; render_out_of_line_list()
1375 * Render an element.
1377 static void render_element(FILE *out, struct element *e, struct element *tag) render_element()
1379 struct element *ec; render_element()
1466 render_element(out, e->type->type->element, tag); render_element()
1532 * a stack of bitmasks to make sure no element is repeated. render_element()
H A Ddecode_stacktrace.sh88 # We need to know the index of the last element before we
105 # The symbol is the last element, process it
/linux-4.1.27/lib/
H A Dlru_cache.c104 struct lc_element **element = NULL; lc_create() local
122 element = kzalloc(e_count * sizeof(struct lc_element *), GFP_KERNEL); lc_create()
123 if (!element) lc_create()
141 lc->lc_element = element; lc_create()
155 element[i] = e; lc_create()
162 void *p = element[i]; lc_create()
167 kfree(element); lc_create()
284 * lc_find - find element by label, if present in the hash table
286 * @enr: element number
288 * Returns the pointer to an element, if the element with the requested
289 * "label" or element number is present in the hash table,
300 * lc_is_used - find element by label
302 * @enr: element number
304 * Returns true, if the element with the requested "label" or element number is
316 * lc_del - removes an element from the cache
318 * @e: The element to remove
430 * the LRU element, we have to wait ... __lc_get()
438 * unused (or even "free") element, but we won't accumulate more than __lc_get()
455 * lc_get - get element by label, maybe change the active set
459 * Finds an element in the cache, increases its usage count,
463 * cache. Therefore it is possible that an other element becomes evicted from
472 * Or no unused or free element could be recycled (@lc will be marked as
475 * pointer to the element with the REQUESTED element number.
478 * pointer to an UNUSED element with some different element number,
483 * The returned element pointer is moved to the "to_be_changed" list,
484 * and registered with the new element number on the hash collision chains,
504 * Unlike lc_get this also returns the element for @enr, if it is belonging to
508 * pointer to an element already on the "to_be_changed" list.
512 * before proceeding to actually use this element.
520 * lc_try_get - get element by label, if present; do not change the active set
524 * Finds an element in the cache, increases its usage count,
532 * pointer to the element with the REQUESTED element number.
567 * @e: the element to put
569 * If refcnt reaches zero, the element is moved to the lru list,
591 * @i: the index of the element to return
604 * @e: the element to query for its index position in lc->element
616 * @index: the element index to associate label with.
H A Dbsearch.c18 * @base: pointer to first element to search
20 * @size: size of each element
H A Dsort.c33 * @size: size of each element
38 * swap_func function optimized to your element type.
H A Dflex_array.c185 * the new element.
224 * flex_array_clear - clear element in array at @element_nr
225 * @fa: the flex array of the element.
257 * @start: index of first array element for which space is allocated
306 * @element_nr: index of the element to fetch from the array
339 * @element_nr: index of the element to fetch from the array
343 * element in question was not set using the _put_ptr() helper.
H A Dlist_debug.c71 * @entry: the element to delete from the list.
H A Dlist_sort.c76 * element comparison is needed, so the client's cmp() merge_and_restore_back_links()
185 pr_err("error: phantom element\n"); check()
269 pr_err("error: element check failed\n"); list_sort_test()
/linux-4.1.27/drivers/acpi/
H A Dutils.c101 union acpi_object *element = &(package->package.elements[i]); acpi_extract_package() local
103 switch (element->type) { acpi_extract_package()
118 printk(KERN_WARNING PREFIX "Invalid package element" acpi_extract_package()
133 (element->string.length * sizeof(char)) + acpi_extract_package()
139 sizeof(u8 *) + element->buffer.length; acpi_extract_package()
143 printk(KERN_WARNING PREFIX "Invalid package element" acpi_extract_package()
158 printk(KERN_WARNING PREFIX "Invalid package element" acpi_extract_package()
170 "Found unsupported element at index=%d\n", acpi_extract_package()
205 union acpi_object *element = &(package->package.elements[i]); acpi_extract_package() local
207 if (!element) { acpi_extract_package()
211 switch (element->type) { acpi_extract_package()
217 element->integer.value; acpi_extract_package()
224 element->integer.value; acpi_extract_package()
243 memcpy(tail, element->string.pointer, acpi_extract_package()
244 element->string.length); acpi_extract_package()
246 tail += element->string.length * sizeof(char); acpi_extract_package()
254 memcpy(tail, element->buffer.pointer, acpi_extract_package()
255 element->buffer.length); acpi_extract_package()
257 tail += element->buffer.length; acpi_extract_package()
268 (void *)element->reference.handle; acpi_extract_package()
295 union acpi_object element; acpi_evaluate_integer() local
302 buffer.pointer = &element; acpi_evaluate_integer()
309 if (element.type != ACPI_TYPE_INTEGER) { acpi_evaluate_integer()
314 *data = element.integer.value; acpi_evaluate_integer()
331 union acpi_object *element = NULL; acpi_evaluate_reference() local
373 element = &(package->package.elements[i]); acpi_evaluate_reference()
375 if (element->type != ACPI_TYPE_LOCAL_REFERENCE) { acpi_evaluate_reference()
381 if (!element->reference.handle) { acpi_evaluate_reference()
388 list->handles[i] = element->reference.handle; acpi_evaluate_reference()
H A Dproperty.c34 * whose every element must be an integer, a string, or a reference. acpi_property_value_ok()
139 * The first element must be a UUID and the second one must be acpi_init_properties()
293 const union acpi_object *element, *end; acpi_dev_get_property_reference() local
331 element = obj->package.elements; acpi_dev_get_property_reference()
332 end = element + obj->package.count; acpi_dev_get_property_reference()
334 while (element < end) { acpi_dev_get_property_reference()
337 if (element->type != ACPI_TYPE_LOCAL_REFERENCE) acpi_dev_get_property_reference()
340 ret = acpi_bus_get_device(element->reference.handle, &device); acpi_dev_get_property_reference()
344 element++; acpi_dev_get_property_reference()
348 for (i = 0; element + i < end; i++) { acpi_dev_get_property_reference()
349 int type = element[i].type; acpi_dev_get_property_reference()
363 args->args[i] = element[i].integer.value; acpi_dev_get_property_reference()
368 element += nargs; acpi_dev_get_property_reference()
H A Dbattery.c408 union acpi_object *element; extract_package() local
414 element = &package->package.elements[i]; extract_package()
417 if (element->type == ACPI_TYPE_STRING || extract_package()
418 element->type == ACPI_TYPE_BUFFER) extract_package()
419 strncpy(ptr, element->string.pointer, 32); extract_package()
420 else if (element->type == ACPI_TYPE_INTEGER) { extract_package()
421 strncpy(ptr, (u8 *)&element->integer.value, extract_package()
428 *x = (element->type == ACPI_TYPE_INTEGER) ? extract_package()
429 element->integer.value : -1; extract_package()
H A Dprocessor_idle.c376 union acpi_object *element; acpi_processor_get_power_info_cst() local
383 element = &(cst->package.elements[i]); acpi_processor_get_power_info_cst()
384 if (element->type != ACPI_TYPE_PACKAGE) acpi_processor_get_power_info_cst()
387 if (element->package.count != 4) acpi_processor_get_power_info_cst()
390 obj = &(element->package.elements[0]); acpi_processor_get_power_info_cst()
402 obj = &(element->package.elements[1]); acpi_processor_get_power_info_cst()
458 obj = &(element->package.elements[2]); acpi_processor_get_power_info_cst()
464 obj = &(element->package.elements[3]); acpi_processor_get_power_info_cst()
/linux-4.1.27/fs/xfs/
H A Dxfs_mru_cache.c24 * supplies an element lifetime in milliseconds and a group count, as well as a
35 * period in time. When the first element is added, time zero for the data
40 * If an element is accessed at any point, it is removed from its list and
44 * have elapsed since the first element was added. The reason for this is that
50 * (t + t/g) seconds, where t is the inactive element lifetime and g is the
62 * introduces a granularity to element lifetimes, so there's no point storing an
63 * individual timeout with each element that specifies a more precise reap time.
64 * The bonus is a saving of sizeof(long) bytes of memory per element stored.
69 * removing an element would involve walking large portions of the entire list,
73 * When an element is touched or deleted, it needs to be removed from its
111 unsigned long time_zero; /* Time first element was added. */
127 * has been advanced sufficiently to be within the immediate element lifetime.
195 * When inserting or doing a lookup, an element needs to be inserted into the
197 * up-to-date, otherwise the new element could be given a shorter lifetime in
225 /* Insert the element at the tail of the corresponding list. */ _xfs_mru_cache_list_insert()
231 * list need to be deleted. For each element this involves removing it from the
233 * function and deleting the element from the element zone.
249 /* Remove the element from the data store. */
424 * To insert an element, call xfs_mru_cache_insert() with the data store, the
425 * element's key and the client data pointer. This function returns 0 on
426 * success or ENOMEM if memory for the data element couldn't be allocated.
457 * To remove an element without calling the free function, call
458 * xfs_mru_cache_remove() with the data store and the element's key. On success
459 * the client data pointer for the removed element is returned, otherwise this
483 * To remove and element and call the free function, call xfs_mru_cache_delete()
484 * with the data store and the element's key.
499 * To look up an element using its key, call xfs_mru_cache_lookup() with the
500 * data store and the element's key. If found, the element will be moved to the
509 * of the returned data structure, the extra per-element memory isn't warranted.
511 * If the element isn't found, this function returns NULL and the spinlock is
/linux-4.1.27/sound/hda/
H A Darray.c10 * snd_array_new - get a new element from the given array
13 * Get a new element from the given array. If it exceeds the
/linux-4.1.27/tools/perf/util/include/linux/
H A Dlist.h10 * @begin: first element in the range to delete from the list.
11 * @end: last element in the range to delete from the list.
/linux-4.1.27/sound/firewire/
H A Dpackets-buffer.h10 * @packets: an array, with each element pointing to one packet
/linux-4.1.27/fs/ntfs/
H A Drunlist.h32 * runlist_element - in memory vcn to lcn mapping array element
33 * @vcn: starting vcn of the current array element
34 * @lcn: starting lcn of the current array element
35 * @length: length in clusters of the current array element
42 typedef struct { /* In memory vcn to lcn mapping structure element. */
H A Drunlist.c195 * ntfs_rl_append - append a runlist after a given element
200 * @loc: append the new runlist @src after this element in @dst
202 * Append the runlist @src after element @loc in @dst. Merge the right end of
267 * @loc: insert the new runlist @src before this element in @dst
269 * Insert the runlist @src before element @loc in the runlist @dst. Merge the
359 * ntfs_rl_replace - overwrite a runlist element with another runlist
366 * Replace the runlist element @dst at @loc with @src. Merge the left and
568 /* Insert start element at the front of the runlist. */ ntfs_runlists_merge()
579 /* Skip any unmapped start element(s) in the source runlist. */ ntfs_runlists_merge()
616 /* Scan to the last element with lcn >= LCN_HOLE. */ ntfs_runlists_merge()
678 * We need to create an unmapped runlist element in ntfs_runlists_merge()
687 /* Add an unmapped runlist element. */ ntfs_runlists_merge()
791 /* Insert unmapped starting element if necessary. */ ntfs_mapping_pairs_decompress()
817 /* Enter the current vcn into the current runlist element. */ ntfs_mapping_pairs_decompress()
848 * element. ntfs_mapping_pairs_decompress()
891 /* Enter the current lcn into the runlist element. */ ntfs_mapping_pairs_decompress()
894 /* Get to the next runlist element. */ ntfs_mapping_pairs_decompress()
912 /* Setup not mapped runlist element if this is the base extent. */ ntfs_mapping_pairs_decompress()
957 /* Setup terminating runlist element. */ ntfs_mapping_pairs_decompress()
1029 * The terminator element is setup to the correct value, i.e. one of ntfs_rl_vcn_to_lcn()
1046 * address of the runlist element containing the @vcn on success.
1147 /* Skip to runlist element containing @first_vcn. */ ntfs_get_size_for_mapping_pairs()
1190 /* Go to next runlist element. */ ntfs_get_size_for_mapping_pairs()
1346 /* Skip to runlist element containing @first_vcn. */ ntfs_mapping_pairs_build()
1406 /* Position at next mapping pairs array element. */ ntfs_mapping_pairs_build()
1408 /* Go to next runlist element. */ ntfs_mapping_pairs_build()
1455 /* Position at next mapping pairs array element. */ ntfs_mapping_pairs_build()
1488 * If @new_length lies beyond the runlist, a sparse runlist element is added to
1489 * the end of the runlist @runlist or if the last runlist element is a sparse
1518 * Create a runlist consisting of a sparse runlist element of ntfs_rl_truncate_nolock()
1519 * length @new_length followed by a terminator runlist element. ntfs_rl_truncate_nolock()
1524 "runlist element buffer."); ntfs_rl_truncate_nolock()
1556 * element a terminator. ntfs_rl_truncate_nolock()
1583 * If there is a previous runlist element and it is a sparse ntfs_rl_truncate_nolock()
1585 * element. ntfs_rl_truncate_nolock()
1602 * Set @rl to the same runlist element in the new ntfs_rl_truncate_nolock()
1606 /* Add a new, sparse runlist element. */ ntfs_rl_truncate_nolock()
1609 /* Add a new terminator runlist element. */ ntfs_rl_truncate_nolock()
1676 /* Check the last element. */ ntfs_rl_punch_nolock()
/linux-4.1.27/drivers/scsi/aic7xxx/
H A Dqueue.h40 * added to the list after an existing element or at the head of the list.
51 * to the list after an existing element, at the head of the list, or at the
60 * so that an arbitrary element can be removed without a need to
62 * or after an existing element or at the head of the list. A list
67 * linked so that an arbitrary element can be removed without a need to
69 * after an existing element, at the head of the list, or at the end of
74 * linked so that an arbitrary element can be removed without a need to
76 * an existing element, at the head of the list, or at the end of the list.
109 struct type *slh_first; /* first element */ \
117 struct type *sle_next; /* next element */ \
170 struct type *stqh_first;/* first element */ \
171 struct type **stqh_last;/* addr of last next element */ \
179 struct type *stqe_next; /* next element */ \
251 struct type *lh_first; /* first element */ \
259 struct type *le_next; /* next element */ \
260 struct type **le_prev; /* address of previous next element */ \
316 struct type *tqh_first; /* first element */ \
317 struct type **tqh_last; /* addr of last next element */ \
325 struct type *tqe_next; /* next element */ \
326 struct type **tqe_prev; /* address of previous next element */ \
407 struct type *cqh_first; /* first element */ \
408 struct type *cqh_last; /* last element */ \
416 struct type *cqe_next; /* next element */ \
417 struct type *cqe_prev; /* previous element */ \
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dcna.h56 * bfa_q_qe_init - to initialize a queue element
64 * bfa_q_deq - dequeue an element from head of the queue
79 * bfa_q_deq_tail - dequeue an element from tail of the queue
94 * bfa_add_tail_head - enqueue an element at the head of queue
/linux-4.1.27/net/ceph/
H A Dmsgpool.c25 static void msgpool_free(void *element, void *arg) msgpool_free() argument
28 struct ceph_msg *msg = element; msgpool_free()
/linux-4.1.27/drivers/mfd/
H A Dsi476x-prop.c27 static bool si476x_core_element_is_in_array(u16 element, si476x_core_element_is_in_array() argument
34 if (element == array[i]) si476x_core_element_is_in_array()
40 static bool si476x_core_element_is_in_range(u16 element, si476x_core_element_is_in_range() argument
47 if (element <= range[i].high && element >= range[i].low) si476x_core_element_is_in_range()
/linux-4.1.27/include/sound/
H A Dcontrol.h199 * @master: vmaster element
200 * @slave: slave element to add
202 * Add a virtual slave control to the given master element created via
224 * @master: vmaster element
225 * @slave: slave element to add
228 * Unlike snd_ctl_add_slave(), the element added via this function
233 * can be changed by other means than the put callback of the element,
/linux-4.1.27/drivers/net/wireless/ath/
H A Ddfs_pri_detector.h47 * struct pri_detector - PRI detector element for a dedicated radar type
51 * @rs: detector specs for this detector element
52 * @last_ts: last pulse time stamp considered for this element in usecs
/linux-4.1.27/drivers/net/wireless/orinoco/
H A Dmain.h35 /* Information element helpers - find a home for these... */
/linux-4.1.27/drivers/infiniband/hw/mlx4/
H A Dsysfs.c505 struct port_table_attribute *element; alloc_group_attrs() local
513 element = kzalloc(sizeof (struct port_table_attribute), alloc_group_attrs()
515 if (!element) alloc_group_attrs()
517 if (snprintf(element->name, sizeof (element->name), alloc_group_attrs()
518 "%d", i) >= sizeof (element->name)) { alloc_group_attrs()
519 kfree(element); alloc_group_attrs()
522 sysfs_attr_init(&element->attr.attr); alloc_group_attrs()
523 element->attr.attr.name = element->name; alloc_group_attrs()
525 element->attr.attr.mode = S_IWUSR | S_IRUGO; alloc_group_attrs()
526 element->attr.store = store; alloc_group_attrs()
528 element->attr.attr.mode = S_IRUGO; alloc_group_attrs()
530 element->attr.show = show; alloc_group_attrs()
531 element->index = i; alloc_group_attrs()
532 tab_attr[i] = &element->attr.attr; alloc_group_attrs()
/linux-4.1.27/arch/powerpc/perf/
H A Dhv-gpci.h17 * O, size each of counter_value element in bytes, only set for version
H A Dhv-24x7.h87 /* WARNING: only valid for first result element due to variable sizes
/linux-4.1.27/arch/avr32/mach-at32ap/
H A Dclock.h21 struct list_head list; /* linking element */
/linux-4.1.27/net/batman-adv/
H A Dhash.h23 /* callback to a compare function. should compare 2 element datas for their
110 * @data_node: to be added element
112 * Returns 0 on success, 1 if the element already is in the hash
144 /* no duplicate found in list, add new element */
/linux-4.1.27/sound/usb/6fire/
H A Dcontrol.h41 struct snd_kcontrol *element[CONTROL_MAX_ELEMENTS]; member in struct:control_runtime
/linux-4.1.27/include/linux/iio/
H A Dmachine.h17 * This is matched against the datasheet_name element
H A Dbuffer.h33 * The purpose of this structure is to make the buffer element
66 * @scan_el_dev_attr_list:[INTERN] list of scan element related attributes.
132 * device the function will store the supplied timestamp as the last element in
/linux-4.1.27/arch/ia64/sn/kernel/
H A Dio_common.c353 struct sysdata_el *element; sn_bus_store_sysdata() local
355 element = kzalloc(sizeof(struct sysdata_el), GFP_KERNEL); sn_bus_store_sysdata()
356 if (!element) { sn_bus_store_sysdata()
360 element->sysdata = SN_PCIDEV_INFO(dev); sn_bus_store_sysdata()
361 list_add(&element->entry, &sn_sysdata_list); sn_bus_store_sysdata()
366 struct sysdata_el *element; sn_bus_free_sysdata() local
370 element = list_entry(list, struct sysdata_el, entry); sn_bus_free_sysdata()
371 list_del(&element->entry); sn_bus_free_sysdata()
373 (element->sysdata))->pdi_list)); sn_bus_free_sysdata()
374 kfree(element->sysdata); sn_bus_free_sysdata()
375 kfree(element); sn_bus_free_sysdata()
/linux-4.1.27/drivers/thermal/int340x_thermal/
H A Dacpi_thermal_rel.c81 struct acpi_buffer element = { 0, NULL }; acpi_parse_trt() local
108 element.length = sizeof(struct trt); acpi_parse_trt()
109 element.pointer = trt; acpi_parse_trt()
112 &trt_format, &element); acpi_parse_trt()
161 struct acpi_buffer element = { 0, NULL }; acpi_parse_art() local
190 element.length = sizeof(struct art); acpi_parse_art()
191 element.pointer = art; acpi_parse_art()
194 &art_format, &element); acpi_parse_art()
/linux-4.1.27/arch/ia64/include/asm/
H A Dmeminit.h27 u64 start; /* virtual address of beginning of element */
28 u64 end; /* virtual address of end of element + 1 */
/linux-4.1.27/drivers/isdn/act2000/
H A Dcapi.h40 __u8 len; /* Length of element */
45 /* CAPI INFO element mask */
52 unsigned wtype:7; /* W-element type */
56 /* CAPI INFO element */
57 typedef union actcapi_infoel { /* info element */
58 __u8 len; /* length of info element */
/linux-4.1.27/drivers/scsi/
H A Dgdth_ioctl.h35 /* scatter/gather element */
41 /* scatter/gather element - 64bit addresses */
58 u32 sg_canz; /* s/g element count */
66 u32 sg_canz; /* s/g element count */
101 u32 sg_ranz; /* s/g element count */
119 u32 sg_ranz; /* s/g element count */
H A Dch.c50 "initialize element status on driver load (default: on)");
135 .errno = EBADSLT, /* Invalid element address */
140 .errno = EBADE, /* Import or export element accessed */
145 .errno = EXFULL, /* Medium destination element full */
150 .errno = EBADE, /* Medium source element empty */
257 DPRINTK("asked for element 0x%02x, got 0x%02x\n", ch_read_element_status()
269 DPRINTK("READ ELEMENT STATUS for element 0x%x failed\n",elem); ch_read_element_status()
342 VPRINTK(KERN_INFO, "reading element address assignment page failed!\n"); ch_readconfig()
345 /* vendor specific element types */ ch_readconfig()
552 VPRINTK(KERN_INFO, "element 0x%x: asc=0x%x, ascq=0x%x\n", ch_gstatus()
/linux-4.1.27/drivers/staging/ozwpan/
H A Dozprotocol.h22 /* This is the generic element header.
23 Every element starts with this.
33 /* Protocol element IDs.
148 * the element header in a USB application.
158 /* USB requests element subtypes (type field of hs_usb_hdr).
355 /* Note: the following does not get packaged in an element in the same way
H A Dozusbsvc1.c308 * the element is sent. */ oz_usb_send_isoc()
366 * This is called when the PD has received a USB element. The type of element
389 /* Reject duplicate element. */ oz_usb_rx()
H A Dozeltbuf.c162 * Caller deallocates element info. */ oz_queue_elt_info()
167 /* If this is an ISOC fixed element that needs a frame number oz_queue_elt_info()
/linux-4.1.27/net/irda/
H A Dirqueue.c233 static void enqueue_first(irda_queue_t **queue, irda_queue_t* element) enqueue_first() argument
241 * Queue is empty. Insert one element into the queue. enqueue_first()
243 element->q_next = element->q_prev = *queue = element; enqueue_first()
247 * Queue is not empty. Insert element into front of queue. enqueue_first()
249 element->q_next = (*queue); enqueue_first()
250 (*queue)->q_prev->q_next = element; enqueue_first()
251 element->q_prev = (*queue)->q_prev; enqueue_first()
252 (*queue)->q_prev = element; enqueue_first()
253 (*queue) = element; enqueue_first()
281 * Queue only contained a single element. It will now be dequeue_first()
287 * Queue contained several element. Remove the first one. dequeue_first()
301 * Function dequeue_general (queue, element)
305 static irda_queue_t *dequeue_general(irda_queue_t **queue, irda_queue_t* element) dequeue_general() argument
322 * Queue only contained a single element. It will now be dequeue_general()
329 * Remove specific element. dequeue_general()
331 element->q_prev->q_next = element->q_next; dequeue_general()
332 element->q_next->q_prev = element->q_prev; dequeue_general()
333 if ( (*queue) == element) dequeue_general()
334 (*queue) = element->q_next; dequeue_general()
828 * Get a pointer to first element in hashbin, this function must be
/linux-4.1.27/drivers/s390/net/
H A Dqeth_core_main.c1254 if (buf->buffer->element[0].sflags & SBAL_SFLAGS0_PCI_REQ) qeth_clear_output_buffer()
1261 if (buf->buffer->element[i].addr && buf->is_header[i]) qeth_clear_output_buffer()
1263 buf->buffer->element[i].addr); qeth_clear_output_buffer()
1265 buf->buffer->element[i].length = 0; qeth_clear_output_buffer()
1266 buf->buffer->element[i].addr = NULL; qeth_clear_output_buffer()
1267 buf->buffer->element[i].eflags = 0; qeth_clear_output_buffer()
1268 buf->buffer->element[i].sflags = 0; qeth_clear_output_buffer()
1270 buf->buffer->element[15].eflags = 0; qeth_clear_output_buffer()
1271 buf->buffer->element[15].sflags = 0; qeth_clear_output_buffer()
2850 buf->buffer->element[i].length = PAGE_SIZE; qeth_init_input_buffer()
2851 buf->buffer->element[i].addr = pool_entry->elements[i]; qeth_init_input_buffer()
2853 buf->buffer->element[i].eflags = SBAL_EFLAGS_LAST_ENTRY; qeth_init_input_buffer()
2855 buf->buffer->element[i].eflags = 0; qeth_init_input_buffer()
2856 buf->buffer->element[i].sflags = 0; qeth_init_input_buffer()
3286 buf->element[15].sflags); qeth_check_qdio_errors()
3288 buf->element[14].sflags); qeth_check_qdio_errors()
3290 if ((buf->element[15].sflags) == 0x12) { qeth_check_qdio_errors()
3388 int sbalf15 = buffer->buffer->element[15].sflags; qeth_handle_send_error()
3499 buf->buffer->element[buf->next_element_to_fill - 1].eflags |= qeth_flush_buffers()
3516 buf->buffer->element[0].sflags |= SBAL_SFLAGS0_PCI_REQ; qeth_flush_buffers()
3529 buf->buffer->element[0].sflags |= SBAL_SFLAGS0_PCI_REQ; qeth_flush_buffers()
3681 while (buffer->element[e].addr) { qeth_qdio_cq_handler()
3684 phys_aob_addr = (unsigned long) buffer->element[e].addr; qeth_qdio_cq_handler()
3686 buffer->element[e].addr = NULL; qeth_qdio_cq_handler()
3687 buffer->element[e].eflags = 0; qeth_qdio_cq_handler()
3688 buffer->element[e].sflags = 0; qeth_qdio_cq_handler()
3689 buffer->element[e].length = 0; qeth_qdio_cq_handler()
3694 buffer->element[15].eflags = 0; qeth_qdio_cq_handler()
3695 buffer->element[15].sflags = 0; qeth_qdio_cq_handler()
3789 buffer->buffer->element[15].sflags, 0); qeth_qdio_output_handler()
3928 int element; __qeth_fill_buffer() local
3933 element = *next_element_to_fill; __qeth_fill_buffer()
3949 buffer->element[element].addr = data; __qeth_fill_buffer()
3950 buffer->element[element].length = length_here; __qeth_fill_buffer()
3955 buffer->element[element].eflags = __qeth_fill_buffer()
3958 buffer->element[element].eflags = 0; __qeth_fill_buffer()
3960 buffer->element[element].eflags = __qeth_fill_buffer()
3964 buffer->element[element].eflags = __qeth_fill_buffer()
3967 buffer->element[element].eflags = __qeth_fill_buffer()
3971 element++; __qeth_fill_buffer()
3986 buffer->element[element].addr = data; __qeth_fill_buffer()
3987 buffer->element[element].length = length_here; __qeth_fill_buffer()
3988 buffer->element[element].eflags = __qeth_fill_buffer()
3992 element++; __qeth_fill_buffer()
3996 if (buffer->element[element - 1].eflags) __qeth_fill_buffer()
3997 buffer->element[element - 1].eflags = SBAL_EFLAGS_LAST_FRAG; __qeth_fill_buffer()
3998 *next_element_to_fill = element; __qeth_fill_buffer()
4014 int element = buf->next_element_to_fill; qeth_fill_buffer() local
4019 buffer->element[element].addr = skb->data; qeth_fill_buffer()
4020 buffer->element[element].length = hdr_len; qeth_fill_buffer()
4021 buffer->element[element].eflags = SBAL_EFLAGS_FIRST_FRAG; qeth_fill_buffer()
4029 int element = buf->next_element_to_fill; qeth_fill_buffer() local
4030 buffer->element[element].addr = hdr; qeth_fill_buffer()
4031 buffer->element[element].length = sizeof(struct qeth_hdr) + qeth_fill_buffer()
4033 buffer->element[element].eflags = SBAL_EFLAGS_FIRST_FRAG; qeth_fill_buffer()
4034 buf->is_header[element] = 1; qeth_fill_buffer()
5165 struct qdio_buffer_element *element, qeth_create_skb_frag()
5168 struct page *page = virt_to_page(element->addr); qeth_create_skb_frag()
5182 memcpy(skb_put(*pskb, data_len), element->addr + offset, qeth_create_skb_frag()
5187 element->addr + offset, QETH_RX_PULL_LEN); qeth_create_skb_frag()
5219 struct qdio_buffer_element *element = *__element; qeth_core_get_next_skb() local
5230 /* qeth_hdr must not cross element boundaries */ qeth_core_get_next_skb()
5231 if (element->length < offset + sizeof(struct qeth_hdr)) { qeth_core_get_next_skb()
5232 if (qeth_is_last_sbale(element)) qeth_core_get_next_skb()
5234 element++; qeth_core_get_next_skb()
5236 if (element->length < sizeof(struct qeth_hdr)) qeth_core_get_next_skb()
5239 *hdr = element->addr + offset; qeth_core_get_next_skb()
5274 data_ptr = element->addr + offset; qeth_core_get_next_skb()
5276 data_len = min(skb_len, (int)(element->length - offset)); qeth_core_get_next_skb()
5279 if (qeth_create_skb_frag(qethbuffer, element, qeth_core_get_next_skb()
5289 if (qeth_is_last_sbale(element)) { qeth_core_get_next_skb()
5296 element++; qeth_core_get_next_skb()
5298 data_ptr = element->addr; qeth_core_get_next_skb()
5303 *__element = element; qeth_core_get_next_skb()
5164 qeth_create_skb_frag(struct qeth_qdio_buffer *qethbuffer, struct qdio_buffer_element *element, struct sk_buff **pskb, int offset, int *pfrag, int data_len) qeth_create_skb_frag() argument
H A Dctcm_fsms.h109 * MUST be always the last element!!
141 CTC_NR_STATES, /* MUST be the last element of non-expanded states */
152 CTC_MPC_NR_STATES, /* MUST be the last element of expanded mpc states */
208 * MUST be always the last element!!
228 * MUST be always the last element!!
H A Dsmsgiucv_app.c49 /* list element for queuing received messages for delivery */
136 /* allocate event list element and its environment */ smsg_app_callback()
H A Dctcm_dbug.h51 CTCM_DBF_INFOS /* must be last element */
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dbitfield.h112 * Extract bit field portion [low,high) from the native-endian element
115 * For example, suppose "element" represents the high 32 bits of a
119 * Then EFX_EXTRACT ( element, 32, 63, 28, 45 ) would give
121 * ( element ) << 4
134 * element which contains bits [min,max)
136 #define EFX_EXTRACT64(element, min, max, low, high) \
137 EFX_EXTRACT_NATIVE(le64_to_cpu(element), min, max, low, high)
141 * element which contains bits [min,max)
143 #define EFX_EXTRACT32(element, min, max, low, high) \
144 EFX_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high)
/linux-4.1.27/sound/core/
H A Dvmaster.c45 * link slave - this contains a slave control element
104 pr_err("ALSA: vmaster: invalid slave element\n"); slave_init()
377 * @name: name string of the control element to create
382 * After creating a vmaster element, you can add the slave controls
386 * for dB scale of the master control. It should be a single element
390 * Return: The created control element, or %NULL for errors (ENOMEM).
436 * @kcontrol: vmaster kctl element
440 * Adds the given hook to the vmaster control element so that it's called
458 * @kcontrol: vmaster kctl element
462 * to synchronize with the current value of the given vmaster element.
/linux-4.1.27/drivers/infiniband/core/
H A Dsysfs.c483 struct port_table_attribute *element; alloc_group_attrs() local
491 element = kzalloc(sizeof(struct port_table_attribute), alloc_group_attrs()
493 if (!element) alloc_group_attrs()
496 if (snprintf(element->name, sizeof(element->name), alloc_group_attrs()
497 "%d", i) >= sizeof(element->name)) { alloc_group_attrs()
498 kfree(element); alloc_group_attrs()
502 element->attr.attr.name = element->name; alloc_group_attrs()
503 element->attr.attr.mode = S_IRUGO; alloc_group_attrs()
504 element->attr.show = show; alloc_group_attrs()
505 element->index = i; alloc_group_attrs()
506 sysfs_attr_init(&element->attr.attr); alloc_group_attrs()
508 tab_attr[i] = &element->attr.attr; alloc_group_attrs()
H A Duverbs_main.c474 __u64 element, __u64 event, ib_uverbs_async_handler()
493 entry->desc.async.element = element; ib_uverbs_async_handler()
509 struct ib_ucq_object *uobj = container_of(event->element.cq->uobject, ib_uverbs_cq_event_handler()
522 if (!event->element.qp->uobject || !event->element.qp->uobject->live) ib_uverbs_qp_event_handler()
525 uobj = container_of(event->element.qp->uobject, ib_uverbs_qp_event_handler()
537 uobj = container_of(event->element.srq->uobject, ib_uverbs_srq_event_handler()
551 ib_uverbs_async_handler(file, event->element.port_num, event->event, ib_uverbs_event_handler()
473 ib_uverbs_async_handler(struct ib_uverbs_file *file, __u64 element, __u64 event, struct list_head *obj_list, u32 *counter) ib_uverbs_async_handler() argument
/linux-4.1.27/arch/s390/include/asm/
H A Dqdio.h118 * struct slibe - storage list information block element (SLIBE)
135 * @sba: storage block element addresses
219 * @element: SBAL entries
222 struct qdio_buffer_element element[QDIO_MAX_ELEMENTS_PER_BUFFER]; member in struct:qdio_buffer
235 * @element: SL entries
238 struct sl_element element[QDIO_MAX_BUFFERS_PER_Q]; member in struct:sl
311 first element processed, number of elements processed, int_parm */
/linux-4.1.27/drivers/usb/host/
H A Duhci-debug.c169 __hc32 element = qh_element(qh); uhci_show_qh() local
180 out += sprintf(out, "%*s[%p] %s QH link (%08x) element (%08x)\n", uhci_show_qh()
183 hc32_to_cpu(uhci, element)); uhci_show_qh()
195 if (element & UHCI_PTR_QH(uhci)) uhci_show_qh()
198 if (element & UHCI_PTR_DEPTH(uhci)) uhci_show_qh()
201 if (element & cpu_to_hc32(uhci, 8)) uhci_show_qh()
204 if (!(element & ~(UHCI_PTR_QH(uhci) | UHCI_PTR_DEPTH(uhci)))) uhci_show_qh()
224 if (element != LINK_TO_TD(uhci, td)) uhci_show_qh()
495 " skel_term_qh element is not set to term_td!\n"); uhci_sprint_schedule()
H A Duhci-hcd.h123 * with each endpoint, and qh->element (updated by the HC) is either:
129 * place. Then qh->element is UHCI_PTR_TERM.
150 __hc32 element; /* Queue element (TD) pointer */ member in struct:uhci_qh
184 * We need a special accessor for the element pointer because it is
187 #define qh_element(qh) ACCESS_ONCE((qh)->element)
/linux-4.1.27/include/net/nfc/
H A Dnfc.h124 * @idx: The secure element index. User space will enable or
125 * disable a secure element by its index.
126 * @type: The secure element type. It can be SE_UICC or
128 * @state: The secure element state, either enabled or disabled.
139 * nfc_evt_transaction - A struct for NFC secure element event transaction.
/linux-4.1.27/samples/bpf/
H A Dtest_maps.c34 /* insert key=1 element */ test_hashmap_sanity()
38 /* BPF_NOEXIST means: add new element if it doesn't exist */ test_hashmap_sanity()
52 /* BPF_EXIST means: update existing element */ test_hashmap_sanity()
57 /* insert key=2 element */ test_hashmap_sanity()
105 /* insert key=1 element */ test_arraymap_sanity()
/linux-4.1.27/drivers/isdn/hisax/
H A Dq931.c14 * Beat Doebeli cause texts, display information element
15 * Karsten Keil cause texts, display information element for 1TR6
407 0x60, "Mandatory information element is missing", ""
416 0x63, "Information element/parameter non-existent or not implemented", ""
419 0x64, "Invalid information element contents", ""
726 /* Iterate over all octets in the information element */ general()
753 /* Iterate over all octets in the information element */ general_ni1()
782 /* Iterate over all octets in the * information element */ prcharge()
797 /* Iterate over all octets in the * information element */ prtext()
918 /* Iterate over all octets in the * display-information element */ display()
1289 /* display each information element */ dlogframe()
1291 /* Is it a single octet information element? */ dlogframe()
1345 /* Skip to next element */ dlogframe()
1376 /* display each information element */ dlogframe()
1378 /* Is it a single octet information element? */ dlogframe()
1431 /* Skip to next element */ dlogframe()
1462 /* display each information element */ dlogframe()
1464 /* Is it a single octet information element? */ dlogframe()
1505 /* Skip to next element */ dlogframe()
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_sas_fp.c355 u32 element; getSpanInfo() local
374 for (element = 0; element < MAX_QUAD_DEPTH; element++) { getSpanInfo()
375 span_set = &(ldSpanInfo[ld].span_set[element]); getSpanInfo()
380 "width=%x, diff=%x\n", element, getSpanInfo()
403 element + 1) { getSpanInfo()
406 quad[element]; getSpanInfo()
409 element, le32_to_cpu(quad->diff)); getSpanInfo()
1154 u32 element, span_row_width; mr_update_span_set() local
1168 for (element = 0; element < MAX_QUAD_DEPTH; element++) { mr_update_span_set()
1172 element + 1) mr_update_span_set()
1174 span_set = &(ldSpanInfo[ld].span_set[element]); mr_update_span_set()
1177 quad[element]; mr_update_span_set()
1186 noElements) >= element + 1) { mr_update_span_set()
1204 if (element == 0) { mr_update_span_set()
1222 span_set[element - 1]); mr_update_span_set()
/linux-4.1.27/drivers/isdn/hardware/eicon/
H A Dman_defs.h28 /* Management information element */
33 /* 1 | 0 x x x x x x x | Length of information element (m-1) */
102 /* Data Format used for MAN_TRACE_IND (no MI-element used) */
H A Dmdm_msg.h139 Fields in assign DLC information element for modem protocol V.42/MNP:
140 <byte> length of information element
178 Fields in assign CAI information element:
179 <byte> length of information element
H A Dpc.h287 #define KEY 0x2c /* keypad information element */
288 #define UID 0x2d /* User id information element */
301 #define MIE 0x7a /* management info element */
318 #define MSGTYPEIE 0x7a /* Messagetype info element */
319 #define CRIE 0x7b /* INFO info element */
321 #define VSWITCHIE 0xed /* VSwitch info element */
322 #define SSEXTIE 0xee /* Supplem. Service info element */
323 #define PROFILEIE 0xef /* Profile info element */
/linux-4.1.27/drivers/scsi/esas2r/
H A Desas2r_int.c342 struct list_head *element, *next; esas2r_do_deferred_processes() local
346 list_for_each_safe(element, next, &a->defer_list) { esas2r_do_deferred_processes()
347 rq = list_entry(element, struct esas2r_request, esas2r_do_deferred_processes()
351 list_del(element); esas2r_do_deferred_processes()
361 list_del(element); esas2r_do_deferred_processes()
364 list_del(element); esas2r_do_deferred_processes()
395 struct list_head *element; esas2r_process_adapter_reset() local
432 list_for_each(element, &a->defer_list) { esas2r_process_adapter_reset()
433 rq = list_entry(element, struct esas2r_request, req_list); esas2r_process_adapter_reset()
449 struct list_head *element; esas2r_process_bus_reset() local
461 list_for_each(element, &a->defer_list) { esas2r_process_bus_reset()
462 rq = list_entry(element, struct esas2r_request, req_list); esas2r_process_bus_reset()
H A Desas2r_io.c140 struct esas2r_inbound_list_source_entry *element; esas2r_start_vda_request() local
158 element = esas2r_start_vda_request()
167 element->address = cpu_to_le64(rq->vrq_md->phys_addr); esas2r_start_vda_request()
168 element->length = cpu_to_le32(rq->vda_req_sz); esas2r_start_vda_request()
490 /* Used another element. Point to the next one */ esas2r_build_prd_iblk()
771 struct list_head *next, *element; esas2r_send_task_mgmt() local
782 list_for_each_safe(element, next, &a->defer_list) { esas2r_send_task_mgmt()
783 rq = list_entry(element, struct esas2r_request, req_list); esas2r_send_task_mgmt()
815 list_for_each_safe(element, next, &a->active_list) { esas2r_send_task_mgmt()
816 rq = list_entry(element, struct esas2r_request, esas2r_send_task_mgmt()
/linux-4.1.27/drivers/s390/cio/
H A Ddevice.h33 /* last element! */
45 /* last element! */
/linux-4.1.27/lib/reed_solomon/
H A Dreed_solomon.c60 * @prim: primitive element to generate polynomial roots
191 * @gffunc: pointer to function to generate the next field element,
192 * or the multiplicative identity element if given 0. Used
196 * @prim: primitive element to generate polynomial roots
257 * @prim: primitive element to generate polynomial roots
271 * @gffunc: pointer to function to generate the next field element,
272 * or the multiplicative identity element if given 0. Used
276 * @prim: primitive element to generate polynomial roots
/linux-4.1.27/samples/kfifo/
H A Dinttype-example.c76 /* skip first element of the fifo */ testfunc()
77 printk(KERN_INFO "skip 1st element\n"); testfunc()
H A Dbytestream-example.c83 /* skip first element of the fifo */ testfunc()
84 printk(KERN_INFO "skip 1st element\n"); testfunc()
H A Drecord-example.c91 /* skip first element of the fifo */ testfunc()
92 printk(KERN_INFO "skip 1st element\n"); testfunc()
/linux-4.1.27/scripts/gdb/linux/
H A Dutils.py46 element = gdb.Value(0).cast(typeobj)
47 return int(str(element[field].address).split()[0], 16)
/linux-4.1.27/sound/soc/
H A Dsoc-ops.c38 * @uinfo: control element information
58 * @ucontrol: control element information
92 * @ucontrol: control element information
179 * @uinfo: control element information
212 * @uinfo: control element information
240 * @ucontrol: control element information
300 * @ucontrol: control element information
362 * @ucontrol: control element information
407 * @uinfo: control element information
453 * @uinfo: control element information
484 * @ucontrol: control element information
536 * @ucontrol: control element information
796 * @uinfo: control element information
821 * @ucontrol: control element information
870 * @ucontrol: control element information
916 * @ucontrol: control element information
952 * @ucontrol: control element information
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_diag.h43 u32 stride; /* bytes between each element */
/linux-4.1.27/drivers/media/pci/zoran/
H A Dvideocodec.c139 "videocodec: first element\n"); videocodec_attach()
256 dprintk(4, "videocodec: hooked in as first element\n"); videocodec_register()
303 "videocodec: delete first element\n"); videocodec_unregister()
307 "videocodec: delete middle element\n"); videocodec_unregister()
/linux-4.1.27/drivers/s390/scsi/
H A Dzfcp_qdio.h80 return &qdio->req_q[q_req->sbal_last]->element[0]; zfcp_qdio_sbale_req()
92 return &qdio->req_q[q_req->sbal_last]->element[q_req->sbale_curr]; zfcp_qdio_sbale_curr()
223 sbale = qdio->req_q[q_req->sbal_first]->element; zfcp_qdio_set_data_div()
267 sbale = qdio->req_q[q_req->sbal_first]->element; zfcp_qdio_set_scount()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
H A Ddot11d.h24 u16 CountryIeLen; /* > 0 if CountryIeBuf[] contains valid country information element. */
H A Drtl819x_HT.h5 // The HT Capability element is present in beacons, association request,
183 // The HT Information element is present in beacons
184 // Only AP is required to include this element
262 HT_CAPABILITY_ELE SelfHTCap; // This is HT cap element sent to peer STA, which also indicate HT Rx capabilities.
263 HT_INFORMATION_ELE SelfHTInfo; // This is HT info element sent to peer STA, which also indicate HT Rx capabilities.
H A Drtl819x_Qos.h274 // QoS element subtype
277 QOSELE_TYPE_INFO = 0x00, // 0x00: Information element
278 QOSELE_TYPE_PARAM = 0x01, // 0x01: parameter element
506 //2 ToDo: remove the Qos Info Field and replace it by the above WMM Info element.
/linux-4.1.27/drivers/infiniband/ulp/srp/
H A Dib_srp.h269 * @desc: Pointer to the element of the SRP buffer descriptor array
280 * @unmapped_sg: First element of the sg-list that is mapped via FMR or FR.
281 * @unmapped_index: Index of the first element mapped via FMR or FR.
282 * @unmapped_addr: DMA address of the first element mapped via FMR or FR.
/linux-4.1.27/arch/x86/include/uapi/asm/
H A Dsigcontext32.h22 __u32 element[4]; member in struct:_xmmreg
/linux-4.1.27/arch/sparc/include/asm/
H A Dfbio.h49 int index; /* first element (0 origin) */
/linux-4.1.27/arch/tile/kernel/
H A Drelocate_kernel_32.S61 * Throughout this code r30 is pointer to the element of page
64 * Normally we get to the next element of the page list by
65 * incrementing r30 by four. The exception is if the element
67 * the element with the low bits masked off as the new value
H A Drelocate_kernel_64.S62 * Throughout this code r30 is pointer to the element of page
65 * Normally we get to the next element of the page list by
66 * incrementing r30 by eight. The exception is if the element
68 * the element with the low bits masked off as the new value
/linux-4.1.27/drivers/uwb/
H A Die-rcv.c44 dev_dbg(dev, "IE received, element ID=%d\n", iercv->IEData[0]); uwbd_evt_handle_rc_ie_rcv()
/linux-4.1.27/include/net/netfilter/
H A Dnf_tables.h158 * @key: element key
159 * @priv: element private data and extensions
224 * @lookup: look up an element within the set
225 * @insert: insert new element into set
226 * @activate: activate new element in the next generation
227 * @deactivate: deactivate element in the next generation
228 * @remove: remove element from set
235 * @elemsize: element private size
368 * @NFT_SET_EXT_KEY: element key
370 * @NFT_SET_EXT_FLAGS: element flags
371 * @NFT_SET_EXT_TIMEOUT: element timeout
372 * @NFT_SET_EXT_EXPIRATION: element expiration time
373 * @NFT_SET_EXT_USERDATA: user data associated with the element
374 * @NFT_SET_EXT_EXPR: expression assiociated with the element
915 * Set element transaction helpers
931 * We use a free bit in the genmask field to indicate the element
/linux-4.1.27/include/uapi/scsi/
H A Dscsi_netlink_fc.h59 struct scsi_nl_hdr snlh; /* must be 1st element ! */
H A Dscsi_bsg_fc.h65 * element [0] is bits 23:16 of the FC Address Identifier
66 * element [1] is bits 15:8 of the FC Address Identifier
67 * element [2] is bits 7:0 of the FC Address Identifier
H A Dscsi_netlink.h91 struct scsi_nl_hdr snlh; /* must be 1st element ! */
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dhvcserver.c78 struct list_head *element; hvcs_free_partner_info() local
84 element = head->next; hvcs_free_partner_info()
85 pi = list_entry(element, struct hvcs_partner_info, node); hvcs_free_partner_info()
86 list_del(element); hvcs_free_partner_info()
H A Dpseries_energy.c55 * The first element indexes[0] is the number of drc_indexes cpu_to_drc_index()
85 * First element in the array is the number of drc_indexes drc_index_to_cpu()
/linux-4.1.27/fs/btrfs/
H A Dulist.c158 * ulist_add - add an element to the ulist
159 * @ulist: ulist to add the element to
167 * Add an element to a ulist. The @val will only be added if it doesn't
221 * It returns the next element from the ulist or %NULL when the
H A Dulist.h29 * element of the list
/linux-4.1.27/sound/soc/codecs/
H A Dwm_hubs.h26 /* This *must* be the first element of the codec->private_data struct */
/linux-4.1.27/include/uapi/linux/netfilter/
H A Dnf_tables.h81 * @NFT_MSG_NEWSETELEM: create a new set element (enum nft_set_elem_attributes)
82 * @NFT_MSG_GETSETELEM: get a set element (enum nft_set_elem_attributes)
83 * @NFT_MSG_DELSETELEM: delete a set element (enum nft_set_elem_attributes)
111 * @NFTA_LIST_ELEM: list element (NLA_NESTED)
264 * enum nft_set_desc_attributes - set element description
310 * enum nft_set_elem_flags - nf_tables set element flags
312 * @NFT_SET_ELEM_INTERVAL_END: element ends the previous interval
319 * enum nft_set_elem_attributes - nf_tables set element netlink attributes
343 * enum nft_set_elem_list_attributes - nf_tables set element list netlink attributes
569 * @NFTA_DYNSET_TIMEOUT: timeout value for the new element (NLA_U64)
/linux-4.1.27/kernel/bpf/
H A Dhashtab.c23 u32 elem_size; /* size of each element in bytes */
26 /* each htab element is struct htab_elem + key + value */
189 /* pick first element in the bucket */ htab_map_get_next_key()
220 /* allocate new element outside of lock */ htab_map_update_elem()
259 /* add new element to the head of the list, so that concurrent htab_map_update_elem()
H A Dhelpers.c40 /* lookup() returns either pointer to element value or NULL bpf_map_lookup_elem()
/linux-4.1.27/drivers/staging/rtl8188eu/core/
H A Drtw_ieee80211.c76 72, 96, 108, 0}; /* last element must be zero!! */ rtw_get_bit_value_from_ieee_value()
215 index: the information element id index, limit is the limit for search
866 /* first 3 bytes in vendor specific information element are the IEEE rtw_ieee802_11_parse_vendor_specific()
871 DBG_88E("short vendor specific information element ignored (len=%lu)\n", rtw_ieee802_11_parse_vendor_specific()
885 * real WPA information element */ rtw_ieee802_11_parse_vendor_specific()
889 case WME_OUI_TYPE: /* this is a Wi-Fi WME info. element */ rtw_ieee802_11_parse_vendor_specific()
891 DBG_88E("short WME information element ignored (len=%lu)\n", rtw_ieee802_11_parse_vendor_specific()
906 DBG_88E("unknown WME information element ignored (subtype=%d len=%lu)\n", rtw_ieee802_11_parse_vendor_specific()
917 DBG_88E("Unknown Microsoft information element ignored (type=%d len=%lu)\n", rtw_ieee802_11_parse_vendor_specific()
930 DBG_88E("Unknown Broadcom information element ignored (type=%d len=%lu)\n", rtw_ieee802_11_parse_vendor_specific()
936 DBG_88E("unknown vendor specific information element ignored (vendor OUI %02x:%02x:%02x len=%lu)\n", rtw_ieee802_11_parse_vendor_specific()
970 DBG_88E("IEEE 802.11 element parse failed (id=%d elen=%d left=%lu)\n", rtw_ieee802_11_parse_elems()
1057 DBG_88E("IEEE 802.11 element parse ignored unknown element (id=%d elen=%d)\n", rtw_ieee802_11_parse_elems()
/linux-4.1.27/drivers/infiniband/hw/usnic/
H A Dusnic_ib_main.c148 ib_event.element.port_num = 1; usnic_ib_handle_usdev_event()
160 ib_event.element.port_num = 1; usnic_ib_handle_usdev_event()
169 ib_event.element.port_num = 1; usnic_ib_handle_usdev_event()
191 ib_event.element.port_num = 1; usnic_ib_handle_usdev_event()
257 ib_event.element.port_num = 1; usnic_ib_handle_inet_event()
267 ib_event.element.port_num = 1; usnic_ib_handle_inet_event()
/linux-4.1.27/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c1801 * @params: three element array to place output:
3260 Mpi2EventIrConfigElement_t *element; _scsih_check_ir_config_unhide_events() local
3269 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; _scsih_check_ir_config_unhide_events()
3270 for (i = 0; i < event_data->NumElements; i++, element++) { _scsih_check_ir_config_unhide_events()
3274 if (element->ReasonCode == _scsih_check_ir_config_unhide_events()
3276 element->ReasonCode == _scsih_check_ir_config_unhide_events()
3278 volume_handle = le16_to_cpu(element->VolDevHandle); _scsih_check_ir_config_unhide_events()
3285 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; _scsih_check_ir_config_unhide_events()
3286 for (i = 0; i < event_data->NumElements; i++, element++) { _scsih_check_ir_config_unhide_events()
3290 if (element->ReasonCode == MPI2_EVENT_IR_CHANGE_RC_UNHIDE) { _scsih_check_ir_config_unhide_events()
3291 volume_handle = le16_to_cpu(element->VolDevHandle); _scsih_check_ir_config_unhide_events()
3302 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; _scsih_check_ir_config_unhide_events()
3303 for (i = 0; i < event_data->NumElements; i++, element++) { _scsih_check_ir_config_unhide_events()
3304 if (element->ReasonCode != MPI2_EVENT_IR_CHANGE_RC_UNHIDE) _scsih_check_ir_config_unhide_events()
3306 handle = le16_to_cpu(element->PhysDiskDevHandle); _scsih_check_ir_config_unhide_events()
3307 volume_handle = le16_to_cpu(element->VolDevHandle); _scsih_check_ir_config_unhide_events()
5687 * @element: IR config element data
5694 Mpi2EventIrConfigElement_t *element) _scsih_sas_volume_add()
5699 u16 handle = le16_to_cpu(element->VolDevHandle); _scsih_sas_volume_add()
5780 * @element: IR config element data
5787 Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_expose()
5793 u16 handle = le16_to_cpu(element->PhysDiskDevHandle); _scsih_sas_pd_expose()
5820 * @element: IR config element data
5827 Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_hide()
5833 u16 handle = le16_to_cpu(element->PhysDiskDevHandle); _scsih_sas_pd_hide()
5860 _scsih_ir_fastpath(ioc, handle, element->PhysDiskNum); _scsih_sas_pd_hide()
5868 * @element: IR config element data
5875 Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_delete()
5877 u16 handle = le16_to_cpu(element->PhysDiskDevHandle); _scsih_sas_pd_delete()
5885 * @element: IR config element data
5892 Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_add()
5896 u16 handle = le16_to_cpu(element->PhysDiskDevHandle); _scsih_sas_pd_add()
5909 _scsih_ir_fastpath(ioc, handle, element->PhysDiskNum); _scsih_sas_pd_add()
5933 _scsih_ir_fastpath(ioc, handle, element->PhysDiskNum); _scsih_sas_pd_add()
5950 Mpi2EventIrConfigElement_t *element; _scsih_sas_ir_config_change_event_debug() local
5955 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; _scsih_sas_ir_config_change_event_debug()
5961 for (i = 0; i < event_data->NumElements; i++, element++) { _scsih_sas_ir_config_change_event_debug()
5962 switch (element->ReasonCode) { _scsih_sas_ir_config_change_event_debug()
5994 element_type = le16_to_cpu(element->ElementFlags) & _scsih_sas_ir_config_change_event_debug()
6007 element_str = "unknown element"; _scsih_sas_ir_config_change_event_debug()
6012 reason_str, le16_to_cpu(element->VolDevHandle), _scsih_sas_ir_config_change_event_debug()
6013 le16_to_cpu(element->PhysDiskDevHandle), _scsih_sas_ir_config_change_event_debug()
6014 element->PhysDiskNum); _scsih_sas_ir_config_change_event_debug()
6031 Mpi2EventIrConfigElement_t *element; _scsih_sas_ir_config_change_event() local
6047 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; _scsih_sas_ir_config_change_event()
6050 for (i = 0; i < event_data->NumElements; i++, element++) { _scsih_sas_ir_config_change_event()
6051 if (element->ReasonCode == MPI2_EVENT_IR_CHANGE_RC_HIDE) _scsih_sas_ir_config_change_event()
6053 le16_to_cpu(element->PhysDiskDevHandle), _scsih_sas_ir_config_change_event()
6054 element->PhysDiskNum); _scsih_sas_ir_config_change_event()
6058 for (i = 0; i < event_data->NumElements; i++, element++) { _scsih_sas_ir_config_change_event()
6060 switch (element->ReasonCode) { _scsih_sas_ir_config_change_event()
6064 _scsih_sas_volume_add(ioc, element); _scsih_sas_ir_config_change_event()
6070 le16_to_cpu(element->VolDevHandle)); _scsih_sas_ir_config_change_event()
6073 _scsih_sas_pd_hide(ioc, element); _scsih_sas_ir_config_change_event()
6076 _scsih_sas_pd_expose(ioc, element); _scsih_sas_ir_config_change_event()
6079 _scsih_sas_pd_add(ioc, element); _scsih_sas_ir_config_change_event()
6082 _scsih_sas_pd_delete(ioc, element); _scsih_sas_ir_config_change_event()
6768 Mpi2EventIrConfigElement_t element; _scsih_scan_for_devices_after_reset() local
6930 memset(&element, 0, sizeof(Mpi2EventIrConfigElement_t)); _scsih_scan_for_devices_after_reset()
6931 element.ReasonCode = MPI2_EVENT_IR_CHANGE_RC_ADDED; _scsih_scan_for_devices_after_reset()
6932 element.VolDevHandle = volume_pg1.DevHandle; _scsih_scan_for_devices_after_reset()
6936 _scsih_sas_volume_add(ioc, &element); _scsih_scan_for_devices_after_reset()
5693 _scsih_sas_volume_add(struct MPT3SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) _scsih_sas_volume_add() argument
5786 _scsih_sas_pd_expose(struct MPT3SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_expose() argument
5826 _scsih_sas_pd_hide(struct MPT3SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_hide() argument
5874 _scsih_sas_pd_delete(struct MPT3SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_delete() argument
5891 _scsih_sas_pd_add(struct MPT3SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_add() argument
H A Dmpt3sas_trigger_diag.h90 * struct SL_WH_EVENT_TRIGGER_T - Definition of an event trigger element
118 * struct SL_WH_SCSI_TRIGGER_T - Definition of a SCSI trigger element
151 * struct SL_WH_MPI_TRIGGER_T - Definition of an MPI trigger element
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-designware-core.h44 * @msg_write_idx: the element index of the current tx message in the msgs
48 * @msg_read_idx: the element index of the current rx message in the msgs
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
H A Dchain_mode.c104 * In chained mode the des3 points to the next element in the ring. stmmac_init_dma_chain()
105 * The latest element has to point to the head. stmmac_init_dma_chain()
/linux-4.1.27/drivers/hwmon/
H A Dacpi_power_meter.c596 union acpi_object *element = &(pss->package.elements[i]); read_domain_devices() local
599 if (element->type != ACPI_TYPE_LOCAL_REFERENCE) read_domain_devices()
604 if (acpi_bus_get_device(element->reference.handle, read_domain_devices()
792 union acpi_object *element = &(pss->package.elements[i]); read_capabilities() local
794 if (element->type != ACPI_TYPE_STRING) { read_capabilities()
799 *str = kzalloc(sizeof(u8) * (element->string.length + 1), read_capabilities()
806 strncpy(*str, element->string.pointer, element->string.length); read_capabilities()
/linux-4.1.27/drivers/staging/rtl8723au/include/
H A DHalVerDef.h62 /* Get element */
H A Drtl8723a_cmd.h56 u8 eid; /* element id */
/linux-4.1.27/drivers/staging/rtl8188eu/include/
H A Drtl8188e_cmd.h58 u8 eid; /* element id */
/linux-4.1.27/drivers/staging/rtl8192e/
H A Ddot11d.h40 * valid country information element.
/linux-4.1.27/drivers/nfc/st21nfca/
H A Dst21nfca_se.c201 * The activation tentative failed, the secure element st21nfca_hci_enable_se()
256 * No answer from the secure element st21nfca_se_wt_timeout()
260 * to the secure element. If the next command is still not st21nfca_se_wt_timeout()
261 * answering in time, we send to the CLF a secure element hardware st21nfca_se_wt_timeout()
/linux-4.1.27/drivers/dma/
H A Dste_dma40_ll.c163 * Distance to next element sized entry. d40_phy_fill_lli()
164 * Usually the size of the element unless you want gaps. d40_phy_fill_lli()
377 /* 16 LSBs address of the current element */ d40_log_fill_lli()
379 /* 16 MSBs address of the current element */ d40_log_fill_lli()
H A Dcoh901318_lli.c260 /* sg continues to the next sg-element don't for_each_sg()
262 * sg-element in the chain for_each_sg()
/linux-4.1.27/arch/xtensa/mm/
H A Dmmu.c76 * For existing PGSZID<w> fields, zero selects the first element init_mmu()
/linux-4.1.27/drivers/block/
H A Dida_ioctl.h58 /* currently, sg_cnt is assumed to be 1: only the 0th element of sg is used */
/linux-4.1.27/drivers/thunderbolt/
H A Dcap.c67 * and others with a pointer to the last element." - "Great idea!" tb_cap_next()
/linux-4.1.27/drivers/usb/gadget/function/
H A Du_uvc.h58 * super-speed. The first element is a configurable control header
/linux-4.1.27/arch/parisc/math-emu/
H A Dfpbits.h51 * uname, as the element name.
/linux-4.1.27/arch/powerpc/include/asm/
H A Dhvcserver.h32 * hvcs_partner_info - an element in a list of partner info
/linux-4.1.27/include/linux/extcon/
H A Dextcon-adc-jack.h24 * denotes the last adc_jack_cond element among the array)
/linux-4.1.27/drivers/isdn/mISDN/
H A Ddsp_pipeline.c155 printk(KERN_ERR "%s: element %s not in list.\n", __func__, elem->name); mISDN_dsp_element_unregister()
184 printk(KERN_WARNING "%s: element was still registered: %s\n", dsp_pipeline_module_exit()
319 printk(KERN_ERR "%s: element not found, skipping: " dsp_pipeline_build()
H A Ddsp_hwec.c3 * builtin mISDN dsp pipeline element for enabling the hw echocanceller
/linux-4.1.27/drivers/isdn/pcbit/
H A Dedss1.c129 {0x60, "Mandatory information element is missing"},
132 {0x63, "Information element/parameter non-existent or not implemented"},
133 {0x64, "Invalid information element contents"},
/linux-4.1.27/drivers/misc/genwqe/
H A Dcard_ddcb.h149 * Each element has up to 8 entries.
150 * The chaining element is element 0 cause of prefetching needs.
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfa_cs.h161 * bfa_q_qe_init - to initialize a queue element
169 * bfa_q_deq - dequeue an element from head of the queue
183 * bfa_q_deq_tail - dequeue an element from tail of the queue
/linux-4.1.27/include/uapi/sound/
H A Dasound.h849 #define SNDRV_CTL_ELEM_ACCESS_USER (1<<29) /* user space element */
872 unsigned int offset; /* W: first element ID to get */
873 unsigned int space; /* W: count of element IDs to get */
874 unsigned int used; /* R: count of element IDs set */
881 struct snd_ctl_elem_id id; /* W: element ID */
914 struct snd_ctl_elem_id id; /* W: element ID */
940 unsigned int numid; /* control element numeric identification */
980 #define SNDRV_CTL_EVENT_MASK_VALUE (1<<0) /* element value was changed */
981 #define SNDRV_CTL_EVENT_MASK_INFO (1<<1) /* element info was changed */
982 #define SNDRV_CTL_EVENT_MASK_ADD (1<<2) /* element was added */
983 #define SNDRV_CTL_EVENT_MASK_TLV (1<<3) /* element TLV tree was changed */
984 #define SNDRV_CTL_EVENT_MASK_REMOVE (~0U) /* element was removed */
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_mbox.c47 * @pmb: pointer to the driver internal queue element for mailbox command.
106 * @pmb: pointer to the driver internal queue element for mailbox command.
123 * @pmb: pointer to the driver internal queue element for mailbox command.
160 * @pmb: pointer to the driver internal queue element for mailbox command.
194 * @pmb: pointer to the driver internal queue element for mailbox command.
217 * @pmb: pointer to the driver internal queue element for mailbox command.
244 * @pmb: pointer to the driver internal queue element for mailbox command.
269 * @pmb: pointer to the driver internal queue element for mailbox command.
315 * @pmb: pointer to the driver internal queue element for mailbox command.
344 * @pmb: pointer to the driver internal queue element for mailbox command.
392 * @pmb: pointer to the driver internal queue element for mailbox command.
470 * @pmb: pointer to the driver internal queue element for mailbox command.
565 * @pmb: pointer to the driver internal queue element for mailbox command.
628 * @pmb: pointer to the driver internal queue element for mailbox command.
661 * @pmb: pointer to the driver internal queue element for mailbox command.
687 * @pmb: pointer to the driver internal queue element for mailbox command.
715 * @pmb: pointer to the driver internal queue element for mailbox command.
785 * @pmb: pointer to the driver internal queue element for mailbox command.
857 * @pmb: pointer to the driver internal queue element for mailbox command.
902 * @pmb: pointer to the driver internal queue element for mailbox command.
1001 * @pmb: pointer to the driver internal queue element for mailbox command.
1114 * @pmb: pointer to the driver internal queue element for mailbox command.
1186 * @pmb: pointer to the driver internal queue element for mailbox command.
1243 * @pmb: pointer to the driver internal queue element for mailbox command.
1431 * @pmb: pointer to the driver internal queue element for mailbox command.
1457 * @mbq: pointer to the driver internal queue element for mailbox command.
1490 * pointer to the driver internal queue element for mailbox command.
1508 * @mbq: pointer to the driver internal queue element for mailbox command.
1524 * @mbq: pointer to the driver internal queue element for mailbox command.
1546 * @mboxq: pointer to the driver internal queue element for mailbox command.
/linux-4.1.27/drivers/scsi/bnx2fc/
H A D57xx_hsi_bnx2fc.h636 * FCoE SQ element $$KEEP_ENDIANNESS$$
779 * FCoE XFRQ element $$KEEP_ENDIANNESS$$
805 * FCoE CONFQ element $$KEEP_ENDIANNESS$$
831 * FCoE CQ element $$KEEP_ENDIANNESS$$
895 * FCoE LCQ element $$KEEP_ENDIANNESS$$
/linux-4.1.27/drivers/staging/rtl8192u/
H A Dr819xU_cmdpkt.c320 * packet element id = RX_TX_STATUS.
480 * info. Every RX command packet element has different message
515 /* 3. Read command packet element id and length. */ cmpk_message_handle_rx()
519 element type. Because FW may aggregate RX command packet to cmpk_message_handle_rx()
549 /* You must at lease add a switch case element here, cmpk_message_handle_rx()
/linux-4.1.27/drivers/nfc/st21nfcb/
H A Dst21nfcb_se.c116 /* Secure element pipes are created by secure element host */
635 * No answer from the secure element st21nfcb_se_wt_timeout()
639 * to the secure element. If the next command is still not st21nfcb_se_wt_timeout()
640 * answering in time, we send to the CLF a secure element hardware st21nfcb_se_wt_timeout()
/linux-4.1.27/fs/ecryptfs/
H A Dmessaging.c45 * Acquires a context element from the free list and locks the mutex
48 * context element. Must be called with ecryptfs_msg_ctx_lists_mux
215 * upon delivery to desired context element; non-zero upon delivery
239 printk(KERN_WARNING "%s: Desired context element is not " ecryptfs_process_response()
293 "context element\n", __func__); ecryptfs_send_message_locked()
/linux-4.1.27/net/netfilter/ipset/
H A Dip_set_list_set.c179 /* Last element replaced: e.g. add new,before,last */ list_set_add()
186 /* Last element pushed off */ list_set_add()
223 /* Last element */ list_set_del()
241 /* Check element moved to position i in next loop */ set_cleanup_entries()
292 /* Check already added element */ list_set_uadd()
/linux-4.1.27/drivers/scsi/isci/
H A Dscu_task_context.h436 * element. SCU SGLs contain a 64 bit address with the maximum data transfer
479 * This field is the SGL element A of the SGL pair.
485 * This field is the SGL element B of the SGL pair.
492 * element pair.
498 * element pair.
880 * This field is the first SGL element pair found in the TC data structure.
885 * This field is the second SGL element pair found in the TC data structure.
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dmkregtable.c117 * @entry: the element to delete from the list.
134 * @old : the element to be replaced
135 * @new : the new element to insert
156 * @entry: the element to delete from the list.
257 * pass on @entry an element you know is on @head. @list
356 * list_first_entry - get the first element from a list
357 * @ptr: the list head to take the element from.
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.h154 /* Length of this element in the exe_chunk. */
235 * Return the exe_queue element containing the specific command
331 * @return zero if the element may be added
341 * @return true if the element may be deleted
351 * @return true if the element may be deleted
398 * Reconfigures the next MAC/VLAN/VLAN-MAC element from the previously
405 * next call to make function handle the next element. If
408 * element has been handled.
421 * @param cqe Completion element we are handling
593 * handled registry element.
H A Dbnx2x_sp.c80 DP(BNX2X_MSG_SP, "Deleting an exe_queue element\n"); bnx2x_exe_queue_free_elem()
100 * bnx2x_exe_queue_add - add a new element to the execution queue
107 * If the element is optimized or is illegal, frees it.
119 /* Try to cancel this element queue */ bnx2x_exe_queue_add()
206 * element. This will allow the call of bnx2x_exe_queue_step()
249 DP(BNX2X_MSG_SP, "Allocating a new exe_queue element\n"); bnx2x_exe_queue_alloc_elem()
589 DP(BNX2X_MSG_SP, "copied element number %d to address %p element was:\n", bnx2x_get_n_elements()
1040 * bnx2x_vlan_mac_restore - reconfigure next MAC/VLAN/VLAN-MAC element
1046 * reconfigure next MAC/VLAN/VLAN-MAC element from the
1053 * function handle the next element. If *ppos is set to NULL it will restart the
1054 * iterator. If returned *ppos == NULL this means that the last element has been
1101 * pointer to an element with a specific criteria and NULL if such an element
1192 * @elem: element that needs to be deleted
1251 * @elem: element that needs to be moved
1499 /* If we found the appropriate element - delete it */ bnx2x_optimize_vlan_mac()
1529 * bnx2x_vlan_mac_get_registry_elem - prepare a registry element
1537 * prepare a registry element according to the current command request.
1549 /* Allocate a new registry element if needed. */ bnx2x_vlan_mac_get_registry_elem()
1652 * need to ensure the ordering of writing to the SPQ element
1723 /* Allocate the execution queue element */ bnx2x_vlan_mac_push_new_cmd()
2281 * ensure the ordering of writing to the SPQ element bnx2x_set_rx_mode_e2()
2986 * ensure the ordering of writing to the SPQ element bnx2x_mcast_setup_e2()
3470 * ensure the ordering of writing to the SPQ element bnx2x_mcast_setup_e1()
4095 * ensure the ordering of writing to the SPQ element bnx2x_setup_rss()
4584 * ensure the ordering of writing to the SPQ element bnx2x_q_send_setup_e1x()
4611 * ensure the ordering of writing to the SPQ element bnx2x_q_send_setup_e2()
4654 * ensure the ordering of writing to the SPQ element bnx2x_q_send_setup_tx_only()
4760 * ensure the ordering of writing to the SPQ element bnx2x_q_send_update()
4858 * ensure the ordering of writing to the SPQ element bnx2x_q_send_update_tpa()
5694 * need to ensure the ordering of writing to the SPQ element bnx2x_func_send_start()
5767 * ensure the ordering of writing to the SPQ element bnx2x_func_send_switch_update()
5800 * ensure the ordering of writing to the SPQ element bnx2x_func_send_afex_update()
5838 * need to ensure the ordering of writing to the SPQ element bnx2x_func_send_afex_viflists()
5889 * ensure the ordering of writing to the SPQ element bnx2x_func_send_tx_start()
/linux-4.1.27/sound/pci/hda/
H A Dhda_codec.c222 /* connection list element */
1497 * @kcontrol: referred ctl element
1500 * The control element is supposed to have the private_value field
1560 * @kcontrol: ctl element
1563 * The control element is supposed to have the private_value field
1587 * @kcontrol: ctl element
1590 * The control element is supposed to have the private_value field
1617 * @kcontrol: ctl element
1622 * The control element is supposed to have the private_value field
1685 /* find a mixer control element with the given name */
1701 * snd_hda_find_mixer_ctl - Find a mixer control element with the given name
1705 * Get the control element with the given id string and IFACE_MIXER.
1727 * snd_hda_ctl_add - Add a control element and assign to the codec
1730 * @kctl: the control element to assign
1732 * Add the given control element to an array inside the codec instance.
1737 * If non-zero @nid is passed, the NID is assigned to the control element.
1775 * snd_hda_add_nid - Assign a NID to a control element
1778 * @kctl: the control element to assign
1781 * Add the given control element to an array inside the codec instance.
2174 * @kcontrol: referred ctl element
2177 * The control element is supposed to have the private_value field
2195 * @kcontrol: ctl element
2198 * The control element is supposed to have the private_value field
2223 * @kcontrol: ctl element
2226 * The control element is supposed to have the private_value field
2266 * @kcontrol: ctl element
2269 * The control element is supposed to have the private_value field
2291 * @kcontrol: ctl element
2294 * The control element is supposed to have the private_value field
2323 * @kcontrol: referred ctl element
2326 * The control element is supposed to have the private_value field
2348 * @kcontrol: ctl element
2351 * The control element is supposed to have the private_value field
2373 * @kcontrol: ctl element
2376 * The control element is supposed to have the private_value field
2404 * @kcontrol: ctl element
2409 * The control element is supposed to have the private_value field
4056 * @kcontrol: ctl element
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_dsi_panel_vbt.c273 /* go to the first element of the sequence */ generic_exec_sequence()
281 DRM_ERROR("Unsupported MIPI element, skipping sequence execution\n"); generic_exec_sequence()
285 /* goto element payload */ generic_exec_sequence()
288 /* execute the element specific rotines */ generic_exec_sequence()
292 * After processing the element, data should point to generic_exec_sequence()
293 * next element or end of sequence generic_exec_sequence()
/linux-4.1.27/drivers/crypto/nx/
H A Dnx.c80 * @sg_head: pointer to the first scatter list element to build
111 /* each iteration will write one struct nx_sg element and add the nx_build_sg_list()
112 * length of data described by that element to sg_len. Once @len bytes nx_build_sg_list()
115 * as sg_addr, if not, we need to create another nx_sg element for the nx_build_sg_list()
155 * @nx_dst: pointer to the first nx_sg element to write
184 * element we're currently looking at */ nx_walk_and_build()
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Dzcrypt.h251 * Return an 64 element array of unsigned chars for the status of
262 * Return an 64 element array of unsigned chars for the queue
266 * Return an 64 element array of unsigned integers for the number
/linux-4.1.27/drivers/net/ethernet/tehuti/
H A Dtehuti.h199 struct tx_map *start; /* points to the first element */
200 struct tx_map *end; /* points just AFTER the last element */
201 struct tx_map *rptr; /* points to the next element to read */
202 struct tx_map *wptr; /* points to the next element to write */
/linux-4.1.27/drivers/staging/comedi/
H A Drange.c101 * comedi_check_chanlist() - Validate each element in a chanlist.
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dacx.h67 /* Target's information element */
71 /* acx (or information element) header */
82 /* information element was interrogated. This field is */
87 /* information element was interrogated. This field is */
92 /* since the last time this information element was interrogated. */
259 * Treatment bit mask - The information element handling:
260 * bit 0 - The information element is compared and transferred
262 * bit 1 - The information element is transferred to the host
724 * ACX_CTS_PROTECTION information element
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
H A Docrdma_main.c159 gid_event.element.port_num = 1; ocrdma_addr_event()
557 port_event.element.port_num = 1; ocrdma_open()
582 err_event.element.qp = &qp->ibqp; ocrdma_close()
591 err_event.element.port_num = 1; ocrdma_close()
/linux-4.1.27/arch/x86/mm/
H A Dnuma_32.c35 * numa node on a 64Mb break (each element of the array will
/linux-4.1.27/drivers/atm/
H A Dzatm.h33 #define RING_WORDS 4 /* ring element size */
/linux-4.1.27/drivers/gpu/host1x/hw/
H A Dhw_host1x01_channel.h23 * <x>_w(void) : Returns the word offset for word (4 byte) element <x>.
H A Dhw_host1x02_channel.h23 * <x>_w(void) : Returns the word offset for word (4 byte) element <x>.
H A Dhw_host1x04_channel.h23 * <x>_w(void) : Returns the word offset for word (4 byte) element <x>.
/linux-4.1.27/fs/ubifs/
H A Dtnc_misc.c33 * ubifs_tnc_levelorder_next - next TNC tree element in levelorder traversal.
38 * Returns the next element or %NULL if @znode is already the last one.
197 * ubifs_tnc_postorder_next - next TNC tree element in postorder traversal.
201 * Returns the next element or %NULL if @znode is already the last one.
/linux-4.1.27/fs/hfs/
H A Dtrans.c9 * with ':' vs. '/' as the path-element separator.
/linux-4.1.27/include/drm/
H A Ddrm_flip_work.h56 * @node: list entry element
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_scsih.c2134 * @params: three element array to place output:
3566 Mpi2EventIrConfigElement_t *element; _scsih_check_ir_config_unhide_events() local
3578 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; _scsih_check_ir_config_unhide_events()
3579 for (i = 0; i < event_data->NumElements; i++, element++) { _scsih_check_ir_config_unhide_events()
3580 if (element->ReasonCode == _scsih_check_ir_config_unhide_events()
3582 element->ReasonCode == _scsih_check_ir_config_unhide_events()
3584 volume_handle = le16_to_cpu(element->VolDevHandle); _scsih_check_ir_config_unhide_events()
3591 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; _scsih_check_ir_config_unhide_events()
3592 for (i = 0; i < event_data->NumElements; i++, element++) { _scsih_check_ir_config_unhide_events()
3596 if (element->ReasonCode == MPI2_EVENT_IR_CHANGE_RC_UNHIDE) { _scsih_check_ir_config_unhide_events()
3597 volume_handle = le16_to_cpu(element->VolDevHandle); _scsih_check_ir_config_unhide_events()
3608 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; _scsih_check_ir_config_unhide_events()
3609 for (i = 0; i < event_data->NumElements; i++, element++) { _scsih_check_ir_config_unhide_events()
3610 if (element->ReasonCode != MPI2_EVENT_IR_CHANGE_RC_UNHIDE) _scsih_check_ir_config_unhide_events()
3612 handle = le16_to_cpu(element->PhysDiskDevHandle); _scsih_check_ir_config_unhide_events()
3613 volume_handle = le16_to_cpu(element->VolDevHandle); _scsih_check_ir_config_unhide_events()
6017 * @element: IR config element data
6024 Mpi2EventIrConfigElement_t *element) _scsih_sas_volume_add()
6029 u16 handle = le16_to_cpu(element->VolDevHandle); _scsih_sas_volume_add()
6110 * @element: IR config element data
6117 Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_expose()
6123 u16 handle = le16_to_cpu(element->PhysDiskDevHandle); _scsih_sas_pd_expose()
6150 * @element: IR config element data
6157 Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_hide()
6163 u16 handle = le16_to_cpu(element->PhysDiskDevHandle); _scsih_sas_pd_hide()
6197 * @element: IR config element data
6204 Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_delete()
6206 u16 handle = le16_to_cpu(element->PhysDiskDevHandle); _scsih_sas_pd_delete()
6214 * @element: IR config element data
6221 Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_add()
6225 u16 handle = le16_to_cpu(element->PhysDiskDevHandle); _scsih_sas_pd_add()
6276 Mpi2EventIrConfigElement_t *element; _scsih_sas_ir_config_change_event_debug() local
6281 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; _scsih_sas_ir_config_change_event_debug()
6287 for (i = 0; i < event_data->NumElements; i++, element++) { _scsih_sas_ir_config_change_event_debug()
6288 switch (element->ReasonCode) { _scsih_sas_ir_config_change_event_debug()
6320 element_type = le16_to_cpu(element->ElementFlags) & _scsih_sas_ir_config_change_event_debug()
6333 element_str = "unknown element"; _scsih_sas_ir_config_change_event_debug()
6338 reason_str, le16_to_cpu(element->VolDevHandle), _scsih_sas_ir_config_change_event_debug()
6339 le16_to_cpu(element->PhysDiskDevHandle), _scsih_sas_ir_config_change_event_debug()
6340 element->PhysDiskNum); _scsih_sas_ir_config_change_event_debug()
6357 Mpi2EventIrConfigElement_t *element; _scsih_sas_ir_config_change_event() local
6377 element = (Mpi2EventIrConfigElement_t *)&event_data->ConfigElement[0]; _scsih_sas_ir_config_change_event()
6378 for (i = 0; i < event_data->NumElements; i++, element++) { _scsih_sas_ir_config_change_event()
6380 switch (element->ReasonCode) { _scsih_sas_ir_config_change_event()
6384 _scsih_sas_volume_add(ioc, element); _scsih_sas_ir_config_change_event()
6390 le16_to_cpu(element->VolDevHandle)); _scsih_sas_ir_config_change_event()
6394 _scsih_sas_pd_hide(ioc, element); _scsih_sas_ir_config_change_event()
6398 _scsih_sas_pd_expose(ioc, element); _scsih_sas_ir_config_change_event()
6402 _scsih_sas_pd_add(ioc, element); _scsih_sas_ir_config_change_event()
6406 _scsih_sas_pd_delete(ioc, element); _scsih_sas_ir_config_change_event()
7107 Mpi2EventIrConfigElement_t element; _scsih_scan_for_devices_after_reset() local
7267 memset(&element, 0, sizeof(Mpi2EventIrConfigElement_t)); _scsih_scan_for_devices_after_reset()
7268 element.ReasonCode = MPI2_EVENT_IR_CHANGE_RC_ADDED; _scsih_scan_for_devices_after_reset()
7269 element.VolDevHandle = volume_pg1.DevHandle; _scsih_scan_for_devices_after_reset()
7273 _scsih_sas_volume_add(ioc, &element); _scsih_scan_for_devices_after_reset()
6023 _scsih_sas_volume_add(struct MPT2SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) _scsih_sas_volume_add() argument
6116 _scsih_sas_pd_expose(struct MPT2SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_expose() argument
6156 _scsih_sas_pd_hide(struct MPT2SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_hide() argument
6203 _scsih_sas_pd_delete(struct MPT2SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_delete() argument
6220 _scsih_sas_pd_add(struct MPT2SAS_ADAPTER *ioc, Mpi2EventIrConfigElement_t *element) _scsih_sas_pd_add() argument
/linux-4.1.27/drivers/infiniband/hw/amso1100/
H A Dc2_ae.c235 ib_event.element.qp = &qp->ibqp; c2_ae_event()
310 ib_event.element.cq = &cq->ibcq; c2_ae_event()
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
H A Diwch_ev.c91 event.element.cq = &chp->ibcq; post_qp_event()
93 event.element.qp = &qhp->ibqp; post_qp_event()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
H A Dev.c107 event.element.cq = &chp->ibcq; post_qp_event()
109 event.element.qp = &qhp->ibqp; post_qp_event()
/linux-4.1.27/drivers/mmc/host/
H A Dtmio_mmc_dma.c79 /* The only sg element can be unaligned, use our bounce buffer then */ tmio_mmc_start_dma_rx()
155 /* The only sg element can be unaligned, use our bounce buffer then */ tmio_mmc_start_dma_tx()
/linux-4.1.27/drivers/staging/i2o/
H A Dmemory.c39 * for 64-bit a SG attribute element must be added and each i2o_sg_tablesize()
40 * SG element needs 12 bytes instead of 8. i2o_sg_tablesize()
/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl871x_security.h130 u8 authenticator_ie[256]; /* store ap security information element */
131 u8 supplicant_ie[256]; /* store sta security information element */
/linux-4.1.27/drivers/staging/rtl8723au/hal/
H A DHalDMOutSrc8723A_CE.c242 /* new element C = element D x Y */ odm_TXPowerTrackingCallback_ThermalMeter_92C()
247 /* write new elements A, C, D to regC80 and regC94, element B is always 0 */ odm_TXPowerTrackingCallback_ThermalMeter_92C()
297 /* new element A = element D x X */ odm_TXPowerTrackingCallback_ThermalMeter_92C()
306 /* new element C = element D x Y */ odm_TXPowerTrackingCallback_ThermalMeter_92C()
311 /* write new elements A, C, D to regC88 and regC9C, element B is always 0 */ odm_TXPowerTrackingCallback_ThermalMeter_92C()
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Dacx.h29 /* Target's information element */
33 /* acx (or information element) header */
44 /* information element was interrogated. This field is */
49 /* information element was interrogated. This field is */
54 /* since the last time this information element was interrogated. */
478 * Treatment bit mask - The information element handling:
479 * bit 0 - The information element is compared and transferred
481 * bit 1 - The information element is transferred to the host
/linux-4.1.27/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c126 event.element.port_num = port_num; smp_snoop()
142 event.element.port_num = port_num; smp_snoop()
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c302 if (record->element.port_num != priv->port) ipoib_event()
306 record->device->name, record->element.port_num); ipoib_event()
/linux-4.1.27/fs/jfs/
H A Djfs_txnmgr.h87 #define COMMIT_PAGE 0x1000 /* Identifies element as metapage */
88 #define COMMIT_INODE 0x2000 /* Identifies element as inode */
/linux-4.1.27/drivers/md/persistent-data/
H A Ddm-array.h16 * and a performance boost. The element get and set operations are still
157 * fn - called back for every element
/linux-4.1.27/drivers/power/
H A Dab8500_bmdata.c194 /* First element always represent the UNKNOWN battery */
280 /* First element always represent the UNKNOWN battery */
/linux-4.1.27/arch/m68k/include/asm/
H A Dfbio.h60 int index; /* first element (0 origin) */
305 int index; /* first element (0 origin) */
/linux-4.1.27/fs/
H A Dfilesystems.c24 * We can access the fields of list element if:
28 * returned 0 we must skip the element, otherwise we got the reference.

Completed in 5024 milliseconds

12345