Home
last modified time | relevance | path

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

12345678910>>...68

/Linux-v6.1/mm/
Dmempool.c24 static void poison_error(mempool_t *pool, void *element, size_t size, in poison_error() argument
32 pr_err("BUG: mempool element poison mismatch\n"); in poison_error()
34 pr_err(" nr=%d @ %p: %s0x", nr, element, start > 0 ? "... " : ""); in poison_error()
36 pr_cont("%x ", *(u8 *)(element + i)); in poison_error()
41 static void __check_element(mempool_t *pool, void *element, size_t size) in __check_element() argument
43 u8 *obj = element; in __check_element()
50 poison_error(pool, element, size, i); in __check_element()
57 static void check_element(mempool_t *pool, void *element) in check_element() argument
61 __check_element(pool, element, ksize(element)); in check_element()
65 void *addr = kmap_atomic((struct page *)element); in check_element()
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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
136 DECLARE_BITMAP(element, MLXSW_AFK_ELEMENT_MAX);
142 enum mlxsw_afk_element element) in mlxsw_afk_picker_count_hits() argument
154 if (elinst->element == element) { in mlxsw_afk_picker_count_hits()
155 __set_bit(element, picker[i].element); in mlxsw_afk_picker_count_hits()
170 memcpy(&hits_element, &picker[block_index].element, in mlxsw_afk_picker_subtract_hits()
175 if (__test_and_clear_bit(j, picker[i].element)) in mlxsw_afk_picker_subtract_hits()
202 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 …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/icelakex/
Dfloating-point.json15element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
21element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
26element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
32element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
37element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
43element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
48element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
54element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
59element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
65element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
[all …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/icelake/
Dfloating-point.json15element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
21element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
26element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
32element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
37element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
43element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
48element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
54element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
59element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
65element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
[all …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/tigerlake/
Dfloating-point.json14element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
20element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
25element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
31element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
36element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
42element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
47element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
53element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
58element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
64element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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
204 * k3_ringacc_ring_push - push element to the ring tail
206 * @elem: pointer on ring element buffer
208 * Push one ring element to the ring tail. Size of the ring element is
216 * k3_ringacc_ring_pop - pop element from the ring head
218 * @elem: pointer on ring element buffer
220 * Push one ring element from the ring head. Size of the ring element is
228 * k3_ringacc_ring_push_head - push element to the ring head
[all …]
/Linux-v6.1/lib/
Dlru_cache.c93 struct lc_element **element = NULL; in lc_create() local
111 element = kcalloc(e_count, sizeof(struct lc_element *), GFP_KERNEL); in lc_create()
112 if (!element) in lc_create()
130 lc->lc_element = element; in lc_create()
144 element[i] = e; in lc_create()
151 void *p = element[--i]; in lc_create()
156 kfree(element); in lc_create()
271 * lc_find - find element by label, if present in the hash table
273 * @enr: element number
275 * 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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/sapphirerapids/
Dfloating-point.json71element. 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 HA…
82element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
88element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
93element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
99element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
104element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
110element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
115element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
121element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/skylakex/
Dfloating-point.json8element. Applies to packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD…
18element. Applies to packed single precision floating-point instructions: ADD SUB HADD HSUB SUBADD…
28element. Applies to packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD…
38element. Applies to packed single precision floating-point instructions: ADD SUB HADD HSUB SUBADD…
43element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
48element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
53element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
58element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
68 …FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ …
78 …FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ …
/Linux-v6.1/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 …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/broadwellx/
Dfloating-point.json3element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
8element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
13element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
18element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
23element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
28element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
33element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
38element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
43 … DPP and FM(N)ADD/SUB instructions count twice as they perform multiple calculations per element.",
52 … DPP and FM(N)ADD/SUB instructions count twice as they perform multiple calculations per element.",
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/cascadelakex/
Dfloating-point.json8element. Applies to packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD…
18element. Applies to packed single precision floating-point instructions: ADD SUB HADD HSUB SUBADD…
28element. Applies to packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD…
38element. Applies to packed single precision floating-point instructions: ADD SUB HADD HSUB SUBADD…
43element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
48element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MU…
53element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
58element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
68 …FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ …
78 …FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ …
/Linux-v6.1/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()
/Linux-v6.1/drivers/platform/chrome/
Dchromeos_acpi.c73 union acpi_object *element = obj->package.elements; in chromeos_acpi_handle_package() local
77 element += pkg_num; in chromeos_acpi_handle_package()
79 if (element->type == ACPI_TYPE_PACKAGE) { in chromeos_acpi_handle_package()
80 if (sub_pkg_num >= element->package.count) in chromeos_acpi_handle_package()
82 /* select sub element inside this package */ in chromeos_acpi_handle_package()
83 element = element->package.elements; in chromeos_acpi_handle_package()
84 element += sub_pkg_num; in chromeos_acpi_handle_package()
87 switch (element->type) { in chromeos_acpi_handle_package()
89 return sysfs_emit(buf, "%d\n", (int)element->integer.value); in chromeos_acpi_handle_package()
91 return sysfs_emit(buf, "%s\n", element->string.pointer); in chromeos_acpi_handle_package()
[all …]

12345678910>>...68