Home
last modified time | relevance | path

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

12345678910>>...259

/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...]
/third_party/libcoap/include/coap3/
H A Dcoap_utlist_internal.h40 * Either way, the pointer to the head of the list must be initialized to NULL.
81 * namely, we always reassign our tmp variable to the list head if we need
82 * to dereference its prev/next pointers, and save/restore the real head.*/
314 #define LL_PREPEND(head,add) \
315 LL_PREPEND2(head,add,next)
317 #define LL_PREPEND2(head,add,next) \
319 (add)->next = (head); \
320 (head) = (add); \
338 #define LL_APPEND(head,add) \
339 LL_APPEND2(head,ad
[all...]
H A Dcoap_uthash_internal.h139 #define HASH_ROLLBACK_BKT(hh, head, itemptrhh) \
143 HASH_TO_BKT(_hd_hh_item->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \
144 (head)->hh.tbl->buckets[_hd_bkt].count++; \
154 #define HASH_FIND_BYHASHVALUE(hh,head,keyptr,keylen,hashval,out) \
157 if (head) { \
159 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _hf_bkt); \
160 if (HASH_BLOOM_TEST((head)->hh.tbl, hashval) != 0) { \
161 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, out); \
166 #define HASH_FIND(hh,head,keypt
[all...]
/third_party/libwebsockets/lib/misc/lwsac/
H A Dlwsac.c29 lws_list_ptr_insert(lws_list_ptr *head, lws_list_ptr *add, in lws_list_ptr_insert() argument
32 while (sort_func && *head) { in lws_list_ptr_insert()
33 if (sort_func(add, *head) <= 0) in lws_list_ptr_insert()
36 head = *head; in lws_list_ptr_insert()
39 *add = *head; in lws_list_ptr_insert()
40 *head = add; in lws_list_ptr_insert()
73 lwsac_extend(struct lwsac *head, size_t amount) in lwsac_extend() argument
78 assert(head); in lwsac_extend()
79 lachead = (struct lwsac_head *)&head[ in lwsac_extend()
96 _lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size, char backfill) _lwsac_use() argument
202 lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size) lwsac_use() argument
208 lwsac_use_backfill(struct lwsac **head, size_t ensure, size_t chunk_size) lwsac_use_backfill() argument
214 lwsac_scan_extant(struct lwsac *head, uint8_t *find, size_t len, int nul) lwsac_scan_extant() argument
237 lwsac_total_overhead(struct lwsac *head) lwsac_total_overhead() argument
251 lwsac_use_zero(struct lwsac **head, size_t ensure, size_t chunk_size) lwsac_use_zero() argument
262 lwsac_free(struct lwsac **head) lwsac_free() argument
278 lwsac_info(struct lwsac *head) lwsac_info() argument
296 lwsac_total_alloc(struct lwsac *head) lwsac_total_alloc() argument
308 lwsac_reference(struct lwsac *head) lwsac_reference() argument
318 lwsac_unreference(struct lwsac **head) lwsac_unreference() argument
342 lwsac_detach(struct lwsac **head) lwsac_detach() argument
[all...]
/third_party/FreeBSD/sys/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
119 /* Store the last 2 places the queue element or head was altered */
132 #define QMD_TRACE_HEAD(head) d
[all...]
/third_party/libwebsockets/lib/core/
H A Dbuflist.c34 lws_buflist_append_segment(struct lws_buflist **head, const uint8_t *buf, in lws_buflist_append_segment() argument
38 int first = !*head; in lws_buflist_append_segment()
39 void *p = *head; in lws_buflist_append_segment()
46 while (*head) { in lws_buflist_append_segment()
51 if (*head == (*head)->next) { in lws_buflist_append_segment()
55 head = &((*head)->next); in lws_buflist_append_segment()
77 *head = nbuf; in lws_buflist_append_segment()
83 lws_buflist_destroy_segment(struct lws_buflist **head) in lws_buflist_destroy_segment() argument
97 lws_buflist_destroy_all_segments(struct lws_buflist **head) lws_buflist_destroy_all_segments() argument
112 lws_buflist_next_segment_len(struct lws_buflist **head, uint8_t **buf) lws_buflist_next_segment_len() argument
139 lws_buflist_use_segment(struct lws_buflist **head, size_t len) lws_buflist_use_segment() argument
162 lws_buflist_total_len(struct lws_buflist **head) lws_buflist_total_len() argument
176 lws_buflist_linear_copy(struct lws_buflist **head, size_t ofs, uint8_t *buf, size_t len) lws_buflist_linear_copy() argument
201 lws_buflist_linear_use(struct lws_buflist **head, uint8_t *buf, size_t len) lws_buflist_linear_use() argument
221 lws_buflist_fragment_use(struct lws_buflist **head, uint8_t *buf, size_t len, char *frag_first, char *frag_fin) lws_buflist_fragment_use() argument
250 lws_buflist_describe(struct lws_buflist **head, void *id, const char *reason) lws_buflist_describe() argument
[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...]
/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/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...]
/third_party/ltp/testcases/realtime/include/
H A Dlist.h94 * @head: list head to add it after
96 * Insert a new entry after the specified head.
99 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
101 __list_add(new, head, head->next); in list_add()
107 * @head: list head to add it before
109 * Insert a new entry before the specified head.
112 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
158 list_move(struct list_head *list, struct list_head *head) list_move() argument
169 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument
180 list_empty(const struct list_head *head) list_empty() argument
197 list_empty_careful(const struct list_head *head) list_empty_careful() argument
203 __list_splice(struct list_head *list, struct list_head *head) __list_splice() argument
222 list_splice(struct list_head *list, struct list_head *head) list_splice() argument
235 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument
[all...]
/third_party/exfatprogs/include/
H A Dlist.h64 * @head: list head to add it after
66 * Insert a new entry after the specified head.
69 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
71 __list_add(new, head, head->next); in list_add()
77 * @head: list head to add it before
79 * Insert a new entry before the specified head.
82 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
128 list_move(struct list_head *list, struct list_head *head) list_move() argument
139 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument
150 list_empty(const struct list_head *head) list_empty() argument
155 __list_splice(struct list_head *list, struct list_head *head) __list_splice() argument
174 list_splice(struct list_head *list, struct list_head *head) list_splice() argument
187 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument
[all...]

Completed in 17 milliseconds

12345678910>>...259