Home
last modified time | relevance | path

Searched full:element (Results 1 – 25 of 1432) sorted by relevance

12345678910>>...58

/kernel/linux/linux-5.10/mm/
Dmempool.c25 static void poison_error(mempool_t *pool, void *element, size_t size, in poison_error() argument
33 pr_err("BUG: mempool element poison mismatch\n"); in poison_error()
35 pr_err(" nr=%d @ %p: %s0x", nr, element, start > 0 ? "... " : ""); in poison_error()
37 pr_cont("%x ", *(u8 *)(element + i)); in poison_error()
42 static void __check_element(mempool_t *pool, void *element, size_t size) in __check_element() argument
44 u8 *obj = element; in __check_element()
51 poison_error(pool, element, size, i); in __check_element()
58 static void check_element(mempool_t *pool, void *element) in check_element() argument
62 __check_element(pool, element, ksize(element)); in check_element()
66 void *addr = kmap_atomic((struct page *)element); in check_element()
[all …]
/kernel/linux/linux-5.10/security/tomoyo/
Dgc.c33 …* tomoyo_struct_used_by_io_buffer - Check whether the list element is used by /sys/kernel/security…
35 * @element: Pointer to "struct list_head".
37 * Returns true if @element is used by /sys/kernel/security/tomoyo/ users,
40 static bool tomoyo_struct_used_by_io_buffer(const struct list_head *element) in tomoyo_struct_used_by_io_buffer() argument
50 if (head->r.domain == element || head->r.group == element || in tomoyo_struct_used_by_io_buffer()
51 head->r.acl == element || &head->w.domain->list == element) in tomoyo_struct_used_by_io_buffer()
105 * @element: Pointer to "struct list_head".
109 static inline void tomoyo_del_transition_control(struct list_head *element) in tomoyo_del_transition_control() argument
112 container_of(element, typeof(*ptr), head.list); in tomoyo_del_transition_control()
121 * @element: Pointer to "struct list_head".
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dchio.h9 /* changer element types */
10 #define CHET_MT 0 /* media transport element (robot) */
11 #define CHET_ST 1 /* storage element (media slots) */
12 #define CHET_IE 2 /* import/export element */
13 #define CHET_DT 3 /* data transfer element (tape/cdrom/whatever) */
25 * query vendor-specific element types
27 * accessing elements works by specifing type and unit of the element.
33 int cp_curpicker; /* current transport element */
54 * move a medium from one element to another
57 int cm_fromtype; /* type/unit of source element */
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c13 * that will be used to store key/mask values. For each defined element type
68 elinfo = &mlxsw_afk_element_infos[elinst->element]; in mlxsw_afk_blocks_check()
108 int element_to_block[MLXSW_AFK_ELEMENT_MAX]; /* index is element, value
137 DECLARE_BITMAP(element, MLXSW_AFK_ELEMENT_MAX);
144 enum mlxsw_afk_element element) in mlxsw_afk_picker_count_hits() argument
156 if (elinst->element == element) { in mlxsw_afk_picker_count_hits()
157 __set_bit(element, picker->hits[i].element); in mlxsw_afk_picker_count_hits()
172 memcpy(&hits_element, &picker->hits[block_index].element, in mlxsw_afk_picker_subtract_hits()
177 if (__test_and_clear_bit(j, picker->hits[i].element)) in mlxsw_afk_picker_subtract_hits()
204 enum mlxsw_afk_element element; in mlxsw_afk_picker_key_info_add() local
[all …]
Dcore_acl_flex_keys.h47 enum mlxsw_afk_element element; /* element ID */ member
49 struct mlxsw_item item; /* element geometry in internal storage */
54 .element = MLXSW_AFK_ELEMENT_##_element, \
74 struct mlxsw_afk_element_inst { /* element instance in actual block */
75 enum mlxsw_afk_element element; member
77 struct mlxsw_item item; /* element geometry in block */
87 .element = MLXSW_AFK_ELEMENT_##_element, \
131 #define mlxsw_afk_element_usage_for_each(element, elusage) \ argument
132 for_each_set_bit(element, (elusage)->usage, MLXSW_AFK_ELEMENT_MAX)
136 enum mlxsw_afk_element element) in mlxsw_afk_element_usage_add() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
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
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/icelake/
Dfloating-point.json16 … FM(N)ADD/SUB. FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
23 …DD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element."
27 … FM(N)ADD/SUB. FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
34 …DD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element."
38element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
45element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
49element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
56element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
60element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
67element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
[all …]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Duttrack.c15 * element contains the caller's component, module name, function name, and
17 * acpi_ut_track_allocation to add an element to the list; deletion
258 * 2) Element was found. Returns Allocation parameter.
259 * 3) Element was not found. Returns position where it should be
262 * DESCRIPTION: Searches for an element in the global allocation tracking list.
263 * If the element is not found, returns the location within the
264 * list where the element should be inserted.
281 struct acpi_debug_mem_block *element; in acpi_ut_find_allocation() local
283 element = acpi_gbl_global_list->list_head; in acpi_ut_find_allocation()
284 if (!element) { in acpi_ut_find_allocation()
[all …]
Ddspkginit.c23 acpi_ds_resolve_package_element(union acpi_operand_object **element);
106 * Allocate the element array (array of pointers to the individual in acpi_ds_build_internal_package_obj()
127 /* First arg is element count. Second arg begins the initializer list */ in acpi_ds_build_internal_package_obj()
194 /* This package element is already built, just get it */ in acpi_ds_build_internal_package_obj()
212 * Initialize this package element. This function handles the in acpi_ds_build_internal_package_obj()
233 /* Make new element ref count match original ref count */ in acpi_ds_build_internal_package_obj()
319 * DESCRIPTION: Resolve a named reference element within a package object
339 * to the location within the element array because a new object in acpi_ds_init_package_element()
373 * RETURN: Possible new element is stored to the indirect element_ptr
375 * DESCRIPTION: Resolve a package element that is a reference to a named
[all …]
/kernel/linux/linux-5.10/scripts/
Dasn1_compiler.c414 /* Can be a directive, type name or element in tokenise()
432 * it's an element name in tokenise()
681 struct element { struct
686 struct element *children; argument
687 struct element *next; argument
688 struct element *render_next; argument
689 struct element *list_next; argument
708 struct element *element; argument
798 static struct element *parse_type(struct token **_cursor, struct token *stop,
819 type->element = parse_type(&cursor, type[1].name, NULL); in parse()
[all …]
/kernel/linux/linux-5.10/include/linux/soc/ti/
Dk3-ringacc.h29 * stores credentials with each message, requiring the element size to be
43 * RA ring element's sizes in bytes.
63 * @elm_size: Ring element size
197 * k3_ringacc_ring_push - push element to the ring tail
199 * @elem: pointer on ring element buffer
201 * Push one ring element to the ring tail. Size of the ring element is
209 * k3_ringacc_ring_pop - pop element from the ring head
211 * @elem: pointer on ring element buffer
213 * Push one ring element from the ring head. Size of the ring element is
221 * k3_ringacc_ring_push_head - push element to the ring head
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/base/circbuf/src/
Dcircbuf.c26 * @brief Read the oldest element from the circular buffer.
27 * Read the oldest element WITHOUT checking whehter the
28 * circular buffer is empty or not. The oldest element is
33 * @return the oldest element.
45 * @param chunk_src The position at which the first element in the chunk is.
46 * @param chunk_dest The position to which the first element in the chunk would be shift.
53 * @brief Get the "val" field in the element.
55 * @param elem The pointer to the element.
114 /* read an element from the buffer */ in ia_css_circbuf_pop()
137 * Step 1: When the target element is at the "start" position. in ia_css_circbuf_extract()
[all …]
/kernel/linux/linux-5.10/lib/
Dlru_cache.c92 struct lc_element **element = NULL; in lc_create() local
110 element = kcalloc(e_count, sizeof(struct lc_element *), GFP_KERNEL); in lc_create()
111 if (!element) in lc_create()
129 lc->lc_element = element; in lc_create()
143 element[i] = e; in lc_create()
150 void *p = element[i]; in lc_create()
155 kfree(element); in lc_create()
270 * lc_find - find element by label, if present in the hash table
272 * @enr: element number
274 * Returns the pointer to an element, if the element with the requested
[all …]
Dsort.c22 * @size: size of each element
46 * @a: pointer to the first element to swap
47 * @b: pointer to the second element to swap
48 * @n: element size (must be a multiple of 4)
69 * @a: pointer to the first element to swap
70 * @b: pointer to the second element to swap
71 * @n: element size (must be a multiple of 8)
105 * @a: pointer to the first element to swap
106 * @b: pointer to the second element to swap
107 * @n: element size
[all …]
/kernel/linux/linux-5.10/Documentation/mhi/
Dmhi.rst95 [Read Pointer (RP)] ----------->[Ring Element] } TD
96 [Write Pointer (WP)]- [Ring Element]
97 - [Ring Element]
98 --------->[Ring Element]
99 [Ring Element]
108 * RP indicates the next element to be serviced by the device.
109 * When the host has a new buffer to send, it updates the ring element with
110 buffer information, increments the WP to the next element and rings the
122 [Read Pointer (RP)] ----------->[Ring Element] } ED
123 [Write Pointer (WP)]- [Ring Element]
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/cascadelakex/
Dfloating-point.json3 …D/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
12element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
21element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
30element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
39 …D/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
48element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
68element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
77element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/skylakex/
Dfloating-point.json3element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
12element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
21 …D/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
30element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
39element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
48element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
68 …D/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
77element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_mru_cache.c12 * supplies an element lifetime in milliseconds and a group count, as well as a
23 * period in time. When the first element is added, time zero for the data
28 * If an element is accessed at any point, it is removed from its list and
32 * have elapsed since the first element was added. The reason for this is that
38 * (t + t/g) seconds, where t is the inactive element lifetime and g is the
50 * introduces a granularity to element lifetimes, so there's no point storing an
51 * individual timeout with each element that specifies a more precise reap time.
52 * The bonus is a saving of sizeof(long) bytes of memory per element stored.
57 * removing an element would involve walking large portions of the entire list,
61 * When an element is touched or deleted, it needs to be removed from its
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/base/circbuf/interface/
Dia_css_circbuf.h95 * @brief Set the "val" field in the element.
97 * @param elem The pointer to the element.
110 * @brief Initialize the element.
112 * @param elem The pointer to the element.
122 * @brief Copy an element.
124 * @param src The element as the copy source.
125 * @param dest The element as the copy destination.
269 * @brief Write a new element into the circular buffer.
270 * Write a new element WITHOUT checking whether the
272 * the oldest element when the buffer is full.
[all …]
/kernel/linux/linux-5.10/include/media/
Dv4l2-device.h280 * @o: name of the element at &struct v4l2_subdev_ops that contains @f.
281 * Each element there groups a set of operations functions.
284 * each element at &struct v4l2_subdev_ops.
305 * @o: name of the element at &struct v4l2_subdev_ops that contains @f.
306 * Each element there groups a set of operations functions.
309 * each element at &struct v4l2_subdev_ops.
333 * @o: name of the element at &struct v4l2_subdev_ops that contains @f.
334 * Each element there groups a set of operations functions.
337 * each element at &struct v4l2_subdev_ops.
368 * @o: name of the element at &struct v4l2_subdev_ops that contains @f.
[all …]
/kernel/linux/linux-5.10/include/linux/
Dmin_heap.h23 * @elem_size: The nr of each element in bytes.
33 /* Sift the element at pos down the heap. */
77 /* Remove minimum element from the heap, O(log2(nr)). */
87 /* Place last element at the root (position 0) and then sift down. */ in min_heap_pop()
94 * Remove the minimum element and then push the given element. The
100 const void *element, in min_heap_pop_push() argument
103 memcpy(heap->data, element, func->elem_size); in min_heap_pop_push()
107 /* Push an element on to the heap, O(log2(nr)). */
109 void min_heap_push(struct min_heap *heap, const void *element, in min_heap_push() argument
121 memcpy(data + (pos * func->elem_size), element, func->elem_size); in min_heap_push()
/kernel/linux/linux-5.10/include/linux/dma/
Dqcom_bam_dma.h12 * This data type corresponds to the native Command Element
30 * This enum indicates the command type in a command element
39 * element with the data already in le32 format.
41 * @bam_ce: bam command element
57 * bam_prep_ce - Wrapper function to prepare a single BAM command element
60 * @bam_ce: BAM command element
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
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 */ \
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dutils.c85 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package() local
87 switch (element->type) { in acpi_extract_package()
102 printk(KERN_WARNING PREFIX "Invalid package element" in acpi_extract_package()
116 (element->string.length * sizeof(char)) + in acpi_extract_package()
122 sizeof(u8 *) + element->buffer.length; in acpi_extract_package()
126 printk(KERN_WARNING PREFIX "Invalid package element" in acpi_extract_package()
140 printk(KERN_WARNING PREFIX "Invalid package element" in acpi_extract_package()
151 "Found unsupported element at index=%d\n", in acpi_extract_package()
185 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package() local
187 switch (element->type) { in acpi_extract_package()
[all …]
/kernel/linux/linux-5.10/include/drm/
Ddrm_bridge.h123 * mode is the display mode that should be fed to the next element in
163 * the preceding element in the display pipe is disabled. If the
164 * preceding element is a bridge this means it's called before that
165 * bridge's @disable vfunc. If the preceding element is a &drm_encoder
181 * preceding element in the display pipe is disabled. If the preceding
182 * element is a bridge this means it's called after that bridge's
183 * @post_disable function. If the preceding element is a &drm_encoder
200 * after the @mode_set callback for the preceding element in the display
201 * pipeline has been called already. If the bridge is the first element
229 * the preceding element in the display pipe is enabled. If the
[all …]

12345678910>>...58