/kernel/linux/common_modules/newip/src/common/ |
H A D | nip_hdr_encap.c | 42 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 D | common.c | 209 * @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 D | common.c | 201 * @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 D | queue.h | 40 * 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 D | queue.h | 40 * 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...] |
/third_party/libcoap/include/coap3/ |
H A D | coap_utlist_internal.h | 40 * 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 D | coap_uthash_internal.h | 139 #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 D | lwsac.c | 29 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 D | queue.h | 46 * 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...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | list.h | 162 * @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 D | plist.h | 94 * @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...] |
/third_party/libwebsockets/lib/core/ |
H A D | buflist.c | 34 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-5.10/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | hw.c | 39 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 D | hw.c | 39 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/tools/include/linux/ |
H A D | list.h | 56 * @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 D | list.h | 56 * @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/include/linux/ |
H A D | list.h | 79 * @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...] |
H A D | plist.h | 91 * @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 D | list.h | 94 * @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 D | list.h | 64 * @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...] |
/third_party/alsa-utils/alsactl/ |
H A D | list.h | 73 * @head: list head to add it after 75 * Insert a new entry after the specified head. 78 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument 80 __list_add(new, head, head->next); in list_add() 86 * @head: list head to add it before 88 * Insert a new entry before the specified head. 91 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument 137 list_move(struct list_head *list, struct list_head *head) list_move() argument 148 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument 159 list_empty(struct list_head *head) list_empty() argument 164 __list_splice(struct list_head *list, struct list_head *head) __list_splice() argument 183 list_splice(struct list_head *list, struct list_head *head) list_splice() argument 196 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument [all...] |
/third_party/libdrm/intel/ |
H A D | uthash.h | 119 #define HASH_FIND_BYHASHVALUE(hh,head,keyptr,keylen,hashval,out) \ 122 if (head) { \ 124 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _hf_bkt); \ 125 if (HASH_BLOOM_TEST((head)->hh.tbl, hashval) != 0) { \ 126 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, out); \ 131 #define HASH_FIND(hh,head,keyptr,keylen,out) \ 135 HASH_FIND_BYHASHVALUE(hh, head, keyptr, keylen, _hf_hashv, out); \ 172 #define HASH_MAKE_TABLE(hh,head) \ 174 (head) [all...] |
/drivers/hdf_core/interfaces/inner_api/utils/ |
H A D | hdf_dlist.h | 25 * This file provides interfaces such as inserting a node from the head or tail of a doubly linked list, 52 * @param head Indicates the pointer to the linked list {@link DListHead}. The parameter cannot be empty. 56 static inline void DListHeadInit(struct DListHead *head) in DListHeadInit() argument 58 head->next = head; in DListHeadInit() 59 head->prev = head; in DListHeadInit() 65 * @param head Indicates the pointer to the linked list {@link DListHead}. The parameter cannot be empty. 69 static inline bool DListIsEmpty(const struct DListHead *head) in DListIsEmpty() argument 71 return (head in DListIsEmpty() 99 DListInsertHead(struct DListHead *entry, struct DListHead *head) DListInsertHead() argument 117 DListInsertTail(struct DListHead *entry, struct DListHead *head) DListInsertTail() argument 135 DListMerge(struct DListHead *list, struct DListHead *head) DListMerge() argument 153 DListGetCount(const struct DListHead *head) DListGetCount() argument [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | cls_matchall.c | 30 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/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | head.c | 24 #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...] |