Home
last modified time | relevance | path

Searched refs:head (Results 1 - 25 of 5353) sorted by relevance

12345678910>>...215

/kernel/linux/common_modules/newip/src/common/
H A Dnip_hdr_encap.c42 static inline void _nip_hdr_ttl_encap(struct nip_hdr_encap *head) in _nip_hdr_ttl_encap() argument
44 *(head->hdr_buf + head->hdr_buf_pos) = head->ttl; in _nip_hdr_ttl_encap()
45 head->hdr_buf_pos += sizeof(head->ttl); in _nip_hdr_ttl_encap()
48 static inline void _nip_hdr_len_encap(struct nip_hdr_encap *head) in _nip_hdr_len_encap() argument
50 head->hdr_len_pos = head->hdr_buf + head in _nip_hdr_len_encap()
54 _nip_update_hdr_len(struct nip_hdr_encap *head) _nip_update_hdr_len() argument
59 _nip_hdr_nexthdr_encap(struct nip_hdr_encap *head) _nip_hdr_nexthdr_encap() argument
65 _nip_hdr_daddr_encap(struct nip_hdr_encap *head) _nip_hdr_daddr_encap() argument
71 _nip_hdr_saddr_encap(struct nip_hdr_encap *head) _nip_hdr_saddr_encap() argument
77 _nip_hdr_total_len_encap(struct nip_hdr_encap *head) _nip_hdr_total_len_encap() argument
84 nip_update_total_len(struct nip_hdr_encap *head, unsigned short total_len) nip_update_total_len() argument
91 _nip_hdr_encap_udp_bitmap(struct nip_hdr_encap *head) _nip_hdr_encap_udp_bitmap() argument
109 _nip_hdr_encap_comm_bitmap(struct nip_hdr_encap *head) _nip_hdr_encap_comm_bitmap() argument
129 nip_hdr_udp_encap(struct nip_hdr_encap *head) nip_hdr_udp_encap() argument
156 nip_hdr_comm_encap(struct nip_hdr_encap *head) nip_hdr_comm_encap() argument
[all...]
/kernel/linux/linux-5.10/security/tomoyo/
H A Dcommon.c209 * @head: Pointer to "struct tomoyo_io_buffer".
213 static bool tomoyo_flush(struct tomoyo_io_buffer *head) in tomoyo_flush() argument
215 while (head->r.w_pos) { in tomoyo_flush()
216 const char *w = head->r.w[0]; in tomoyo_flush()
220 if (len > head->read_user_buf_avail) in tomoyo_flush()
221 len = head->read_user_buf_avail; in tomoyo_flush()
224 if (copy_to_user(head->read_user_buf, w, len)) in tomoyo_flush()
226 head->read_user_buf_avail -= len; in tomoyo_flush()
227 head->read_user_buf += len; in tomoyo_flush()
230 head in tomoyo_flush()
259 tomoyo_set_string(struct tomoyo_io_buffer *head, const char *string) tomoyo_set_string() argument
277 tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt, ...) tomoyo_io_printf() argument
305 tomoyo_set_space(struct tomoyo_io_buffer *head) tomoyo_set_space() argument
317 tomoyo_set_lf(struct tomoyo_io_buffer *head) tomoyo_set_lf() argument
330 tomoyo_set_slash(struct tomoyo_io_buffer *head) tomoyo_set_slash() argument
369 tomoyo_print_namespace(struct tomoyo_io_buffer *head) tomoyo_print_namespace() argument
386 tomoyo_print_name_union(struct tomoyo_io_buffer *head, const struct tomoyo_name_union *ptr) tomoyo_print_name_union() argument
406 tomoyo_print_name_union_quoted(struct tomoyo_io_buffer *head, const struct tomoyo_name_union *ptr) tomoyo_print_name_union_quoted() argument
427 tomoyo_print_number_union_nospace(struct tomoyo_io_buffer *head, const struct tomoyo_number_union *ptr) tomoyo_print_number_union_nospace() argument
475 tomoyo_print_number_union(struct tomoyo_io_buffer *head, const struct tomoyo_number_union *ptr) tomoyo_print_number_union() argument
674 tomoyo_write_profile(struct tomoyo_io_buffer *head) tomoyo_write_profile() argument
729 tomoyo_print_config(struct tomoyo_io_buffer *head, const u8 config) tomoyo_print_config() argument
744 tomoyo_read_profile(struct tomoyo_io_buffer *head) tomoyo_read_profile() argument
893 tomoyo_write_manager(struct tomoyo_io_buffer *head) tomoyo_write_manager() argument
911 tomoyo_read_manager(struct tomoyo_io_buffer *head) tomoyo_read_manager() argument
990 tomoyo_select_domain(struct tomoyo_io_buffer *head, const char *data) tomoyo_select_domain() argument
1172 tomoyo_write_domain(struct tomoyo_io_buffer *head) tomoyo_write_domain() argument
1232 tomoyo_print_condition(struct tomoyo_io_buffer *head, const struct tomoyo_condition *cond) tomoyo_print_condition() argument
1373 tomoyo_set_group(struct tomoyo_io_buffer *head, const char *category) tomoyo_set_group() argument
1392 tomoyo_print_entry(struct tomoyo_io_buffer *head, struct tomoyo_acl_info *acl) tomoyo_print_entry() argument
1597 tomoyo_read_domain2(struct tomoyo_io_buffer *head, struct list_head *list) tomoyo_read_domain2() argument
1618 tomoyo_read_domain(struct tomoyo_io_buffer *head) tomoyo_read_domain() argument
1680 tomoyo_write_pid(struct tomoyo_io_buffer *head) tomoyo_write_pid() argument
1696 tomoyo_read_pid(struct tomoyo_io_buffer *head) tomoyo_read_pid() argument
1756 tomoyo_write_exception(struct tomoyo_io_buffer *head) tomoyo_write_exception() argument
1797 tomoyo_read_group(struct tomoyo_io_buffer *head, const int idx) tomoyo_read_group() argument
1856 tomoyo_read_policy(struct tomoyo_io_buffer *head, const int idx) tomoyo_read_policy() argument
1916 tomoyo_read_exception(struct tomoyo_io_buffer *head) tomoyo_read_exception() argument
2202 tomoyo_read_query(struct tomoyo_io_buffer *head) tomoyo_read_query() argument
2263 tomoyo_write_answer(struct tomoyo_io_buffer *head) tomoyo_write_answer() argument
2302 tomoyo_read_version(struct tomoyo_io_buffer *head) tomoyo_read_version() argument
2350 tomoyo_read_stat(struct tomoyo_io_buffer *head) tomoyo_read_stat() argument
2394 tomoyo_write_stat(struct tomoyo_io_buffer *head) tomoyo_write_stat() argument
2416 struct tomoyo_io_buffer *head = kzalloc(sizeof(*head), GFP_NOFS); tomoyo_open_control() local
2526 struct tomoyo_io_buffer *head = file->private_data; tomoyo_poll_control() local
2540 tomoyo_set_namespace_cursor(struct tomoyo_io_buffer *head) tomoyo_set_namespace_cursor() argument
2566 tomoyo_has_more_namespace(struct tomoyo_io_buffer *head) tomoyo_has_more_namespace() argument
2582 tomoyo_read_control(struct tomoyo_io_buffer *head, char __user *buffer, const int buffer_len) tomoyo_read_control() argument
2618 tomoyo_parse_policy(struct tomoyo_io_buffer *head, char *line) tomoyo_parse_policy() argument
2655 tomoyo_write_control(struct tomoyo_io_buffer *head, const char __user *buffer, const int buffer_len) tomoyo_write_control() argument
2756 tomoyo_close_control(struct tomoyo_io_buffer *head) tomoyo_close_control() argument
2833 struct tomoyo_io_buffer head = { }; tomoyo_load_builtin_policy() local
[all...]
/kernel/linux/linux-6.6/security/tomoyo/
H A Dcommon.c201 * @head: Pointer to "struct tomoyo_io_buffer".
205 static bool tomoyo_flush(struct tomoyo_io_buffer *head) in tomoyo_flush() argument
207 while (head->r.w_pos) { in tomoyo_flush()
208 const char *w = head->r.w[0]; in tomoyo_flush()
212 if (len > head->read_user_buf_avail) in tomoyo_flush()
213 len = head->read_user_buf_avail; in tomoyo_flush()
216 if (copy_to_user(head->read_user_buf, w, len)) in tomoyo_flush()
218 head->read_user_buf_avail -= len; in tomoyo_flush()
219 head->read_user_buf += len; in tomoyo_flush()
222 head in tomoyo_flush()
251 tomoyo_set_string(struct tomoyo_io_buffer *head, const char *string) tomoyo_set_string() argument
269 tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt, ...) tomoyo_io_printf() argument
297 tomoyo_set_space(struct tomoyo_io_buffer *head) tomoyo_set_space() argument
309 tomoyo_set_lf(struct tomoyo_io_buffer *head) tomoyo_set_lf() argument
322 tomoyo_set_slash(struct tomoyo_io_buffer *head) tomoyo_set_slash() argument
361 tomoyo_print_namespace(struct tomoyo_io_buffer *head) tomoyo_print_namespace() argument
378 tomoyo_print_name_union(struct tomoyo_io_buffer *head, const struct tomoyo_name_union *ptr) tomoyo_print_name_union() argument
398 tomoyo_print_name_union_quoted(struct tomoyo_io_buffer *head, const struct tomoyo_name_union *ptr) tomoyo_print_name_union_quoted() argument
419 tomoyo_print_number_union_nospace(struct tomoyo_io_buffer *head, const struct tomoyo_number_union *ptr) tomoyo_print_number_union_nospace() argument
467 tomoyo_print_number_union(struct tomoyo_io_buffer *head, const struct tomoyo_number_union *ptr) tomoyo_print_number_union() argument
666 tomoyo_write_profile(struct tomoyo_io_buffer *head) tomoyo_write_profile() argument
721 tomoyo_print_config(struct tomoyo_io_buffer *head, const u8 config) tomoyo_print_config() argument
736 tomoyo_read_profile(struct tomoyo_io_buffer *head) tomoyo_read_profile() argument
885 tomoyo_write_manager(struct tomoyo_io_buffer *head) tomoyo_write_manager() argument
903 tomoyo_read_manager(struct tomoyo_io_buffer *head) tomoyo_read_manager() argument
982 tomoyo_select_domain(struct tomoyo_io_buffer *head, const char *data) tomoyo_select_domain() argument
1164 tomoyo_write_domain(struct tomoyo_io_buffer *head) tomoyo_write_domain() argument
1224 tomoyo_print_condition(struct tomoyo_io_buffer *head, const struct tomoyo_condition *cond) tomoyo_print_condition() argument
1365 tomoyo_set_group(struct tomoyo_io_buffer *head, const char *category) tomoyo_set_group() argument
1384 tomoyo_print_entry(struct tomoyo_io_buffer *head, struct tomoyo_acl_info *acl) tomoyo_print_entry() argument
1589 tomoyo_read_domain2(struct tomoyo_io_buffer *head, struct list_head *list) tomoyo_read_domain2() argument
1610 tomoyo_read_domain(struct tomoyo_io_buffer *head) tomoyo_read_domain() argument
1672 tomoyo_write_pid(struct tomoyo_io_buffer *head) tomoyo_write_pid() argument
1688 tomoyo_read_pid(struct tomoyo_io_buffer *head) tomoyo_read_pid() argument
1748 tomoyo_write_exception(struct tomoyo_io_buffer *head) tomoyo_write_exception() argument
1789 tomoyo_read_group(struct tomoyo_io_buffer *head, const int idx) tomoyo_read_group() argument
1848 tomoyo_read_policy(struct tomoyo_io_buffer *head, const int idx) tomoyo_read_policy() argument
1908 tomoyo_read_exception(struct tomoyo_io_buffer *head) tomoyo_read_exception() argument
2194 tomoyo_read_query(struct tomoyo_io_buffer *head) tomoyo_read_query() argument
2255 tomoyo_write_answer(struct tomoyo_io_buffer *head) tomoyo_write_answer() argument
2294 tomoyo_read_version(struct tomoyo_io_buffer *head) tomoyo_read_version() argument
2342 tomoyo_read_stat(struct tomoyo_io_buffer *head) tomoyo_read_stat() argument
2386 tomoyo_write_stat(struct tomoyo_io_buffer *head) tomoyo_write_stat() argument
2408 struct tomoyo_io_buffer *head = kzalloc(sizeof(*head), GFP_NOFS); tomoyo_open_control() local
2518 struct tomoyo_io_buffer *head = file->private_data; tomoyo_poll_control() local
2532 tomoyo_set_namespace_cursor(struct tomoyo_io_buffer *head) tomoyo_set_namespace_cursor() argument
2558 tomoyo_has_more_namespace(struct tomoyo_io_buffer *head) tomoyo_has_more_namespace() argument
2574 tomoyo_read_control(struct tomoyo_io_buffer *head, char __user *buffer, const int buffer_len) tomoyo_read_control() argument
2610 tomoyo_parse_policy(struct tomoyo_io_buffer *head, char *line) tomoyo_parse_policy() argument
2647 tomoyo_write_control(struct tomoyo_io_buffer *head, const char __user *buffer, const int buffer_len) tomoyo_write_control() argument
2749 tomoyo_close_control(struct tomoyo_io_buffer *head) tomoyo_close_control() argument
2826 struct tomoyo_io_buffer head = { }; tomoyo_load_builtin_policy() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
H A Dqueue.h40 * added to the list after an existing element or at the head of the list.
41 * Elements being removed from the head of the list should use the explicit
48 * head of the list and the other to the tail of the list. The elements are
51 * to the list after an existing element, at the head of the list, or at the
52 * end of the list. Elements being removed from the head of the tail queue
62 * or after an existing element or at the head of the list. A list
65 * A tail queue is headed by a pair of pointers, one to the head of the
69 * after an existing element, at the head of the list, or at the end of
72 * A circle queue is headed by a pair of pointers, one to the head of the
76 * an existing element, at the head o
[all...]
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/
H A Dqueue.h40 * added to the list after an existing element or at the head of the list.
41 * Elements being removed from the head of the list should use the explicit
48 * head of the list and the other to the tail of the list. The elements are
51 * to the list after an existing element, at the head of the list, or at the
52 * end of the list. Elements being removed from the head of the tail queue
62 * or after an existing element or at the head of the list. A list
65 * A tail queue is headed by a pair of pointers, one to the head of the
69 * after an existing element, at the head of the list, or at the end of
72 * A circle queue is headed by a pair of pointers, one to the head of the
76 * an existing element, at the head o
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/
H A Dutlist.h42 * Either way, the pointer to the head of the list must be initialized to NULL.
83 * namely, we always reassign our tmp variable to the list head if we need
84 * to dereference its prev/next pointers, and save/restore the real head.*/
316 #define LL_PREPEND(head,add) \
317 LL_PREPEND2(head,add,next)
319 #define LL_PREPEND2(head,add,next) \
321 (add)->next = (head); \
322 (head) = (add); \
340 #define LL_APPEND(head,add) \
341 LL_APPEND2(head,ad
[all...]
H A Duthash.h123 #define HASH_FIND_BYHASHVALUE(hh,head,keyptr,keylen,hashval,out) \
126 if (head) { \
128 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _hf_bkt); \
129 if (HASH_BLOOM_TEST((head)->hh.tbl, hashval) != 0) { \
130 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, out); \
135 #define HASH_FIND(hh,head,keyptr,keylen,out) \
139 HASH_FIND_BYHASHVALUE(hh, head, keyptr, keylen, _hf_hashv, out); \
178 #define HASH_MAKE_TABLE(hh,head) \
180 (head)
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dlist.h162 * @head: list head to add it after
164 * Insert a new entry after the specified head.
167 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
169 __list_add(new, head, head->next); in list_add()
176 * @head: list head to add it before
178 * Insert a new entry before the specified head.
181 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
296 list_move(struct list_head *list, struct list_head *head) list_move() argument
307 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument
323 list_bulk_move_tail(struct list_head *head, struct list_head *first, struct list_head *last) list_bulk_move_tail() argument
342 list_is_first(const struct list_head *list, const struct list_head *head) list_is_first() argument
352 list_is_last(const struct list_head *list, const struct list_head *head) list_is_last() argument
362 list_is_head(const struct list_head *list, const struct list_head *head) list_is_head() argument
371 list_empty(const struct list_head *head) list_empty() argument
407 list_empty_careful(const struct list_head *head) list_empty_careful() argument
417 list_rotate_left(struct list_head *head) list_rotate_left() argument
434 list_rotate_to_front(struct list_head *list, struct list_head *head) list_rotate_to_front() argument
449 list_is_singular(const struct list_head *head) list_is_singular() argument
454 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) __list_cut_position() argument
480 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) list_cut_position() argument
507 list_cut_before(struct list_head *list, struct list_head *head, struct list_head *entry) list_cut_before() argument
542 list_splice(const struct list_head *list, struct list_head *head) list_splice() argument
554 list_splice_tail(struct list_head *list, struct list_head *head) list_splice_tail() argument
568 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument
585 list_splice_tail_init(struct list_head *list, struct list_head *head) list_splice_tail_init() argument
743 list_count_nodes(struct list_head *head) list_count_nodes() argument
[all...]
H A Dplist.h94 * @head: struct plist_head variable name
96 #define PLIST_HEAD_INIT(head) \
98 .node_list = LIST_HEAD_INIT((head).node_list) \
103 * @head: name for struct plist_head variable
105 #define PLIST_HEAD(head) \
106 struct plist_head head = PLIST_HEAD_INIT(head)
122 * @head: &struct plist_head pointer
125 plist_head_init(struct plist_head *head) in plist_head_init() argument
127 INIT_LIST_HEAD(&head in plist_head_init()
213 plist_head_empty(const struct plist_head *head) plist_head_empty() argument
283 plist_first(const struct plist_head *head) plist_first() argument
295 plist_last(const struct plist_head *head) plist_last() argument
[all...]
/device/soc/rockchip/rk2206/hardware/include/sys/
H A Dqueue.h46 * added to the list after an existing element or at the head of the list.
47 * Elements being removed from the head of the list should use the explicit
54 * head of the list and the other to the tail of the list. The elements are
57 * to the list after an existing element, at the head of the list, or at the
58 * end of the list. Elements being removed from the head of the tail queue
68 * or after an existing element or at the head of the list. A list
71 * A tail queue is headed by a pair of pointers, one to the head of the
75 * after an existing element, at the head of the list, or at the end of
111 /* Store the last 2 places the queue element or head was altered */
124 #define QMD_TRACE_HEAD(head) d
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dplist.h91 * @head: struct plist_head variable name
93 #define PLIST_HEAD_INIT(head) \
95 .node_list = LIST_HEAD_INIT((head).node_list) \
100 * @head: name for struct plist_head variable
102 #define PLIST_HEAD(head) \
103 struct plist_head head = PLIST_HEAD_INIT(head)
119 * @head: &struct plist_head pointer
122 plist_head_init(struct plist_head *head) in plist_head_init() argument
124 INIT_LIST_HEAD(&head in plist_head_init()
210 plist_head_empty(const struct plist_head *head) plist_head_empty() argument
280 plist_first(const struct plist_head *head) plist_first() argument
292 plist_last(const struct plist_head *head) plist_last() argument
[all...]
H A Dlist.h79 * @head: list head to add it after
81 * Insert a new entry after the specified head.
84 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
86 __list_add(new, head, head->next); in list_add()
93 * @head: list head to add it before
95 * Insert a new entry before the specified head.
98 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
213 list_move(struct list_head *list, struct list_head *head) list_move() argument
224 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument
240 list_bulk_move_tail(struct list_head *head, struct list_head *first, struct list_head *last) list_bulk_move_tail() argument
259 list_is_first(const struct list_head *list, const struct list_head *head) list_is_first() argument
270 list_is_last(const struct list_head *list, const struct list_head *head) list_is_last() argument
280 list_empty(const struct list_head *head) list_empty() argument
316 list_empty_careful(const struct list_head *head) list_empty_careful() argument
326 list_rotate_left(struct list_head *head) list_rotate_left() argument
343 list_rotate_to_front(struct list_head *list, struct list_head *head) list_rotate_to_front() argument
358 list_is_singular(const struct list_head *head) list_is_singular() argument
363 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) __list_cut_position() argument
389 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) list_cut_position() argument
417 list_cut_before(struct list_head *list, struct list_head *head, struct list_head *entry) list_cut_before() argument
452 list_splice(const struct list_head *list, struct list_head *head) list_splice() argument
464 list_splice_tail(struct list_head *list, struct list_head *head) list_splice_tail() argument
478 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument
495 list_splice_tail_init(struct list_head *list, struct list_head *head) list_splice_tail_init() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/
H A Dosal_list.h70 * @head: list head to add it after
72 * Insert a new entry after the specified head.
75 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument
77 osal___list_add(new, head, head->next); in osal_list_add()
83 * @head: list head to add it before
85 * Insert a new entry before the specified head.
88 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument
165 osal_list_move(struct osal_list_head *list, struct osal_list_head *head) osal_list_move() argument
176 osal_list_move_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_move_tail() argument
188 osal_list_is_last(const struct osal_list_head *list, const struct osal_list_head *head) osal_list_is_last() argument
198 osal_list_empty(const struct osal_list_head *head) osal_list_empty() argument
216 osal_list_empty_careful(const struct osal_list_head *head) osal_list_empty_careful() argument
226 osal_list_rotate_left(struct osal_list_head *head) osal_list_rotate_left() argument
240 osal_list_is_singular(const struct osal_list_head *head) osal_list_is_singular() argument
245 osal___list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal___list_cut_position() argument
271 osal_list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal_list_cut_position() argument
307 osal_list_splice(const struct osal_list_head *list, struct osal_list_head *head) osal_list_splice() argument
320 osal_list_splice_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail() argument
335 osal_list_splice_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_init() argument
352 osal_list_splice_tail_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail_init() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dosal_list.h67 * @head: list head to add it after
69 * Insert a new entry after the specified head.
72 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument
74 osal___list_add(new, head, head->next); in osal_list_add()
80 * @head: list head to add it before
82 * Insert a new entry before the specified head.
85 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument
162 osal_list_move(struct osal_list_head *list, struct osal_list_head *head) osal_list_move() argument
173 osal_list_move_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_move_tail() argument
185 osal_list_is_last(const struct osal_list_head *list, const struct osal_list_head *head) osal_list_is_last() argument
195 osal_list_empty(const struct osal_list_head *head) osal_list_empty() argument
213 osal_list_empty_careful(const struct osal_list_head *head) osal_list_empty_careful() argument
223 osal_list_rotate_left(struct osal_list_head *head) osal_list_rotate_left() argument
237 osal_list_is_singular(const struct osal_list_head *head) osal_list_is_singular() argument
242 osal___list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal___list_cut_position() argument
268 osal_list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal_list_cut_position() argument
304 osal_list_splice(const struct osal_list_head *list, struct osal_list_head *head) osal_list_splice() argument
317 osal_list_splice_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail() argument
332 osal_list_splice_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_init() argument
349 osal_list_splice_tail_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail_init() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dosal_list.h66 * @head: list head to add it after
68 * Insert a new entry after the specified head.
71 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument
73 osal___list_add(new, head, head->next); in osal_list_add()
79 * @head: list head to add it before
81 * Insert a new entry before the specified head.
84 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument
161 osal_list_move(struct osal_list_head *list, struct osal_list_head *head) osal_list_move() argument
172 osal_list_move_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_move_tail() argument
184 osal_list_is_last(const struct osal_list_head *list, const struct osal_list_head *head) osal_list_is_last() argument
194 osal_list_empty(const struct osal_list_head *head) osal_list_empty() argument
212 osal_list_empty_careful(const struct osal_list_head *head) osal_list_empty_careful() argument
222 osal_list_rotate_left(struct osal_list_head *head) osal_list_rotate_left() argument
236 osal_list_is_singular(const struct osal_list_head *head) osal_list_is_singular() argument
241 osal___list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal___list_cut_position() argument
267 osal_list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal_list_cut_position() argument
303 osal_list_splice(const struct osal_list_head *list, struct osal_list_head *head) osal_list_splice() argument
316 osal_list_splice_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail() argument
331 osal_list_splice_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_init() argument
348 osal_list_splice_tail_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail_init() argument
[all...]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
H A Dosal_list.h69 * @head: list head to add it after
71 * Insert a new entry after the specified head.
74 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument
76 osal___list_add(new, head, head->next); in osal_list_add()
82 * @head: list head to add it before
84 * Insert a new entry before the specified head.
87 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument
164 osal_list_move(struct osal_list_head *list, struct osal_list_head *head) osal_list_move() argument
175 osal_list_move_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_move_tail() argument
187 osal_list_is_last(const struct osal_list_head *list, const struct osal_list_head *head) osal_list_is_last() argument
197 osal_list_empty(const struct osal_list_head *head) osal_list_empty() argument
215 osal_list_empty_careful(const struct osal_list_head *head) osal_list_empty_careful() argument
225 osal_list_rotate_left(struct osal_list_head *head) osal_list_rotate_left() argument
239 osal_list_is_singular(const struct osal_list_head *head) osal_list_is_singular() argument
244 osal___list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal___list_cut_position() argument
270 osal_list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal_list_cut_position() argument
302 osal_list_splice(const struct osal_list_head *list, struct osal_list_head *head) osal_list_splice() argument
315 osal_list_splice_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail() argument
330 osal_list_splice_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_init() argument
347 osal_list_splice_tail_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail_init() argument
[all...]
/kernel/linux/linux-5.10/tools/include/linux/
H A Dlist.h56 * @head: list head to add it after
58 * Insert a new entry after the specified head.
61 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
63 __list_add(new, head, head->next); in list_add()
70 * @head: list head to add it before
72 * Insert a new entry before the specified head.
75 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
154 list_move(struct list_head *list, struct list_head *head) list_move() argument
165 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument
177 list_is_last(const struct list_head *list, const struct list_head *head) list_is_last() argument
187 list_empty(const struct list_head *head) list_empty() argument
205 list_empty_careful(const struct list_head *head) list_empty_careful() argument
215 list_rotate_left(struct list_head *head) list_rotate_left() argument
229 list_is_singular(const struct list_head *head) list_is_singular() argument
234 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) __list_cut_position() argument
260 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) list_cut_position() argument
293 list_splice(const struct list_head *list, struct list_head *head) list_splice() argument
305 list_splice_tail(struct list_head *list, struct list_head *head) list_splice_tail() argument
319 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument
336 list_splice_tail_init(struct list_head *list, struct list_head *head) list_splice_tail_init() argument
[all...]
/kernel/linux/linux-6.6/tools/include/linux/
H A Dlist.h56 * @head: list head to add it after
58 * Insert a new entry after the specified head.
61 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
63 __list_add(new, head, head->next); in list_add()
70 * @head: list head to add it before
72 * Insert a new entry before the specified head.
75 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
154 list_move(struct list_head *list, struct list_head *head) list_move() argument
165 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument
177 list_is_last(const struct list_head *list, const struct list_head *head) list_is_last() argument
187 list_empty(const struct list_head *head) list_empty() argument
205 list_empty_careful(const struct list_head *head) list_empty_careful() argument
215 list_rotate_left(struct list_head *head) list_rotate_left() argument
229 list_is_singular(const struct list_head *head) list_is_singular() argument
234 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) __list_cut_position() argument
260 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) list_cut_position() argument
293 list_splice(const struct list_head *list, struct list_head *head) list_splice() argument
305 list_splice_tail(struct list_head *list, struct list_head *head) list_splice_tail() argument
319 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument
336 list_splice_tail_init(struct list_head *list, struct list_head *head) list_splice_tail_init() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
H A Dhw.c39 NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaSeq() argument
41 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index); in NVWriteVgaSeq()
42 NVWritePRMVIO(dev, head, NV_PRMVIO_SR, value); in NVWriteVgaSeq()
46 NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index) in NVReadVgaSeq() argument
48 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index); in NVReadVgaSeq()
49 return NVReadPRMVIO(dev, head, NV_PRMVIO_SR); in NVReadVgaSeq()
53 NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaGr() argument
55 NVWritePRMVIO(dev, head, NV_PRMVIO_GRX, index); in NVWriteVgaGr()
56 NVWritePRMVIO(dev, head, NV_PRMVIO_GX, value); in NVWriteVgaGr()
60 NVReadVgaGr(struct drm_device *dev, int head, uint8_ argument
110 NVBlankScreen(struct drm_device *dev, int head, bool blank) NVBlankScreen() argument
251 nouveau_hw_fix_bad_vpll(struct drm_device *dev, int head) nouveau_hw_fix_bad_vpll() argument
378 rd_cio_state(struct drm_device *dev, int head, struct nv04_crtc_reg *crtcstate, int index) rd_cio_state() argument
385 wr_cio_state(struct drm_device *dev, int head, struct nv04_crtc_reg *crtcstate, int index) wr_cio_state() argument
392 nv_save_state_ramdac(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_save_state_ramdac() argument
467 nv_load_state_ramdac(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_load_state_ramdac() argument
539 nv_save_state_vga(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_save_state_vga() argument
563 nv_load_state_vga(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_load_state_vga() argument
589 nv_save_state_ext(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_save_state_ext() argument
664 nv_load_state_ext(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_load_state_ext() argument
775 nv_save_state_palette(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_save_state_palette() argument
794 nouveau_hw_load_state_palette(struct drm_device *dev, int head, struct nv04_mode_state *state) nouveau_hw_load_state_palette() argument
812 nouveau_hw_save_state(struct drm_device *dev, int head, struct nv04_mode_state *state) nouveau_hw_save_state() argument
826 nouveau_hw_load_state(struct drm_device *dev, int head, struct nv04_mode_state *state) nouveau_hw_load_state() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv04/
H A Dhw.c39 NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaSeq() argument
41 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index); in NVWriteVgaSeq()
42 NVWritePRMVIO(dev, head, NV_PRMVIO_SR, value); in NVWriteVgaSeq()
46 NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index) in NVReadVgaSeq() argument
48 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index); in NVReadVgaSeq()
49 return NVReadPRMVIO(dev, head, NV_PRMVIO_SR); in NVReadVgaSeq()
53 NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaGr() argument
55 NVWritePRMVIO(dev, head, NV_PRMVIO_GRX, index); in NVWriteVgaGr()
56 NVWritePRMVIO(dev, head, NV_PRMVIO_GX, value); in NVWriteVgaGr()
60 NVReadVgaGr(struct drm_device *dev, int head, uint8_ argument
110 NVBlankScreen(struct drm_device *dev, int head, bool blank) NVBlankScreen() argument
252 nouveau_hw_fix_bad_vpll(struct drm_device *dev, int head) nouveau_hw_fix_bad_vpll() argument
380 rd_cio_state(struct drm_device *dev, int head, struct nv04_crtc_reg *crtcstate, int index) rd_cio_state() argument
387 wr_cio_state(struct drm_device *dev, int head, struct nv04_crtc_reg *crtcstate, int index) wr_cio_state() argument
394 nv_save_state_ramdac(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_save_state_ramdac() argument
469 nv_load_state_ramdac(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_load_state_ramdac() argument
541 nv_save_state_vga(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_save_state_vga() argument
565 nv_load_state_vga(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_load_state_vga() argument
591 nv_save_state_ext(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_save_state_ext() argument
666 nv_load_state_ext(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_load_state_ext() argument
777 nv_save_state_palette(struct drm_device *dev, int head, struct nv04_mode_state *state) nv_save_state_palette() argument
796 nouveau_hw_load_state_palette(struct drm_device *dev, int head, struct nv04_mode_state *state) nouveau_hw_load_state_palette() argument
814 nouveau_hw_save_state(struct drm_device *dev, int head, struct nv04_mode_state *state) nouveau_hw_save_state() argument
828 nouveau_hw_load_state(struct drm_device *dev, int head, struct nv04_mode_state *state) nouveau_hw_load_state() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dhead.c24 #include "head.h"
34 struct nvkm_head *head; in nvkm_head_find() local
35 list_for_each_entry(head, &disp->head, head) { in nvkm_head_find()
36 if (head->id == id) in nvkm_head_find()
37 return head; in nvkm_head_find()
44 struct nvkm_head *head, void *data, u32 size) in nvkm_head_mthd_scanoutpos()
51 nvif_ioctl(object, "head scanoutpos size %d\n", size); in nvkm_head_mthd_scanoutpos()
53 nvif_ioctl(object, "head scanoutpo in nvkm_head_mthd_scanoutpos()
43 nvkm_head_mthd_scanoutpos(struct nvkm_object *object, struct nvkm_head *head, void *data, u32 size) nvkm_head_mthd_scanoutpos() argument
83 struct nvkm_head *head = *phead; nvkm_head_del() local
96 struct nvkm_head *head; nvkm_head_new_() local
[all...]
/kernel/linux/linux-5.10/net/sched/
H A Dcls_matchall.c30 struct cls_mall_head *head = rcu_dereference_bh(tp->root); in mall_classify() local
32 if (unlikely(!head)) in mall_classify()
35 if (tc_skip_sw(head->flags)) in mall_classify()
38 *res = head->res; in mall_classify()
39 __this_cpu_inc(head->pf->rhit); in mall_classify()
40 return tcf_exts_exec(skb, &head->exts, res); in mall_classify()
48 static void __mall_destroy(struct cls_mall_head *head) in __mall_destroy() argument
50 tcf_exts_destroy(&head->exts); in __mall_destroy()
51 tcf_exts_put_net(&head->exts); in __mall_destroy()
52 free_percpu(head in __mall_destroy()
58 struct cls_mall_head *head = container_of(to_rcu_work(work), mall_destroy_work() local
66 mall_destroy_hw_filter(struct tcf_proto *tp, struct cls_mall_head *head, unsigned long cookie, struct netlink_ext_ack *extack) mall_destroy_hw_filter() argument
82 mall_replace_hw_filter(struct tcf_proto *tp, struct cls_mall_head *head, unsigned long cookie, struct netlink_ext_ack *extack) mall_replace_hw_filter() argument
131 struct cls_mall_head *head = rtnl_dereference(tp->root); mall_destroy() local
149 struct cls_mall_head *head = rtnl_dereference(tp->root); mall_get() local
163 mall_set_parms(struct net *net, struct tcf_proto *tp, struct cls_mall_head *head, unsigned long base, struct nlattr **tb, struct nlattr *est, bool ovr, struct netlink_ext_ack *extack) mall_set_parms() argument
189 struct cls_mall_head *head = rtnl_dereference(tp->root); mall_change() local
262 struct cls_mall_head *head = rtnl_dereference(tp->root); mall_delete() local
272 struct cls_mall_head *head = rtnl_dereference(tp->root); mall_walk() local
288 struct cls_mall_head *head = rtnl_dereference(tp->root); mall_reoffload() local
327 mall_stats_hw_filter(struct tcf_proto *tp, struct cls_mall_head *head, unsigned long cookie) mall_stats_hw_filter() argument
351 struct cls_mall_head *head = fh; mall_dump() local
403 struct cls_mall_head *head = fh; mall_bind_class() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/signal/testcases/
H A Dtestcases.c5 struct _aarch64_ctx *get_header(struct _aarch64_ctx *head, uint32_t magic, in get_header() argument
11 if (!head || resv_sz < HDR_SZ) in get_header()
15 head->magic != magic && head->magic) { in get_header()
16 offs += head->size; in get_header()
17 head = GET_RESV_NEXT_HEAD(head); in get_header()
19 if (head->magic == magic) { in get_header()
20 found = head; in get_header()
36 term = GET_RESV_NEXT_HEAD(&extra->head); in validate_extra_context()
59 struct _aarch64_ctx *head = validate_reserved() local
175 struct _aarch64_ctx *head; get_starting_head() local
[all...]
/test/xts/device_attest/services/core/utils/
H A Dattest_utils_list.c30 list->head = NULL; in CreateList()
39 ListNode* head = list->head; in AddListNode() local
41 if (head == NULL) { in AddListNode()
45 while (head != NULL && head->next != NULL) { in AddListNode()
46 head = head->next; in AddListNode()
60 if (list->head == NULL) { in AddListNode()
61 list->head in AddListNode()
74 ListNode* head = list->head; GetListSize() local
88 ListNode* head = list->head; ReleaseList() local
[all...]
/test/xts/device_attest_lite/services/core/utils/
H A Dattest_utils_list.c30 list->head = NULL; in CreateList()
39 ListNode* head = list->head; in AddListNode() local
41 if (head == NULL) { in AddListNode()
45 while (head != NULL && head->next != NULL) { in AddListNode()
46 head = head->next; in AddListNode()
60 if (list->head == NULL) { in AddListNode()
61 list->head in AddListNode()
74 ListNode* head = list->head; GetListSize() local
88 ListNode* head = list->head; ReleaseList() local
[all...]

Completed in 20 milliseconds

12345678910>>...215