/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...] |
/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...] |
H A D | btree-type.h | 14 static inline void BTREE_FN(init_mempool)(BTREE_TYPE_HEAD *head, in init_mempool() argument 17 btree_init_mempool(&head->h, mempool); in init_mempool() 20 static inline int BTREE_FN(init)(BTREE_TYPE_HEAD *head) in init() argument 22 return btree_init(&head->h); in init() 25 static inline void BTREE_FN(destroy)(BTREE_TYPE_HEAD *head) in destroy() argument 27 btree_destroy(&head->h); in destroy() 38 static inline void *BTREE_FN(lookup)(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key) in lookup() argument 41 return btree_lookup(&head->h, BTREE_TYPE_GEO, &_key); in lookup() 44 static inline int BTREE_FN(insert)(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key, in insert() argument 48 return btree_insert(&head in insert() 51 update(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key, void *val) update() argument 58 remove(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key) remove() argument 64 last(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE *key) last() argument 73 get_prev(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE *key) get_prev() argument 82 lookup(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key) lookup() argument 87 insert(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key, void *val, gfp_t gfp) insert() argument 94 update(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key, void *val) update() argument 100 remove(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key) remove() argument 105 last(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE *key) last() argument 110 get_prev(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE *key) get_prev() argument 122 visitor(BTREE_TYPE_HEAD *head, unsigned long opaque, VISITOR_FN_T func2) visitor() argument 130 grim_visitor(BTREE_TYPE_HEAD *head, unsigned long opaque, VISITOR_FN_T func2) grim_visitor() 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/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...] |
H A D | hw.h | 37 void NVWriteVgaSeq(struct drm_device *, int head, uint8_t index, uint8_t value); 38 uint8_t NVReadVgaSeq(struct drm_device *, int head, uint8_t index); 39 void NVWriteVgaGr(struct drm_device *, int head, uint8_t index, uint8_t value); 40 uint8_t NVReadVgaGr(struct drm_device *, int head, uint8_t index); 42 void NVBlankScreen(struct drm_device *, int head, bool blank); 48 void nouveau_hw_save_state(struct drm_device *, int head, 50 void nouveau_hw_load_state(struct drm_device *, int head, 52 void nouveau_hw_load_state_palette(struct drm_device *, int head, 60 int head, uint32_t reg) in NVReadCRTC() 64 if (head) in NVReadCRTC() 59 NVReadCRTC(struct drm_device *dev, int head, uint32_t reg) NVReadCRTC() argument 70 NVWriteCRTC(struct drm_device *dev, int head, uint32_t reg, uint32_t val) NVWriteCRTC() argument 79 NVReadRAMDAC(struct drm_device *dev, int head, uint32_t reg) NVReadRAMDAC() argument 90 NVWriteRAMDAC(struct drm_device *dev, int head, uint32_t reg, uint32_t val) NVWriteRAMDAC() argument 119 NVWriteVgaCrtc(struct drm_device *dev, int head, uint8_t index, uint8_t value) NVWriteVgaCrtc() argument 127 NVReadVgaCrtc(struct drm_device *dev, int head, uint8_t index) NVReadVgaCrtc() argument 152 NVWriteVgaCrtc5758(struct drm_device *dev, int head, uint8_t index, uint8_t value) NVWriteVgaCrtc5758() argument 158 NVReadVgaCrtc5758(struct drm_device *dev, int head, uint8_t index) NVReadVgaCrtc5758() argument 164 NVReadPRMVIO(struct drm_device *dev, int head, uint32_t reg) NVReadPRMVIO() argument 180 NVWritePRMVIO(struct drm_device *dev, int head, uint32_t reg, uint8_t value) NVWritePRMVIO() argument 194 NVSetEnablePalette(struct drm_device *dev, int head, bool enable) NVSetEnablePalette() argument 201 NVGetEnablePalette(struct drm_device *dev, int head) NVGetEnablePalette() argument 208 NVWriteVgaAttr(struct drm_device *dev, int head, uint8_t index, uint8_t value) NVWriteVgaAttr() argument 222 NVReadVgaAttr(struct drm_device *dev, int head, uint8_t index) NVReadVgaAttr() argument 238 NVVgaSeqReset(struct drm_device *dev, int head, bool start) NVVgaSeqReset() argument 243 NVVgaProtect(struct drm_device *dev, int head, bool protect) NVVgaProtect() argument 272 nv_lock_vga_crtc_base(struct drm_device *dev, int head, bool lock) nv_lock_vga_crtc_base() argument 287 nv_lock_vga_crtc_shadow(struct drm_device *dev, int head, int lock) nv_lock_vga_crtc_shadow() argument 341 nv_fix_nv40_hw_cursor(struct drm_device *dev, int head) nv_fix_nv40_hw_cursor() argument 353 nv_set_crtc_base(struct drm_device *dev, int head, uint32_t offset) nv_set_crtc_base() argument 372 nv_show_cursor(struct drm_device *dev, int head, bool show) nv_show_cursor() 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...] |
H A D | hw.h | 37 void NVWriteVgaSeq(struct drm_device *, int head, uint8_t index, uint8_t value); 38 uint8_t NVReadVgaSeq(struct drm_device *, int head, uint8_t index); 39 void NVWriteVgaGr(struct drm_device *, int head, uint8_t index, uint8_t value); 40 uint8_t NVReadVgaGr(struct drm_device *, int head, uint8_t index); 42 void NVBlankScreen(struct drm_device *, int head, bool blank); 48 void nouveau_hw_save_state(struct drm_device *, int head, 50 void nouveau_hw_load_state(struct drm_device *, int head, 52 void nouveau_hw_load_state_palette(struct drm_device *, int head, 60 int head, uint32_t reg) in NVReadCRTC() 64 if (head) in NVReadCRTC() 59 NVReadCRTC(struct drm_device *dev, int head, uint32_t reg) NVReadCRTC() argument 70 NVWriteCRTC(struct drm_device *dev, int head, uint32_t reg, uint32_t val) NVWriteCRTC() argument 79 NVReadRAMDAC(struct drm_device *dev, int head, uint32_t reg) NVReadRAMDAC() argument 90 NVWriteRAMDAC(struct drm_device *dev, int head, uint32_t reg, uint32_t val) NVWriteRAMDAC() argument 119 NVWriteVgaCrtc(struct drm_device *dev, int head, uint8_t index, uint8_t value) NVWriteVgaCrtc() argument 127 NVReadVgaCrtc(struct drm_device *dev, int head, uint8_t index) NVReadVgaCrtc() argument 152 NVWriteVgaCrtc5758(struct drm_device *dev, int head, uint8_t index, uint8_t value) NVWriteVgaCrtc5758() argument 158 NVReadVgaCrtc5758(struct drm_device *dev, int head, uint8_t index) NVReadVgaCrtc5758() argument 164 NVReadPRMVIO(struct drm_device *dev, int head, uint32_t reg) NVReadPRMVIO() argument 180 NVWritePRMVIO(struct drm_device *dev, int head, uint32_t reg, uint8_t value) NVWritePRMVIO() argument 194 NVSetEnablePalette(struct drm_device *dev, int head, bool enable) NVSetEnablePalette() argument 201 NVGetEnablePalette(struct drm_device *dev, int head) NVGetEnablePalette() argument 208 NVWriteVgaAttr(struct drm_device *dev, int head, uint8_t index, uint8_t value) NVWriteVgaAttr() argument 222 NVReadVgaAttr(struct drm_device *dev, int head, uint8_t index) NVReadVgaAttr() argument 238 NVVgaSeqReset(struct drm_device *dev, int head, bool start) NVVgaSeqReset() argument 243 NVVgaProtect(struct drm_device *dev, int head, bool protect) NVVgaProtect() argument 272 nv_lock_vga_crtc_base(struct drm_device *dev, int head, bool lock) nv_lock_vga_crtc_base() argument 287 nv_lock_vga_crtc_shadow(struct drm_device *dev, int head, int lock) nv_lock_vga_crtc_shadow() argument 341 nv_fix_nv40_hw_cursor(struct drm_device *dev, int head) nv_fix_nv40_hw_cursor() argument 353 nv_set_crtc_base(struct drm_device *dev, int head, uint32_t offset) nv_set_crtc_base() argument 372 nv_show_cursor(struct drm_device *dev, int head, bool show) nv_show_cursor() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
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...] |
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 | btree-type.h | 14 static inline void BTREE_FN(init_mempool)(BTREE_TYPE_HEAD *head, in init_mempool() argument 17 btree_init_mempool(&head->h, mempool); in init_mempool() 20 static inline int BTREE_FN(init)(BTREE_TYPE_HEAD *head) in init() argument 22 return btree_init(&head->h); in init() 25 static inline void BTREE_FN(destroy)(BTREE_TYPE_HEAD *head) in destroy() argument 27 btree_destroy(&head->h); in destroy() 38 static inline void *BTREE_FN(lookup)(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key) in lookup() argument 41 return btree_lookup(&head->h, BTREE_TYPE_GEO, &_key); in lookup() 44 static inline int BTREE_FN(insert)(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key, in insert() argument 48 return btree_insert(&head in insert() 51 update(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key, void *val) update() argument 58 remove(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key) remove() argument 64 last(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE *key) last() argument 73 get_prev(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE *key) get_prev() argument 82 lookup(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key) lookup() argument 87 insert(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key, void *val, gfp_t gfp) insert() argument 94 update(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key, void *val) update() argument 100 remove(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key) remove() argument 105 last(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE *key) last() argument 110 get_prev(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE *key) get_prev() argument 122 visitor(BTREE_TYPE_HEAD *head, unsigned long opaque, VISITOR_FN_T func2) visitor() argument 130 grim_visitor(BTREE_TYPE_HEAD *head, unsigned long opaque, VISITOR_FN_T func2) grim_visitor() 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...] |
H A D | nv50.c | 25 #include "head.h" 96 disp->head.nr = func->head.cnt(&disp->base, &disp->head.mask); in nv50_disp_oneinit_() 98 disp->head.nr, disp->head.mask); in nv50_disp_oneinit_() 99 for_each_set_bit(i, &disp->head.mask, disp->head.nr) { in nv50_disp_oneinit_() 100 ret = func->head.new(&disp->base, i); in nv50_disp_oneinit_() 182 nv50_disp_super_iedt(struct nvkm_head *head, struc argument 197 nv50_disp_super_ied_on(struct nvkm_head *head, struct nvkm_ior *ior, int id, u32 khz) nv50_disp_super_ied_on() argument 253 nv50_disp_super_ied_off(struct nvkm_head *head, struct nvkm_ior *ior, int id) nv50_disp_super_ied_off() argument 278 nv50_disp_super_ior_asy(struct nvkm_head *head) nv50_disp_super_ior_asy() argument 292 nv50_disp_super_ior_arm(struct nvkm_head *head) nv50_disp_super_ior_arm() argument 306 nv50_disp_super_3_0(struct nv50_disp *disp, struct nvkm_head *head) nv50_disp_super_3_0() argument 325 nv50_disp_super_2_2_dp(struct nvkm_head *head, struct nvkm_ior *ior) nv50_disp_super_2_2_dp() argument 431 nv50_disp_super_2_2(struct nv50_disp *disp, struct nvkm_head *head) nv50_disp_super_2_2() argument 478 nv50_disp_super_2_1(struct nv50_disp *disp, struct nvkm_head *head) nv50_disp_super_2_1() argument 488 nv50_disp_super_2_0(struct nv50_disp *disp, struct nvkm_head *head) nv50_disp_super_2_0() argument 512 nv50_disp_super_1_0(struct nv50_disp *disp, struct nvkm_head *head) nv50_disp_super_1_0() argument 529 struct nvkm_head *head; nv50_disp_super_1() local 550 struct nvkm_head *head; nv50_disp_super() local 696 struct nvkm_head *head; nv50_disp_init() local [all...] |
H A D | gf119.c | 25 #include "head.h" 40 struct nvkm_head *head; in gf119_disp_super() local 44 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super() 45 mask[head->id] = nvkm_rd32(device, 0x6101d4 + (head->id * 0x800)); in gf119_disp_super() 46 HEAD_DBG(head, "%08x", mask[head->id]); in gf119_disp_super() 52 list_for_each_entry(head, in gf119_disp_super() 126 struct nvkm_head *head; gf119_disp_intr() local 189 struct nvkm_head *head; gf119_disp_init() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/signal/testcases/ |
H A D | testcases.c | 5 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...] |
/kernel/linux/linux-6.6/drivers/nvme/host/ |
H A D | multipath.c | 102 spin_lock_irqsave(&ns->head->requeue_lock, flags); in nvme_failover_req() 104 bio_set_dev(bio, ns->head->disk->part0); in nvme_failover_req() 118 blk_steal_bios(&ns->head->requeue_list, req); in nvme_failover_req() 119 spin_unlock_irqrestore(&ns->head->requeue_lock, flags); in nvme_failover_req() 122 kblockd_schedule_work(&ns->head->requeue_work); in nvme_failover_req() 128 struct gendisk *disk = ns->head->disk; in nvme_mpath_start_request() 145 bdev_end_io_acct(ns->head->disk->part0, req_op(rq), in nvme_mpath_end_request() 156 if (!ns->head->disk) in nvme_kick_requeue_lists() 158 kblockd_schedule_work(&ns->head->requeue_work); in nvme_kick_requeue_lists() 160 disk_uevent(ns->head in nvme_kick_requeue_lists() 176 struct nvme_ns_head *head = ns->head; nvme_mpath_clear_current_path() local 207 struct nvme_ns_head *head = ns->head; nvme_mpath_revalidate_paths() local 240 __nvme_find_path(struct nvme_ns_head *head, int node) __nvme_find_path() argument 279 nvme_next_ns(struct nvme_ns_head *head, struct nvme_ns *ns) nvme_next_ns() argument 289 nvme_round_robin_path(struct nvme_ns_head *head, int node, struct nvme_ns *old) nvme_round_robin_path() argument 338 nvme_find_path(struct nvme_ns_head *head) nvme_find_path() argument 354 nvme_available_path(struct nvme_ns_head *head) nvme_available_path() argument 376 struct nvme_ns_head *head = bio->bi_bdev->bd_disk->private_data; nvme_ns_head_submit_bio() local 429 struct nvme_ns_head *head = disk->private_data; nvme_ns_head_report_zones() local 484 nvme_add_ns_head_cdev(struct nvme_ns_head *head) nvme_add_ns_head_cdev() argument 500 struct nvme_ns_head *head = nvme_requeue_work() local 516 nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl, struct nvme_ns_head *head) nvme_mpath_alloc_disk() argument 569 struct nvme_ns_head *head = ns->head; nvme_mpath_set_live() local 880 nvme_mpath_shutdown_disk(struct nvme_ns_head *head) nvme_mpath_shutdown_disk() argument 891 nvme_mpath_remove_disk(struct nvme_ns_head *head) nvme_mpath_remove_disk() argument [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | cls_matchall.c | 32 struct cls_mall_head *head = rcu_dereference_bh(tp->root); in mall_classify() local 34 if (unlikely(!head)) in mall_classify() 37 if (tc_skip_sw(head->flags)) in mall_classify() 40 *res = head->res; in mall_classify() 41 __this_cpu_inc(head->pf->rhit); in mall_classify() 42 return tcf_exts_exec(skb, &head->exts, res); in mall_classify() 50 static void __mall_destroy(struct cls_mall_head *head) in __mall_destroy() argument 52 tcf_exts_destroy(&head->exts); in __mall_destroy() 53 tcf_exts_put_net(&head->exts); in __mall_destroy() 54 free_percpu(head in __mall_destroy() 60 struct cls_mall_head *head = container_of(to_rcu_work(work), mall_destroy_work() local 68 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 84 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 130 struct cls_mall_head *head = rtnl_dereference(tp->root); mall_destroy() local 148 struct cls_mall_head *head = rtnl_dereference(tp->root); mall_get() local 168 struct cls_mall_head *head = rtnl_dereference(tp->root); mall_change() local 250 struct cls_mall_head *head = rtnl_dereference(tp->root); mall_delete() local 260 struct cls_mall_head *head = rtnl_dereference(tp->root); mall_walk() local 276 struct cls_mall_head *head = rtnl_dereference(tp->root); mall_reoffload() local 310 mall_stats_hw_filter(struct tcf_proto *tp, struct cls_mall_head *head, unsigned long cookie) mall_stats_hw_filter() argument 330 struct cls_mall_head *head = fh; mall_dump() local 382 struct cls_mall_head *head = fh; mall_bind_class() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/signal/testcases/ |
H A D | testcases.c | 9 struct _aarch64_ctx *get_header(struct _aarch64_ctx *head, uint32_t magic, in get_header() argument 15 if (!head || resv_sz < HDR_SZ) in get_header() 19 head->magic != magic && head->magic) { in get_header() 20 offs += head->size; in get_header() 21 head = GET_RESV_NEXT_HEAD(head); in get_header() 23 if (head->magic == magic) { in get_header() 24 found = head; in get_header() 41 term = GET_RESV_NEXT_HEAD(&extra->head); in validate_extra_context() 141 struct _aarch64_ctx *head = validate_reserved() local 314 struct _aarch64_ctx *head; get_starting_head() local [all...] |