/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | do_balan.c | 19 static inline void buffer_info_init_left(struct tree_balance *tb, in buffer_info_init_left() argument 22 bi->tb = tb; in buffer_info_init_left() 23 bi->bi_bh = tb->L[0]; in buffer_info_init_left() 24 bi->bi_parent = tb->FL[0]; in buffer_info_init_left() 25 bi->bi_position = get_left_neighbor_position(tb, 0); in buffer_info_init_left() 28 static inline void buffer_info_init_right(struct tree_balance *tb, in buffer_info_init_right() argument 31 bi->tb = tb; in buffer_info_init_right() 32 bi->bi_bh = tb in buffer_info_init_right() 37 buffer_info_init_tbS0(struct tree_balance *tb, struct buffer_info *bi) buffer_info_init_tbS0() argument 46 buffer_info_init_bh(struct tree_balance *tb, struct buffer_info *bi, struct buffer_head *bh) buffer_info_init_bh() argument 56 do_balance_mark_leaf_dirty(struct tree_balance *tb, struct buffer_head *bh, int flag) do_balance_mark_leaf_dirty() argument 77 balance_leaf_when_delete_del(struct tree_balance *tb) balance_leaf_when_delete_del() argument 109 balance_leaf_when_delete_cut(struct tree_balance *tb) balance_leaf_when_delete_cut() argument 146 balance_leaf_when_delete_left(struct tree_balance *tb) balance_leaf_when_delete_left() argument 239 balance_leaf_when_delete(struct tree_balance *tb, int flag) balance_leaf_when_delete() argument 286 balance_leaf_insert_left(struct tree_balance *tb, struct item_head *const ih, const char * const body) balance_leaf_insert_left() argument 351 balance_leaf_paste_left_shift_dirent(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_left_shift_dirent() argument 413 balance_leaf_paste_left_shift(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_left_shift() argument 532 balance_leaf_paste_left_whole(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_left_whole() argument 586 balance_leaf_paste_left(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_left() argument 599 balance_leaf_left(struct tree_balance *tb, struct item_head * const ih, const char * const body, int flag) balance_leaf_left() argument 621 balance_leaf_insert_right(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_insert_right() argument 707 balance_leaf_paste_right_shift_dirent(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_right_shift_dirent() argument 758 balance_leaf_paste_right_shift(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_right_shift() argument 836 balance_leaf_paste_right_whole(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_right_whole() argument 880 balance_leaf_paste_right(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_right() argument 904 balance_leaf_right(struct tree_balance *tb, struct item_head * const ih, const char * const body, int flag) balance_leaf_right() argument 919 balance_leaf_new_nodes_insert(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) balance_leaf_new_nodes_insert() argument 1009 balance_leaf_new_nodes_paste_dirent(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) balance_leaf_new_nodes_paste_dirent() argument 1064 balance_leaf_new_nodes_paste_shift(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) balance_leaf_new_nodes_paste_shift() argument 1137 balance_leaf_new_nodes_paste_whole(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) balance_leaf_new_nodes_paste_whole() argument 1190 balance_leaf_new_nodes_paste(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) balance_leaf_new_nodes_paste() argument 1220 balance_leaf_new_nodes(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int flag) balance_leaf_new_nodes() argument 1260 balance_leaf_finish_node_insert(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_finish_node_insert() argument 1277 balance_leaf_finish_node_paste_dirent(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_finish_node_paste_dirent() argument 1311 balance_leaf_finish_node_paste(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_finish_node_paste() argument 1355 balance_leaf_finish_node(struct tree_balance *tb, struct item_head * const ih, const char * const body, int flag) balance_leaf_finish_node() argument 1382 balance_leaf(struct tree_balance *tb, struct item_head *ih, const char *body, int flag, struct item_head *insert_key, struct buffer_head **insert_ptr) balance_leaf() argument 1483 get_FEB(struct tree_balance *tb) get_FEB() argument 1505 store_thrown(struct tree_balance *tb, struct buffer_head *bh) store_thrown() argument 1522 free_thrown(struct tree_balance *tb) free_thrown() argument 1540 reiserfs_invalidate_buffer(struct tree_balance *tb, struct buffer_head *bh) reiserfs_invalidate_buffer() argument 1552 replace_key(struct tree_balance *tb, struct buffer_head *dest, int n_dest, struct buffer_head *src, int n_src) replace_key() argument 1579 get_left_neighbor_position(struct tree_balance *tb, int h) get_left_neighbor_position() argument 1593 get_right_neighbor_position(struct tree_balance *tb, int h) get_right_neighbor_position() argument 1636 locked_or_not_in_tree(struct tree_balance *tb, struct buffer_head *bh, char *which) locked_or_not_in_tree() argument 1647 check_before_balancing(struct tree_balance *tb) check_before_balancing() argument 1682 check_after_balance_leaf(struct tree_balance *tb) check_after_balance_leaf() argument 1730 check_leaf_level(struct tree_balance *tb) check_leaf_level() argument 1737 check_internal_levels(struct tree_balance *tb) check_internal_levels() argument 1789 do_balance_starts(struct tree_balance *tb) do_balance_starts() argument 1806 do_balance_completed(struct tree_balance *tb) do_balance_completed() argument 1847 do_balance(struct tree_balance *tb, struct item_head *ih, const char *body, int flag) do_balance() argument [all...] |
H A D | fix_node.c | 51 static void create_virtual_node(struct tree_balance *tb, int h) in create_virtual_node() argument 54 struct virtual_node *vn = tb->tb_vn; in create_virtual_node() 56 struct buffer_head *Sh; /* this comes from tb->S[h] */ in create_virtual_node() 58 Sh = PATH_H_PBUFFER(tb->tb_path, h); in create_virtual_node() 62 MAX_CHILD_SIZE(Sh) - B_FREE_SPACE(Sh) + tb->insert_size[h]; in create_virtual_node() 76 vn->vn_vi = (struct virtual_item *)(tb->tb_vn + 1); in create_virtual_node() 115 op_create_vi(vn, vi, is_affected, tb->insert_size[0]); in create_virtual_node() 116 if (tb->vn_buf + tb->vn_buf_size < vn->vn_free_ptr) in create_virtual_node() 117 reiserfs_panic(tb in create_virtual_node() 194 check_left(struct tree_balance *tb, int h, int cur_free) check_left() argument 280 check_right(struct tree_balance *tb, int h, int cur_free) check_right() argument 374 get_num_ver(int mode, struct tree_balance *tb, int h, int from, int from_bytes, int to, int to_bytes, short *snum012, int flow) get_num_ver() argument 621 set_parameters(struct tree_balance *tb, int h, int lnum, int rnum, int blk_num, short *s012, int lb, int rb) set_parameters() argument 652 is_leaf_removable(struct tree_balance *tb) is_leaf_removable() argument 696 are_leaves_removable(struct tree_balance *tb, int lfree, int rfree) are_leaves_removable() argument 797 free_buffers_in_tb(struct tree_balance *tb) free_buffers_in_tb() argument 827 get_empty_nodes(struct tree_balance *tb, int h) get_empty_nodes() argument 915 get_lfree(struct tree_balance *tb, int h) get_lfree() argument 938 get_rfree(struct tree_balance *tb, int h) get_rfree() argument 959 is_left_neighbor_in_cache(struct tree_balance *tb, int h) is_left_neighbor_in_cache() argument 1023 get_far_parent(struct tree_balance *tb, int h, struct buffer_head **pfather, struct buffer_head **pcom_father, char c_lr_par) get_far_parent() argument 1172 get_parents(struct tree_balance *tb, int h) get_parents() argument 1273 can_node_be_removed(int mode, int lfree, int sfree, int rfree, struct tree_balance *tb, int h) can_node_be_removed() argument 1324 ip_check_balance(struct tree_balance *tb, int h) ip_check_balance() argument 1726 dc_check_balance_internal(struct tree_balance *tb, int h) dc_check_balance_internal() argument 1925 dc_check_balance_leaf(struct tree_balance *tb, int h) dc_check_balance_leaf() argument 2031 dc_check_balance(struct tree_balance *tb, int h) dc_check_balance() argument 2061 check_balance(int mode, struct tree_balance *tb, int h, int inum, int pos_in_item, struct item_head *ins_ih, const void *data) check_balance() argument 2090 get_direct_parent(struct tree_balance *tb, int h) get_direct_parent() argument 2151 get_neighbors(struct tree_balance *tb, int h) get_neighbors() argument 2264 get_mem_for_virtual_node(struct tree_balance *tb) get_mem_for_virtual_node() argument 2363 wait_tb_buffers_until_unlocked(struct tree_balance *tb) wait_tb_buffers_until_unlocked() argument 2545 fix_nodes(int op_mode, struct tree_balance *tb, struct item_head *ins_ih, const void *data) fix_nodes() argument 2777 unfix_nodes(struct tree_balance *tb) unfix_nodes() argument [all...] |
H A D | ibalance.c | 28 struct tree_balance *tb, in internal_define_dest_src_infos() 41 src_bi->tb = tb; in internal_define_dest_src_infos() 42 src_bi->bi_bh = PATH_H_PBUFFER(tb->tb_path, h); in internal_define_dest_src_infos() 43 src_bi->bi_parent = PATH_H_PPARENT(tb->tb_path, h); in internal_define_dest_src_infos() 44 src_bi->bi_position = PATH_H_POSITION(tb->tb_path, h + 1); in internal_define_dest_src_infos() 45 dest_bi->tb = tb; in internal_define_dest_src_infos() 46 dest_bi->bi_bh = tb->L[h]; in internal_define_dest_src_infos() 47 dest_bi->bi_parent = tb in internal_define_dest_src_infos() 27 internal_define_dest_src_infos(int shift_mode, struct tree_balance *tb, int h, struct buffer_info *dest_bi, struct buffer_info *src_bi, int *d_key, struct buffer_head **cf) internal_define_dest_src_infos() argument 488 internal_shift_left( int mode, struct tree_balance *tb, int h, int pointer_amount) internal_shift_left() argument 534 internal_shift1_left(struct tree_balance *tb, int h, int pointer_amount) internal_shift1_left() argument 560 internal_shift_right( int mode, struct tree_balance *tb, int h, int pointer_amount) internal_shift_right() argument 609 internal_shift1_right(struct tree_balance *tb, int h, int pointer_amount) internal_shift1_right() argument 632 balance_internal_when_delete(struct tree_balance *tb, int h, int child_pos) balance_internal_when_delete() argument 760 replace_lkey(struct tree_balance *tb, int h, struct item_head *key) replace_lkey() argument 775 replace_rkey(struct tree_balance *tb, int h, struct item_head *key) replace_rkey() argument 803 balance_internal(struct tree_balance *tb, int h, int child_pos, struct item_head *insert_key, struct buffer_head **insert_ptr) balance_internal() argument [all...] |
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A D | do_balan.c | 19 static inline void buffer_info_init_left(struct tree_balance *tb, in buffer_info_init_left() argument 22 bi->tb = tb; in buffer_info_init_left() 23 bi->bi_bh = tb->L[0]; in buffer_info_init_left() 24 bi->bi_parent = tb->FL[0]; in buffer_info_init_left() 25 bi->bi_position = get_left_neighbor_position(tb, 0); in buffer_info_init_left() 28 static inline void buffer_info_init_right(struct tree_balance *tb, in buffer_info_init_right() argument 31 bi->tb = tb; in buffer_info_init_right() 32 bi->bi_bh = tb in buffer_info_init_right() 37 buffer_info_init_tbS0(struct tree_balance *tb, struct buffer_info *bi) buffer_info_init_tbS0() argument 46 buffer_info_init_bh(struct tree_balance *tb, struct buffer_info *bi, struct buffer_head *bh) buffer_info_init_bh() argument 56 do_balance_mark_leaf_dirty(struct tree_balance *tb, struct buffer_head *bh, int flag) do_balance_mark_leaf_dirty() argument 77 balance_leaf_when_delete_del(struct tree_balance *tb) balance_leaf_when_delete_del() argument 109 balance_leaf_when_delete_cut(struct tree_balance *tb) balance_leaf_when_delete_cut() argument 146 balance_leaf_when_delete_left(struct tree_balance *tb) balance_leaf_when_delete_left() argument 239 balance_leaf_when_delete(struct tree_balance *tb, int flag) balance_leaf_when_delete() argument 286 balance_leaf_insert_left(struct tree_balance *tb, struct item_head *const ih, const char * const body) balance_leaf_insert_left() argument 351 balance_leaf_paste_left_shift_dirent(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_left_shift_dirent() argument 413 balance_leaf_paste_left_shift(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_left_shift() argument 532 balance_leaf_paste_left_whole(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_left_whole() argument 586 balance_leaf_paste_left(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_left() argument 599 balance_leaf_left(struct tree_balance *tb, struct item_head * const ih, const char * const body, int flag) balance_leaf_left() argument 621 balance_leaf_insert_right(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_insert_right() argument 707 balance_leaf_paste_right_shift_dirent(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_right_shift_dirent() argument 758 balance_leaf_paste_right_shift(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_right_shift() argument 836 balance_leaf_paste_right_whole(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_right_whole() argument 880 balance_leaf_paste_right(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_paste_right() argument 904 balance_leaf_right(struct tree_balance *tb, struct item_head * const ih, const char * const body, int flag) balance_leaf_right() argument 919 balance_leaf_new_nodes_insert(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) balance_leaf_new_nodes_insert() argument 1009 balance_leaf_new_nodes_paste_dirent(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) balance_leaf_new_nodes_paste_dirent() argument 1064 balance_leaf_new_nodes_paste_shift(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) balance_leaf_new_nodes_paste_shift() argument 1137 balance_leaf_new_nodes_paste_whole(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) balance_leaf_new_nodes_paste_whole() argument 1190 balance_leaf_new_nodes_paste(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int i) balance_leaf_new_nodes_paste() argument 1220 balance_leaf_new_nodes(struct tree_balance *tb, struct item_head * const ih, const char * const body, struct item_head *insert_key, struct buffer_head **insert_ptr, int flag) balance_leaf_new_nodes() argument 1260 balance_leaf_finish_node_insert(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_finish_node_insert() argument 1277 balance_leaf_finish_node_paste_dirent(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_finish_node_paste_dirent() argument 1311 balance_leaf_finish_node_paste(struct tree_balance *tb, struct item_head * const ih, const char * const body) balance_leaf_finish_node_paste() argument 1355 balance_leaf_finish_node(struct tree_balance *tb, struct item_head * const ih, const char * const body, int flag) balance_leaf_finish_node() argument 1382 balance_leaf(struct tree_balance *tb, struct item_head *ih, const char *body, int flag, struct item_head *insert_key, struct buffer_head **insert_ptr) balance_leaf() argument 1483 get_FEB(struct tree_balance *tb) get_FEB() argument 1505 store_thrown(struct tree_balance *tb, struct buffer_head *bh) store_thrown() argument 1522 free_thrown(struct tree_balance *tb) free_thrown() argument 1540 reiserfs_invalidate_buffer(struct tree_balance *tb, struct buffer_head *bh) reiserfs_invalidate_buffer() argument 1552 replace_key(struct tree_balance *tb, struct buffer_head *dest, int n_dest, struct buffer_head *src, int n_src) replace_key() argument 1579 get_left_neighbor_position(struct tree_balance *tb, int h) get_left_neighbor_position() argument 1593 get_right_neighbor_position(struct tree_balance *tb, int h) get_right_neighbor_position() argument 1636 locked_or_not_in_tree(struct tree_balance *tb, struct buffer_head *bh, char *which) locked_or_not_in_tree() argument 1647 check_before_balancing(struct tree_balance *tb) check_before_balancing() argument 1682 check_after_balance_leaf(struct tree_balance *tb) check_after_balance_leaf() argument 1730 check_leaf_level(struct tree_balance *tb) check_leaf_level() argument 1737 check_internal_levels(struct tree_balance *tb) check_internal_levels() argument 1789 do_balance_starts(struct tree_balance *tb) do_balance_starts() argument 1806 do_balance_completed(struct tree_balance *tb) do_balance_completed() argument 1847 do_balance(struct tree_balance *tb, struct item_head *ih, const char *body, int flag) do_balance() argument [all...] |
H A D | fix_node.c | 51 static void create_virtual_node(struct tree_balance *tb, int h) in create_virtual_node() argument 54 struct virtual_node *vn = tb->tb_vn; in create_virtual_node() 56 struct buffer_head *Sh; /* this comes from tb->S[h] */ in create_virtual_node() 58 Sh = PATH_H_PBUFFER(tb->tb_path, h); in create_virtual_node() 62 MAX_CHILD_SIZE(Sh) - B_FREE_SPACE(Sh) + tb->insert_size[h]; in create_virtual_node() 76 vn->vn_vi = (struct virtual_item *)(tb->tb_vn + 1); in create_virtual_node() 115 op_create_vi(vn, vi, is_affected, tb->insert_size[0]); in create_virtual_node() 116 if (tb->vn_buf + tb->vn_buf_size < vn->vn_free_ptr) in create_virtual_node() 117 reiserfs_panic(tb in create_virtual_node() 194 check_left(struct tree_balance *tb, int h, int cur_free) check_left() argument 280 check_right(struct tree_balance *tb, int h, int cur_free) check_right() argument 374 get_num_ver(int mode, struct tree_balance *tb, int h, int from, int from_bytes, int to, int to_bytes, short *snum012, int flow) get_num_ver() argument 621 set_parameters(struct tree_balance *tb, int h, int lnum, int rnum, int blk_num, short *s012, int lb, int rb) set_parameters() argument 652 is_leaf_removable(struct tree_balance *tb) is_leaf_removable() argument 696 are_leaves_removable(struct tree_balance *tb, int lfree, int rfree) are_leaves_removable() argument 797 free_buffers_in_tb(struct tree_balance *tb) free_buffers_in_tb() argument 827 get_empty_nodes(struct tree_balance *tb, int h) get_empty_nodes() argument 915 get_lfree(struct tree_balance *tb, int h) get_lfree() argument 938 get_rfree(struct tree_balance *tb, int h) get_rfree() argument 959 is_left_neighbor_in_cache(struct tree_balance *tb, int h) is_left_neighbor_in_cache() argument 1023 get_far_parent(struct tree_balance *tb, int h, struct buffer_head **pfather, struct buffer_head **pcom_father, char c_lr_par) get_far_parent() argument 1172 get_parents(struct tree_balance *tb, int h) get_parents() argument 1273 can_node_be_removed(int mode, int lfree, int sfree, int rfree, struct tree_balance *tb, int h) can_node_be_removed() argument 1324 ip_check_balance(struct tree_balance *tb, int h) ip_check_balance() argument 1726 dc_check_balance_internal(struct tree_balance *tb, int h) dc_check_balance_internal() argument 1925 dc_check_balance_leaf(struct tree_balance *tb, int h) dc_check_balance_leaf() argument 2031 dc_check_balance(struct tree_balance *tb, int h) dc_check_balance() argument 2061 check_balance(int mode, struct tree_balance *tb, int h, int inum, int pos_in_item, struct item_head *ins_ih, const void *data) check_balance() argument 2090 get_direct_parent(struct tree_balance *tb, int h) get_direct_parent() argument 2151 get_neighbors(struct tree_balance *tb, int h) get_neighbors() argument 2265 get_mem_for_virtual_node(struct tree_balance *tb) get_mem_for_virtual_node() argument 2364 wait_tb_buffers_until_unlocked(struct tree_balance *tb) wait_tb_buffers_until_unlocked() argument 2546 fix_nodes(int op_mode, struct tree_balance *tb, struct item_head *ins_ih, const void *data) fix_nodes() argument 2778 unfix_nodes(struct tree_balance *tb) unfix_nodes() argument [all...] |
H A D | ibalance.c | 28 struct tree_balance *tb, in internal_define_dest_src_infos() 41 src_bi->tb = tb; in internal_define_dest_src_infos() 42 src_bi->bi_bh = PATH_H_PBUFFER(tb->tb_path, h); in internal_define_dest_src_infos() 43 src_bi->bi_parent = PATH_H_PPARENT(tb->tb_path, h); in internal_define_dest_src_infos() 44 src_bi->bi_position = PATH_H_POSITION(tb->tb_path, h + 1); in internal_define_dest_src_infos() 45 dest_bi->tb = tb; in internal_define_dest_src_infos() 46 dest_bi->bi_bh = tb->L[h]; in internal_define_dest_src_infos() 47 dest_bi->bi_parent = tb in internal_define_dest_src_infos() 27 internal_define_dest_src_infos(int shift_mode, struct tree_balance *tb, int h, struct buffer_info *dest_bi, struct buffer_info *src_bi, int *d_key, struct buffer_head **cf) internal_define_dest_src_infos() argument 488 internal_shift_left( int mode, struct tree_balance *tb, int h, int pointer_amount) internal_shift_left() argument 534 internal_shift1_left(struct tree_balance *tb, int h, int pointer_amount) internal_shift1_left() argument 560 internal_shift_right( int mode, struct tree_balance *tb, int h, int pointer_amount) internal_shift_right() argument 609 internal_shift1_right(struct tree_balance *tb, int h, int pointer_amount) internal_shift1_right() argument 632 balance_internal_when_delete(struct tree_balance *tb, int h, int child_pos) balance_internal_when_delete() argument 760 replace_lkey(struct tree_balance *tb, int h, struct item_head *key) replace_lkey() argument 775 replace_rkey(struct tree_balance *tb, int h, struct item_head *key) replace_rkey() argument 803 balance_internal(struct tree_balance *tb, int h, int child_pos, struct item_head *insert_key, struct buffer_head **insert_ptr) balance_internal() argument [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | domain.c | 17 #include "tb.h" 123 struct tb *tb = container_of(dev, struct tb, dev); in boot_acl_show() local 128 uuids = kcalloc(tb->nboot_acl, sizeof(uuid_t), GFP_KERNEL); in boot_acl_show() 132 pm_runtime_get_sync(&tb->dev); in boot_acl_show() 134 if (mutex_lock_interruptible(&tb->lock)) { in boot_acl_show() 138 ret = tb->cm_ops->get_boot_acl(tb, uuids, tb in boot_acl_show() 163 struct tb *tb = container_of(dev, struct tb, dev); boot_acl_store() local 240 const struct tb *tb = container_of(dev, struct tb, dev); deauthorization_show() local 256 struct tb *tb = container_of(dev, struct tb, dev); iommu_dma_protection_show() local 265 struct tb *tb = container_of(dev, struct tb, dev); security_show() local 287 struct tb *tb = container_of(dev, struct tb, dev); domain_attr_is_visible() local 320 struct tb *tb = container_of(dev, struct tb, dev); tb_domain_release() local 337 struct tb *tb = data; tb_domain_event_cb() local 375 struct tb *tb; tb_domain_alloc() local 434 tb_domain_add(struct tb *tb) tb_domain_add() argument 498 tb_domain_remove(struct tb *tb) tb_domain_remove() argument 517 tb_domain_suspend_noirq(struct tb *tb) tb_domain_suspend_noirq() argument 543 tb_domain_resume_noirq(struct tb *tb) tb_domain_resume_noirq() argument 556 tb_domain_suspend(struct tb *tb) tb_domain_suspend() argument 561 tb_domain_freeze_noirq(struct tb *tb) tb_domain_freeze_noirq() argument 575 tb_domain_thaw_noirq(struct tb *tb) tb_domain_thaw_noirq() argument 588 tb_domain_complete(struct tb *tb) tb_domain_complete() argument 594 tb_domain_runtime_suspend(struct tb *tb) tb_domain_runtime_suspend() argument 605 tb_domain_runtime_resume(struct tb *tb) tb_domain_runtime_resume() argument 625 tb_domain_disapprove_switch(struct tb *tb, struct tb_switch *sw) tb_domain_disapprove_switch() argument 642 tb_domain_approve_switch(struct tb *tb, struct tb_switch *sw) tb_domain_approve_switch() argument 668 tb_domain_approve_switch_key(struct tb *tb, struct tb_switch *sw) tb_domain_approve_switch_key() argument 700 tb_domain_challenge_switch_key(struct tb *tb, struct tb_switch *sw) tb_domain_challenge_switch_key() argument 773 tb_domain_disconnect_pcie_paths(struct tb *tb) tb_domain_disconnect_pcie_paths() argument 797 tb_domain_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, int transmit_path, int transmit_ring, int receive_path, int receive_ring) tb_domain_approve_xdomain_paths() argument 824 tb_domain_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, int transmit_path, int transmit_ring, int receive_path, int receive_ring) tb_domain_disconnect_xdomain_paths() argument 838 struct tb *tb = data; disconnect_xdomain() local 858 tb_domain_disconnect_all_paths(struct tb *tb) tb_domain_disconnect_all_paths() argument [all...] |
H A D | tb.c | 15 #include "tb.h" 42 static inline struct tb *tcm_to_tb(struct tb_cm *tcm) in tcm_to_tb() 44 return ((void *)tcm - sizeof(struct tb)); in tcm_to_tb() 49 struct tb *tb; member 62 group->tb = tcm_to_tb(tcm); in tb_init_bandwidth_groups() 163 static void tb_queue_hotplug(struct tb *tb, u64 route, u8 port, bool unplug) in tb_queue_hotplug() argument 171 ev->tb = tb; in tb_queue_hotplug() 217 tb_discover_dp_resource(struct tb *tb, struct tb_port *port) tb_discover_dp_resource() argument 232 tb_discover_dp_resources(struct tb *tb) tb_discover_dp_resources() argument 388 struct tb *tb = sw->tb; tb_switch_discover_tunnels() local 424 tb_discover_tunnels(struct tb *tb) tb_discover_tunnels() argument 472 struct tb *tb = sw->tb; tb_scan_xdomain() local 530 tb_find_tunnel(struct tb *tb, enum tb_tunnel_type type, struct tb_port *src_port, struct tb_port *dst_port) tb_find_tunnel() argument 548 tb_find_first_usb3_tunnel(struct tb *tb, struct tb_port *src_port, struct tb_port *dst_port) tb_find_first_usb3_tunnel() argument 575 tb_available_bandwidth(struct tb *tb, struct tb_port *src_port, struct tb_port *dst_port, int *available_up, int *available_down) tb_available_bandwidth() argument 712 tb_release_unused_usb3_bandwidth(struct tb *tb, struct tb_port *src_port, struct tb_port *dst_port) tb_release_unused_usb3_bandwidth() argument 722 tb_reclaim_usb3_bandwidth(struct tb *tb, struct tb_port *src_port, struct tb_port *dst_port) tb_reclaim_usb3_bandwidth() argument 751 tb_tunnel_usb3(struct tb *tb, struct tb_switch *sw) tb_tunnel_usb3() argument 1023 struct tb *tb; tb_deactivate_and_free_tunnel() local 1068 tb_free_invalid_tunnels(struct tb *tb) tb_free_invalid_tunnels() argument 1159 struct tb *tb = group->tb; tb_recalc_estimated_bandwidth_for_group() local 1231 tb_recalc_estimated_bandwidth(struct tb *tb) tb_recalc_estimated_bandwidth() argument 1248 tb_find_dp_out(struct tb *tb, struct tb_port *in) tb_find_dp_out() argument 1285 tb_tunnel_dp(struct tb *tb) tb_tunnel_dp() argument 1419 tb_dp_resource_unavailable(struct tb *tb, struct tb_port *port) tb_dp_resource_unavailable() argument 1446 tb_dp_resource_available(struct tb *tb, struct tb_port *port) tb_dp_resource_available() argument 1467 tb_disconnect_and_release_dp(struct tb *tb) tb_disconnect_and_release_dp() argument 1490 tb_disconnect_pci(struct tb *tb, struct tb_switch *sw) tb_disconnect_pci() argument 1511 tb_tunnel_pci(struct tb *tb, struct tb_switch *sw) tb_tunnel_pci() argument 1555 tb_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, int transmit_path, int transmit_ring, int receive_path, int receive_ring) tb_approve_xdomain_paths() argument 1604 __tb_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, int transmit_path, int transmit_ring, int receive_path, int receive_ring) __tb_disconnect_xdomain_paths() argument 1636 tb_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, int transmit_path, int transmit_ring, int receive_path, int receive_ring) tb_disconnect_xdomain_paths() argument 1660 struct tb *tb = ev->tb; tb_handle_hotplug() local 1774 struct tb *tb = tunnel->tb; tb_alloc_dp_bandwidth() local 1890 struct tb *tb = ev->tb; tb_handle_dp_bandwidth_request() local 1973 tb_queue_dp_bandwidth_request(struct tb *tb, u64 route, u8 port) tb_queue_dp_bandwidth_request() argument 1988 tb_handle_notification(struct tb *tb, u64 route, const struct cfg_error_pkg *error) tb_handle_notification() argument 2019 tb_handle_event(struct tb *tb, enum tb_cfg_pkg_type type, const void *buf, size_t size) tb_handle_event() argument 2044 tb_stop(struct tb *tb) tb_stop() argument 2087 tb_start(struct tb *tb) tb_start() argument 2150 tb_suspend_noirq(struct tb *tb) tb_suspend_noirq() argument 2194 tb_resume_noirq(struct tb *tb) tb_resume_noirq() argument 2272 tb_freeze_noirq(struct tb *tb) tb_freeze_noirq() argument 2280 tb_thaw_noirq(struct tb *tb) tb_thaw_noirq() argument 2288 tb_complete(struct tb *tb) tb_complete() argument 2301 tb_runtime_suspend(struct tb *tb) tb_runtime_suspend() argument 2316 struct tb *tb = tcm_to_tb(tcm); tb_remove_work() local 2326 tb_runtime_resume(struct tb *tb) tb_runtime_resume() argument 2437 struct tb *tb; tb_probe() local [all...] |
H A D | icm.c | 24 #include "tb.h" 105 bool (*is_supported)(struct tb *tb); 106 int (*cio_reset)(struct tb *tb); 107 int (*get_mode)(struct tb *tb); 108 int (*get_route)(struct tb *tb, u8 link, u8 depth, u64 *route); 109 void (*save_devices)(struct tb *t 128 struct tb *tb; global() member 298 icm_request(struct tb *tb, const void *request, size_t request_size, void *response, size_t response_size, size_t npackets, int retries, unsigned int timeout_msec) icm_request() argument 342 icm_postpone_rescan(struct tb *tb) icm_postpone_rescan() argument 351 icm_veto_begin(struct tb *tb) icm_veto_begin() argument 362 icm_veto_end(struct tb *tb) icm_veto_end() argument 382 icm_fr_is_supported(struct tb *tb) icm_fr_is_supported() argument 398 icm_fr_get_route(struct tb *tb, u8 link, u8 depth, u64 *route) icm_fr_get_route() argument 449 icm_fr_save_devices(struct tb *tb) icm_fr_save_devices() argument 455 icm_fr_driver_ready(struct tb *tb, enum tb_security_level *security_level, u8 *proto_version, size_t *nboot_acl, bool *rpm) icm_fr_driver_ready() argument 476 icm_fr_approve_switch(struct tb *tb, struct tb_switch *sw) icm_fr_approve_switch() argument 503 icm_fr_add_switch_key(struct tb *tb, struct tb_switch *sw) icm_fr_add_switch_key() argument 530 icm_fr_challenge_switch_key(struct tb *tb, struct tb_switch *sw, const u8 *challenge, u8 *response) icm_fr_challenge_switch_key() argument 560 icm_fr_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, int transmit_path, int transmit_ring, int receive_path, int receive_ring) icm_fr_approve_xdomain_paths() argument 590 icm_fr_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, int transmit_path, int transmit_ring, int receive_path, int receive_ring) icm_fr_disconnect_xdomain_paths() argument 612 struct tb *tb = parent_sw->tb; alloc_switch() local 720 icm_fr_device_connected(struct tb *tb, const struct icm_pkg_header *hdr) icm_fr_device_connected() argument 868 icm_fr_device_disconnected(struct tb *tb, const struct icm_pkg_header *hdr) icm_fr_device_disconnected() argument 902 icm_fr_xdomain_connected(struct tb *tb, const struct icm_pkg_header *hdr) icm_fr_xdomain_connected() argument 988 icm_fr_xdomain_disconnected(struct tb *tb, const struct icm_pkg_header *hdr) icm_fr_xdomain_disconnected() argument 1006 icm_tr_cio_reset(struct tb *tb) icm_tr_cio_reset() argument 1012 icm_tr_driver_ready(struct tb *tb, enum tb_security_level *security_level, u8 *proto_version, size_t *nboot_acl, bool *rpm) icm_tr_driver_ready() argument 1041 icm_tr_approve_switch(struct tb *tb, struct tb_switch *sw) icm_tr_approve_switch() argument 1068 icm_tr_add_switch_key(struct tb *tb, struct tb_switch *sw) icm_tr_add_switch_key() argument 1096 icm_tr_challenge_switch_key(struct tb *tb, struct tb_switch *sw, const u8 *challenge, u8 *response) icm_tr_challenge_switch_key() argument 1127 icm_tr_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, int transmit_path, int transmit_ring, int receive_path, int receive_ring) icm_tr_approve_xdomain_paths() argument 1157 icm_tr_xdomain_tear_down(struct tb *tb, struct tb_xdomain *xd, int stage) icm_tr_xdomain_tear_down() argument 1183 icm_tr_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, int transmit_path, int transmit_ring, int receive_path, int receive_ring) icm_tr_disconnect_xdomain_paths() argument 1198 __icm_tr_device_connected(struct tb *tb, const struct icm_pkg_header *hdr, bool force_rtd3) __icm_tr_device_connected() argument 1294 icm_tr_device_connected(struct tb *tb, const struct icm_pkg_header *hdr) icm_tr_device_connected() argument 1300 icm_tr_device_disconnected(struct tb *tb, const struct icm_pkg_header *hdr) icm_tr_device_disconnected() argument 1325 icm_tr_xdomain_connected(struct tb *tb, const struct icm_pkg_header *hdr) icm_tr_xdomain_connected() argument 1379 icm_tr_xdomain_disconnected(struct tb *tb, const struct icm_pkg_header *hdr) icm_tr_xdomain_disconnected() argument 1425 icm_ar_is_supported(struct tb *tb) icm_ar_is_supported() argument 1461 icm_ar_cio_reset(struct tb *tb) icm_ar_cio_reset() argument 1466 icm_ar_get_mode(struct tb *tb) icm_ar_get_mode() argument 1488 icm_ar_driver_ready(struct tb *tb, enum tb_security_level *security_level, u8 *proto_version, size_t *nboot_acl, bool *rpm) icm_ar_driver_ready() argument 1514 icm_ar_get_route(struct tb *tb, u8 link, u8 depth, u64 *route) icm_ar_get_route() argument 1536 icm_ar_get_boot_acl(struct tb *tb, uuid_t *uuids, size_t nuuids) icm_ar_get_boot_acl() argument 1573 icm_ar_set_boot_acl(struct tb *tb, const uuid_t *uuids, size_t nuuids) icm_ar_set_boot_acl() argument 1618 icm_icl_driver_ready(struct tb *tb, enum tb_security_level *security_level, u8 *proto_version, size_t *nboot_acl, bool *rpm) icm_icl_driver_ready() argument 1644 icm_icl_set_uuid(struct tb *tb) icm_icl_set_uuid() argument 1658 icm_icl_device_connected(struct tb *tb, const struct icm_pkg_header *hdr) icm_icl_device_connected() argument 1663 icm_icl_rtd3_veto(struct tb *tb, const struct icm_pkg_header *hdr) icm_icl_rtd3_veto() argument 1676 icm_tgl_is_supported(struct tb *tb) icm_tgl_is_supported() argument 1695 struct tb *tb = n->tb; icm_handle_notification() local 1733 icm_handle_event(struct tb *tb, enum tb_cfg_pkg_type type, const void *buf, size_t size) icm_handle_event() argument 1755 __icm_driver_ready(struct tb *tb, enum tb_security_level *security_level, u8 *proto_version, size_t *nboot_acl, bool *rpm) __icm_driver_ready() argument 1789 icm_firmware_reset(struct tb *tb, struct tb_nhi *nhi) icm_firmware_reset() argument 1812 icm_firmware_start(struct tb *tb, struct tb_nhi *nhi) icm_firmware_start() argument 1841 icm_reset_phy_port(struct tb *tb, int phy_port) icm_reset_phy_port() argument 1909 icm_firmware_init(struct tb *tb) icm_firmware_init() argument 1957 icm_driver_ready(struct tb *tb) icm_driver_ready() argument 1991 icm_suspend(struct tb *tb) icm_suspend() argument 2075 struct tb *tb = icm_to_tb(icm); icm_rescan_work() local 2083 icm_complete(struct tb *tb) icm_complete() argument 2113 icm_runtime_suspend(struct tb *tb) icm_runtime_suspend() argument 2137 icm_runtime_resume(struct tb *tb) icm_runtime_resume() argument 2147 icm_start(struct tb *tb) icm_start() argument 2174 icm_stop(struct tb *tb) icm_stop() argument 2186 icm_disconnect_pcie_paths(struct tb *tb) icm_disconnect_pcie_paths() argument 2195 struct tb *tb = icm_to_tb(icm); icm_usb4_switch_nvm_auth_complete() local 2208 icm_usb4_switch_nvm_authenticate(struct tb *tb, u64 route) icm_usb4_switch_nvm_authenticate() argument 2264 struct tb *tb = sw->tb; icm_usb4_switch_op() local 2324 struct tb *tb = sw->tb; icm_usb4_switch_nvm_authenticate_status() local 2432 struct tb *tb; icm_probe() local [all...] |
H A D | tb.h | 119 * @tb: Pointer to the domain the switch belongs to 177 struct tb *tb; member 220 * @tb: Pointer to the domain the group belongs to 230 struct tb *tb; member 316 * @tb: Pointer to the domain the retimer belongs to 327 struct tb *tb; member 391 * @tb 412 struct tb *tb; global() member 522 tb_priv(struct tb *tb) tb_priv() argument 757 tb_domain_get(struct tb *tb) tb_domain_get() argument 764 tb_domain_put(struct tb *tb) tb_domain_put() argument [all...] |
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | domain.c | 19 #include "tb.h" 126 struct tb *tb = container_of(dev, struct tb, dev); in boot_acl_show() local 131 uuids = kcalloc(tb->nboot_acl, sizeof(uuid_t), GFP_KERNEL); in boot_acl_show() 135 pm_runtime_get_sync(&tb->dev); in boot_acl_show() 137 if (mutex_lock_interruptible(&tb->lock)) { in boot_acl_show() 141 ret = tb->cm_ops->get_boot_acl(tb, uuids, tb in boot_acl_show() 168 struct tb *tb = container_of(dev, struct tb, dev); boot_acl_store() local 258 struct tb *tb = container_of(dev, struct tb, dev); security_show() local 279 struct tb *tb = container_of(dev, struct tb, dev); domain_attr_is_visible() local 312 struct tb *tb = container_of(dev, struct tb, dev); tb_domain_release() local 342 struct tb *tb; tb_domain_alloc() local 387 struct tb *tb = data; tb_domain_event_cb() local 417 tb_domain_add(struct tb *tb) tb_domain_add() argument 486 tb_domain_remove(struct tb *tb) tb_domain_remove() argument 505 tb_domain_suspend_noirq(struct tb *tb) tb_domain_suspend_noirq() argument 531 tb_domain_resume_noirq(struct tb *tb) tb_domain_resume_noirq() argument 544 tb_domain_suspend(struct tb *tb) tb_domain_suspend() argument 549 tb_domain_freeze_noirq(struct tb *tb) tb_domain_freeze_noirq() argument 563 tb_domain_thaw_noirq(struct tb *tb) tb_domain_thaw_noirq() argument 576 tb_domain_complete(struct tb *tb) tb_domain_complete() argument 582 tb_domain_runtime_suspend(struct tb *tb) tb_domain_runtime_suspend() argument 593 tb_domain_runtime_resume(struct tb *tb) tb_domain_runtime_resume() argument 613 tb_domain_approve_switch(struct tb *tb, struct tb_switch *sw) tb_domain_approve_switch() argument 639 tb_domain_approve_switch_key(struct tb *tb, struct tb_switch *sw) tb_domain_approve_switch_key() argument 671 tb_domain_challenge_switch_key(struct tb *tb, struct tb_switch *sw) tb_domain_challenge_switch_key() argument 744 tb_domain_disconnect_pcie_paths(struct tb *tb) tb_domain_disconnect_pcie_paths() argument 764 tb_domain_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) tb_domain_approve_xdomain_paths() argument 784 tb_domain_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) tb_domain_disconnect_xdomain_paths() argument 795 struct tb *tb = data; disconnect_xdomain() local 815 tb_domain_disconnect_all_paths(struct tb *tb) tb_domain_disconnect_all_paths() argument [all...] |
H A D | tb.c | 14 #include "tb.h" 36 static inline struct tb *tcm_to_tb(struct tb_cm *tcm) in tcm_to_tb() 38 return ((void *)tcm - sizeof(struct tb)); in tcm_to_tb() 43 struct tb *tb; member 51 static void tb_queue_hotplug(struct tb *tb, u64 route, u8 port, bool unplug) in tb_queue_hotplug() argument 59 ev->tb = tb; in tb_queue_hotplug() 64 queue_work(tb in tb_queue_hotplug() 107 struct tb *tb = sw->tb; tb_discover_tunnels() local 182 struct tb *tb = sw->tb; tb_scan_xdomain() local 256 tb_find_tunnel(struct tb *tb, enum tb_tunnel_type type, struct tb_port *src_port, struct tb_port *dst_port) tb_find_tunnel() argument 274 tb_find_first_usb3_tunnel(struct tb *tb, struct tb_port *src_port, struct tb_port *dst_port) tb_find_first_usb3_tunnel() argument 301 tb_available_bandwidth(struct tb *tb, struct tb_port *src_port, struct tb_port *dst_port, int *available_up, int *available_down) tb_available_bandwidth() argument 394 tb_release_unused_usb3_bandwidth(struct tb *tb, struct tb_port *src_port, struct tb_port *dst_port) tb_release_unused_usb3_bandwidth() argument 404 tb_reclaim_usb3_bandwidth(struct tb *tb, struct tb_port *src_port, struct tb_port *dst_port) tb_reclaim_usb3_bandwidth() argument 433 tb_tunnel_usb3(struct tb *tb, struct tb_switch *sw) tb_tunnel_usb3() argument 670 struct tb *tb; tb_deactivate_and_free_tunnel() local 714 tb_free_invalid_tunnels(struct tb *tb) tb_free_invalid_tunnels() argument 801 tb_find_dp_out(struct tb *tb, struct tb_port *in) tb_find_dp_out() argument 838 tb_tunnel_dp(struct tb *tb) tb_tunnel_dp() argument 939 tb_dp_resource_unavailable(struct tb *tb, struct tb_port *port) tb_dp_resource_unavailable() argument 965 tb_dp_resource_available(struct tb *tb, struct tb_port *port) tb_dp_resource_available() argument 986 tb_disconnect_and_release_dp(struct tb *tb) tb_disconnect_and_release_dp() argument 1009 tb_tunnel_pci(struct tb *tb, struct tb_switch *sw) tb_tunnel_pci() argument 1045 tb_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) tb_approve_xdomain_paths() argument 1078 __tb_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) __tb_disconnect_xdomain_paths() argument 1096 tb_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) tb_disconnect_xdomain_paths() argument 1116 struct tb *tb = ev->tb; tb_handle_hotplug() local 1222 tb_handle_event(struct tb *tb, enum tb_cfg_pkg_type type, const void *buf, size_t size) tb_handle_event() argument 1243 tb_stop(struct tb *tb) tb_stop() argument 1286 tb_start(struct tb *tb) tb_start() argument 1339 tb_suspend_noirq(struct tb *tb) tb_suspend_noirq() argument 1378 tb_resume_noirq(struct tb *tb) tb_resume_noirq() argument 1431 tb_freeze_noirq(struct tb *tb) tb_freeze_noirq() argument 1439 tb_thaw_noirq(struct tb *tb) tb_thaw_noirq() argument 1447 tb_complete(struct tb *tb) tb_complete() argument 1460 tb_runtime_suspend(struct tb *tb) tb_runtime_suspend() argument 1475 struct tb *tb = tcm_to_tb(tcm); tb_remove_work() local 1485 tb_runtime_resume(struct tb *tb) tb_runtime_resume() argument 1527 struct tb *tb; tb_probe() local [all...] |
H A D | icm.c | 24 #include "tb.h" 89 bool (*is_supported)(struct tb *tb); 90 int (*cio_reset)(struct tb *tb); 91 int (*get_mode)(struct tb *tb); 92 int (*get_route)(struct tb *tb, u8 link, u8 depth, u64 *route); 93 void (*save_devices)(struct tb *t 112 struct tb *tb; global() member 282 icm_request(struct tb *tb, const void *request, size_t request_size, void *response, size_t response_size, size_t npackets, int retries, unsigned int timeout_msec) icm_request() argument 326 icm_postpone_rescan(struct tb *tb) icm_postpone_rescan() argument 335 icm_veto_begin(struct tb *tb) icm_veto_begin() argument 346 icm_veto_end(struct tb *tb) icm_veto_end() argument 366 icm_fr_is_supported(struct tb *tb) icm_fr_is_supported() argument 382 icm_fr_get_route(struct tb *tb, u8 link, u8 depth, u64 *route) icm_fr_get_route() argument 433 icm_fr_save_devices(struct tb *tb) icm_fr_save_devices() argument 439 icm_fr_driver_ready(struct tb *tb, enum tb_security_level *security_level, size_t *nboot_acl, bool *rpm) icm_fr_driver_ready() argument 460 icm_fr_approve_switch(struct tb *tb, struct tb_switch *sw) icm_fr_approve_switch() argument 487 icm_fr_add_switch_key(struct tb *tb, struct tb_switch *sw) icm_fr_add_switch_key() argument 514 icm_fr_challenge_switch_key(struct tb *tb, struct tb_switch *sw, const u8 *challenge, u8 *response) icm_fr_challenge_switch_key() argument 544 icm_fr_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) icm_fr_approve_xdomain_paths() argument 572 icm_fr_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) icm_fr_disconnect_xdomain_paths() argument 592 struct tb *tb = parent_sw->tb; alloc_switch() local 702 icm_fr_device_connected(struct tb *tb, const struct icm_pkg_header *hdr) icm_fr_device_connected() argument 850 icm_fr_device_disconnected(struct tb *tb, const struct icm_pkg_header *hdr) icm_fr_device_disconnected() argument 878 icm_fr_xdomain_connected(struct tb *tb, const struct icm_pkg_header *hdr) icm_fr_xdomain_connected() argument 964 icm_fr_xdomain_disconnected(struct tb *tb, const struct icm_pkg_header *hdr) icm_fr_xdomain_disconnected() argument 982 icm_tr_cio_reset(struct tb *tb) icm_tr_cio_reset() argument 988 icm_tr_driver_ready(struct tb *tb, enum tb_security_level *security_level, size_t *nboot_acl, bool *rpm) icm_tr_driver_ready() argument 1014 icm_tr_approve_switch(struct tb *tb, struct tb_switch *sw) icm_tr_approve_switch() argument 1041 icm_tr_add_switch_key(struct tb *tb, struct tb_switch *sw) icm_tr_add_switch_key() argument 1069 icm_tr_challenge_switch_key(struct tb *tb, struct tb_switch *sw, const u8 *challenge, u8 *response) icm_tr_challenge_switch_key() argument 1100 icm_tr_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) icm_tr_approve_xdomain_paths() argument 1128 icm_tr_xdomain_tear_down(struct tb *tb, struct tb_xdomain *xd, int stage) icm_tr_xdomain_tear_down() argument 1154 icm_tr_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) icm_tr_disconnect_xdomain_paths() argument 1167 __icm_tr_device_connected(struct tb *tb, const struct icm_pkg_header *hdr, bool force_rtd3) __icm_tr_device_connected() argument 1263 icm_tr_device_connected(struct tb *tb, const struct icm_pkg_header *hdr) icm_tr_device_connected() argument 1269 icm_tr_device_disconnected(struct tb *tb, const struct icm_pkg_header *hdr) icm_tr_device_disconnected() argument 1289 icm_tr_xdomain_connected(struct tb *tb, const struct icm_pkg_header *hdr) icm_tr_xdomain_connected() argument 1343 icm_tr_xdomain_disconnected(struct tb *tb, const struct icm_pkg_header *hdr) icm_tr_xdomain_disconnected() argument 1389 icm_ar_is_supported(struct tb *tb) icm_ar_is_supported() argument 1425 icm_ar_cio_reset(struct tb *tb) icm_ar_cio_reset() argument 1430 icm_ar_get_mode(struct tb *tb) icm_ar_get_mode() argument 1452 icm_ar_driver_ready(struct tb *tb, enum tb_security_level *security_level, size_t *nboot_acl, bool *rpm) icm_ar_driver_ready() argument 1478 icm_ar_get_route(struct tb *tb, u8 link, u8 depth, u64 *route) icm_ar_get_route() argument 1500 icm_ar_get_boot_acl(struct tb *tb, uuid_t *uuids, size_t nuuids) icm_ar_get_boot_acl() argument 1537 icm_ar_set_boot_acl(struct tb *tb, const uuid_t *uuids, size_t nuuids) icm_ar_set_boot_acl() argument 1582 icm_icl_driver_ready(struct tb *tb, enum tb_security_level *security_level, size_t *nboot_acl, bool *rpm) icm_icl_driver_ready() argument 1604 icm_icl_set_uuid(struct tb *tb) icm_icl_set_uuid() argument 1618 icm_icl_device_connected(struct tb *tb, const struct icm_pkg_header *hdr) icm_icl_device_connected() argument 1623 icm_icl_rtd3_veto(struct tb *tb, const struct icm_pkg_header *hdr) icm_icl_rtd3_veto() argument 1636 icm_tgl_is_supported(struct tb *tb) icm_tgl_is_supported() argument 1651 struct tb *tb = n->tb; icm_handle_notification() local 1687 icm_handle_event(struct tb *tb, enum tb_cfg_pkg_type type, const void *buf, size_t size) icm_handle_event() argument 1704 __icm_driver_ready(struct tb *tb, enum tb_security_level *security_level, size_t *nboot_acl, bool *rpm) __icm_driver_ready() argument 1737 icm_firmware_reset(struct tb *tb, struct tb_nhi *nhi) icm_firmware_reset() argument 1760 icm_firmware_start(struct tb *tb, struct tb_nhi *nhi) icm_firmware_start() argument 1789 icm_reset_phy_port(struct tb *tb, int phy_port) icm_reset_phy_port() argument 1857 icm_firmware_init(struct tb *tb) icm_firmware_init() argument 1905 icm_driver_ready(struct tb *tb) icm_driver_ready() argument 1936 icm_suspend(struct tb *tb) icm_suspend() argument 2020 struct tb *tb = icm_to_tb(icm); icm_rescan_work() local 2028 icm_complete(struct tb *tb) icm_complete() argument 2058 icm_runtime_suspend(struct tb *tb) icm_runtime_suspend() argument 2082 icm_runtime_resume(struct tb *tb) icm_runtime_resume() argument 2092 icm_start(struct tb *tb) icm_start() argument 2119 icm_stop(struct tb *tb) icm_stop() argument 2129 icm_disconnect_pcie_paths(struct tb *tb) icm_disconnect_pcie_paths() argument 2210 struct tb *tb; icm_probe() local [all...] |
H A D | tb.h | 106 * @tb: Pointer to the domain the switch belongs to 148 struct tb *tb; member 222 * @tb: Pointer to the domain the retimer belongs to 232 struct tb *tb; member 292 * @tb: Pointer to the domain structure 313 struct tb *tb; member 372 int (*driver_ready)(struct tb *t 398 tb_priv(struct tb *tb) tb_priv() argument 627 tb_domain_get(struct tb *tb) tb_domain_get() argument 634 tb_domain_put(struct tb *tb) tb_domain_put() argument [all...] |
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | netlink_dumper.c | 14 static void xdp_dump_prog_id(struct nlattr **tb, int attr, in xdp_dump_prog_id() argument 18 if (!tb[attr]) in xdp_dump_prog_id() 24 NET_DUMP_UINT("id", " id %u", libbpf_nla_getattr_u32(tb[attr])) in xdp_dump_prog_id() 32 struct nlattr *tb[IFLA_XDP_MAX + 1]; in do_xdp_dump_one() local 35 if (libbpf_nla_parse_nested(tb, IFLA_XDP_MAX, attr, NULL) < 0) in do_xdp_dump_one() 38 if (!tb[IFLA_XDP_ATTACHED]) in do_xdp_dump_one() 41 mode = libbpf_nla_getattr_u8(tb[IFLA_XDP_ATTACHED]); in do_xdp_dump_one() 55 xdp_dump_prog_id(tb, IFLA_XDP_SKB_PROG_ID, "generic", true); in do_xdp_dump_one() 56 xdp_dump_prog_id(tb, IFLA_XDP_DRV_PROG_ID, "driver", true); in do_xdp_dump_one() 57 xdp_dump_prog_id(tb, IFLA_XDP_HW_PROG_I in do_xdp_dump_one() 72 do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb) do_xdp_dump() argument 83 struct nlattr *tb[TCA_ACT_BPF_MAX + 1]; do_bpf_dump_one_act() local 104 struct nlattr *tb[TCA_ACT_MAX + 1]; do_dump_one_act() local 121 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; do_bpf_act_dump() local 140 struct nlattr *tb[TCA_BPF_MAX + 1]; do_bpf_filter_dump() local 161 do_filter_dump(struct tcmsg *info, struct nlattr **tb, const char *kind, const char *devname, int ifindex) do_filter_dump() argument [all...] |
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | netlink_dumper.c | 14 static void xdp_dump_prog_id(struct nlattr **tb, int attr, in xdp_dump_prog_id() argument 18 if (!tb[attr]) in xdp_dump_prog_id() 24 NET_DUMP_UINT("id", " id %u", libbpf_nla_getattr_u32(tb[attr])) in xdp_dump_prog_id() 32 struct nlattr *tb[IFLA_XDP_MAX + 1]; in do_xdp_dump_one() local 35 if (libbpf_nla_parse_nested(tb, IFLA_XDP_MAX, attr, NULL) < 0) in do_xdp_dump_one() 38 if (!tb[IFLA_XDP_ATTACHED]) in do_xdp_dump_one() 41 mode = libbpf_nla_getattr_u8(tb[IFLA_XDP_ATTACHED]); in do_xdp_dump_one() 55 xdp_dump_prog_id(tb, IFLA_XDP_SKB_PROG_ID, "generic", true); in do_xdp_dump_one() 56 xdp_dump_prog_id(tb, IFLA_XDP_DRV_PROG_ID, "driver", true); in do_xdp_dump_one() 57 xdp_dump_prog_id(tb, IFLA_XDP_HW_PROG_I in do_xdp_dump_one() 72 do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb) do_xdp_dump() argument 83 struct nlattr *tb[TCA_ACT_BPF_MAX + 1]; do_bpf_dump_one_act() local 104 struct nlattr *tb[TCA_ACT_MAX + 1]; do_dump_one_act() local 121 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; do_bpf_act_dump() local 140 struct nlattr *tb[TCA_BPF_MAX + 1]; do_bpf_filter_dump() local 161 do_filter_dump(struct tcmsg *info, struct nlattr **tb, const char *kind, const char *devname, int ifindex) do_filter_dump() argument [all...] |
/kernel/linux/linux-6.6/net/bridge/ |
H A D | br_cfm_netlink.c | 93 struct nlattr *tb[IFLA_BRIDGE_CFM_MEP_CREATE_MAX + 1]; in br_mep_create_parse() local 98 err = nla_parse_nested(tb, IFLA_BRIDGE_CFM_MEP_CREATE_MAX, attr, in br_mep_create_parse() 103 if (!tb[IFLA_BRIDGE_CFM_MEP_CREATE_INSTANCE]) { in br_mep_create_parse() 107 if (!tb[IFLA_BRIDGE_CFM_MEP_CREATE_DOMAIN]) { in br_mep_create_parse() 111 if (!tb[IFLA_BRIDGE_CFM_MEP_CREATE_DIRECTION]) { in br_mep_create_parse() 115 if (!tb[IFLA_BRIDGE_CFM_MEP_CREATE_IFINDEX]) { in br_mep_create_parse() 122 instance = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_INSTANCE]); in br_mep_create_parse() 123 create.domain = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_DOMAIN]); in br_mep_create_parse() 124 create.direction = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_DIRECTION]); in br_mep_create_parse() 125 create.ifindex = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_IFINDE in br_mep_create_parse() 133 struct nlattr *tb[IFLA_BRIDGE_CFM_MEP_DELETE_MAX + 1]; br_mep_delete_parse() local 156 struct nlattr *tb[IFLA_BRIDGE_CFM_MEP_CONFIG_MAX + 1]; br_mep_config_parse() local 198 struct nlattr *tb[IFLA_BRIDGE_CFM_CC_CONFIG_MAX + 1]; br_cc_config_parse() local 239 struct nlattr *tb[IFLA_BRIDGE_CFM_CC_PEER_MEP_MAX + 1]; br_cc_peer_mep_add_parse() local 266 struct nlattr *tb[IFLA_BRIDGE_CFM_CC_PEER_MEP_MAX + 1]; br_cc_peer_mep_remove_parse() local 293 struct nlattr *tb[IFLA_BRIDGE_CFM_CC_RDI_MAX + 1]; br_cc_rdi_parse() local 320 struct nlattr *tb[IFLA_BRIDGE_CFM_CC_CCM_TX_MAX + 1]; br_cc_ccm_tx_parse() local 382 struct nlattr *tb[IFLA_BRIDGE_CFM_MAX + 1]; br_cfm_parse() local 459 struct nlattr *tb; br_cfm_config_fill_info() local 622 struct nlattr *tb; br_cfm_status_fill_info() local [all...] |
H A D | br_mrp_netlink.c | 34 struct nlattr *tb[IFLA_BRIDGE_MRP_INSTANCE_MAX + 1]; in br_mrp_instance_parse() local 38 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_INSTANCE_MAX, attr, in br_mrp_instance_parse() 43 if (!tb[IFLA_BRIDGE_MRP_INSTANCE_RING_ID] || in br_mrp_instance_parse() 44 !tb[IFLA_BRIDGE_MRP_INSTANCE_P_IFINDEX] || in br_mrp_instance_parse() 45 !tb[IFLA_BRIDGE_MRP_INSTANCE_S_IFINDEX]) { in br_mrp_instance_parse() 53 inst.ring_id = nla_get_u32(tb[IFLA_BRIDGE_MRP_INSTANCE_RING_ID]); in br_mrp_instance_parse() 54 inst.p_ifindex = nla_get_u32(tb[IFLA_BRIDGE_MRP_INSTANCE_P_IFINDEX]); in br_mrp_instance_parse() 55 inst.s_ifindex = nla_get_u32(tb[IFLA_BRIDGE_MRP_INSTANCE_S_IFINDEX]); in br_mrp_instance_parse() 58 if (tb[IFLA_BRIDGE_MRP_INSTANCE_PRIO]) in br_mrp_instance_parse() 59 inst.prio = nla_get_u16(tb[IFLA_BRIDGE_MRP_INSTANCE_PRI in br_mrp_instance_parse() 79 struct nlattr *tb[IFLA_BRIDGE_MRP_PORT_STATE_MAX + 1]; br_mrp_port_state_parse() local 108 struct nlattr *tb[IFLA_BRIDGE_MRP_PORT_ROLE_MAX + 1]; br_mrp_port_role_parse() local 137 struct nlattr *tb[IFLA_BRIDGE_MRP_RING_STATE_MAX + 1]; br_mrp_ring_state_parse() local 171 struct nlattr *tb[IFLA_BRIDGE_MRP_RING_ROLE_MAX + 1]; br_mrp_ring_role_parse() local 208 struct nlattr *tb[IFLA_BRIDGE_MRP_START_TEST_MAX + 1]; br_mrp_start_test_parse() local 251 struct nlattr *tb[IFLA_BRIDGE_MRP_IN_STATE_MAX + 1]; br_mrp_in_state_parse() local 287 struct nlattr *tb[IFLA_BRIDGE_MRP_IN_ROLE_MAX + 1]; br_mrp_in_role_parse() local 328 struct nlattr *tb[IFLA_BRIDGE_MRP_START_IN_TEST_MAX + 1]; br_mrp_start_in_test_parse() local 359 struct nlattr *tb[IFLA_BRIDGE_MRP_MAX + 1]; br_mrp_parse() local 449 struct nlattr *tb, *mrp_tb; br_mrp_fill_info() local [all...] |
/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_mrp_netlink.c | 34 struct nlattr *tb[IFLA_BRIDGE_MRP_INSTANCE_MAX + 1]; in br_mrp_instance_parse() local 38 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_INSTANCE_MAX, attr, in br_mrp_instance_parse() 43 if (!tb[IFLA_BRIDGE_MRP_INSTANCE_RING_ID] || in br_mrp_instance_parse() 44 !tb[IFLA_BRIDGE_MRP_INSTANCE_P_IFINDEX] || in br_mrp_instance_parse() 45 !tb[IFLA_BRIDGE_MRP_INSTANCE_S_IFINDEX]) { in br_mrp_instance_parse() 53 inst.ring_id = nla_get_u32(tb[IFLA_BRIDGE_MRP_INSTANCE_RING_ID]); in br_mrp_instance_parse() 54 inst.p_ifindex = nla_get_u32(tb[IFLA_BRIDGE_MRP_INSTANCE_P_IFINDEX]); in br_mrp_instance_parse() 55 inst.s_ifindex = nla_get_u32(tb[IFLA_BRIDGE_MRP_INSTANCE_S_IFINDEX]); in br_mrp_instance_parse() 58 if (tb[IFLA_BRIDGE_MRP_INSTANCE_PRIO]) in br_mrp_instance_parse() 59 inst.prio = nla_get_u16(tb[IFLA_BRIDGE_MRP_INSTANCE_PRI in br_mrp_instance_parse() 79 struct nlattr *tb[IFLA_BRIDGE_MRP_PORT_STATE_MAX + 1]; br_mrp_port_state_parse() local 108 struct nlattr *tb[IFLA_BRIDGE_MRP_PORT_ROLE_MAX + 1]; br_mrp_port_role_parse() local 137 struct nlattr *tb[IFLA_BRIDGE_MRP_RING_STATE_MAX + 1]; br_mrp_ring_state_parse() local 171 struct nlattr *tb[IFLA_BRIDGE_MRP_RING_ROLE_MAX + 1]; br_mrp_ring_role_parse() local 208 struct nlattr *tb[IFLA_BRIDGE_MRP_START_TEST_MAX + 1]; br_mrp_start_test_parse() local 251 struct nlattr *tb[IFLA_BRIDGE_MRP_IN_STATE_MAX + 1]; br_mrp_in_state_parse() local 287 struct nlattr *tb[IFLA_BRIDGE_MRP_IN_ROLE_MAX + 1]; br_mrp_in_role_parse() local 328 struct nlattr *tb[IFLA_BRIDGE_MRP_START_IN_TEST_MAX + 1]; br_mrp_start_in_test_parse() local 359 struct nlattr *tb[IFLA_BRIDGE_MRP_MAX + 1]; br_mrp_parse() local 449 struct nlattr *tb, *mrp_tb; br_mrp_fill_info() local [all...] |
/kernel/linux/linux-5.10/include/drm/ |
H A D | task_barrier.h | 55 static inline void task_barrier_init(struct task_barrier *tb) in task_barrier_init() argument 57 tb->n = 0; in task_barrier_init() 58 atomic_set(&tb->count, 0); in task_barrier_init() 59 sema_init(&tb->enter_turnstile, 0); in task_barrier_init() 60 sema_init(&tb->exit_turnstile, 0); in task_barrier_init() 63 static inline void task_barrier_add_task(struct task_barrier *tb) in task_barrier_add_task() argument 65 tb->n++; in task_barrier_add_task() 68 static inline void task_barrier_rem_task(struct task_barrier *tb) in task_barrier_rem_task() argument 70 tb->n--; in task_barrier_rem_task() 78 static inline void task_barrier_enter(struct task_barrier *tb) in task_barrier_enter() argument 92 task_barrier_exit(struct task_barrier *tb) task_barrier_exit() argument 101 task_barrier_full(struct task_barrier *tb) task_barrier_full() argument [all...] |
/kernel/linux/linux-6.6/include/drm/ |
H A D | task_barrier.h | 55 static inline void task_barrier_init(struct task_barrier *tb) in task_barrier_init() argument 57 tb->n = 0; in task_barrier_init() 58 atomic_set(&tb->count, 0); in task_barrier_init() 59 sema_init(&tb->enter_turnstile, 0); in task_barrier_init() 60 sema_init(&tb->exit_turnstile, 0); in task_barrier_init() 63 static inline void task_barrier_add_task(struct task_barrier *tb) in task_barrier_add_task() argument 65 tb->n++; in task_barrier_add_task() 68 static inline void task_barrier_rem_task(struct task_barrier *tb) in task_barrier_rem_task() argument 70 tb->n--; in task_barrier_rem_task() 78 static inline void task_barrier_enter(struct task_barrier *tb) in task_barrier_enter() argument 92 task_barrier_exit(struct task_barrier *tb) task_barrier_exit() argument 101 task_barrier_full(struct task_barrier *tb) task_barrier_full() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | trace.c | 17 struct trace_buffer *tb; in trace_buffer_allocate() local 19 if (size < sizeof(*tb)) { in trace_buffer_allocate() 24 tb = mmap(NULL, size, PROT_READ | PROT_WRITE, in trace_buffer_allocate() 26 if (tb == MAP_FAILED) { in trace_buffer_allocate() 31 tb->size = size; in trace_buffer_allocate() 32 tb->tail = tb->data; in trace_buffer_allocate() 33 tb->overflow = false; in trace_buffer_allocate() 35 return tb; in trace_buffer_allocate() 38 static bool trace_check_bounds(struct trace_buffer *tb, voi argument 43 trace_check_alloc(struct trace_buffer *tb, void *p) trace_check_alloc() argument 62 trace_alloc(struct trace_buffer *tb, int bytes) trace_alloc() argument 76 trace_alloc_entry(struct trace_buffer *tb, int payload_size) trace_alloc_entry() argument 87 trace_log_reg(struct trace_buffer *tb, u64 reg, u64 value) trace_log_reg() argument 104 trace_log_counter(struct trace_buffer *tb, u64 value) trace_log_counter() argument 120 trace_log_string(struct trace_buffer *tb, char *str) trace_log_string() argument 142 trace_log_indent(struct trace_buffer *tb) trace_log_indent() argument 155 trace_log_outdent(struct trace_buffer *tb) trace_log_outdent() argument 269 trace_buffer_print(struct trace_buffer *tb) trace_buffer_print() argument 297 trace_print_location(struct trace_buffer *tb) trace_print_location() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | trace.c | 17 struct trace_buffer *tb; in trace_buffer_allocate() local 19 if (size < sizeof(*tb)) { in trace_buffer_allocate() 24 tb = mmap(NULL, size, PROT_READ | PROT_WRITE, in trace_buffer_allocate() 26 if (tb == MAP_FAILED) { in trace_buffer_allocate() 31 tb->size = size; in trace_buffer_allocate() 32 tb->tail = tb->data; in trace_buffer_allocate() 33 tb->overflow = false; in trace_buffer_allocate() 35 return tb; in trace_buffer_allocate() 38 static bool trace_check_bounds(struct trace_buffer *tb, voi argument 43 trace_check_alloc(struct trace_buffer *tb, void *p) trace_check_alloc() argument 62 trace_alloc(struct trace_buffer *tb, int bytes) trace_alloc() argument 76 trace_alloc_entry(struct trace_buffer *tb, int payload_size) trace_alloc_entry() argument 87 trace_log_reg(struct trace_buffer *tb, u64 reg, u64 value) trace_log_reg() argument 104 trace_log_counter(struct trace_buffer *tb, u64 value) trace_log_counter() argument 120 trace_log_string(struct trace_buffer *tb, char *str) trace_log_string() argument 142 trace_log_indent(struct trace_buffer *tb) trace_log_indent() argument 155 trace_log_outdent(struct trace_buffer *tb) trace_log_outdent() argument 269 trace_buffer_print(struct trace_buffer *tb) trace_buffer_print() argument 297 trace_print_location(struct trace_buffer *tb) trace_print_location() argument [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nfnetlink_cthelper.c | 76 struct nlattr *tb[NFCTH_TUPLE_MAX+1]; in nfnl_cthelper_parse_tuple() local 78 err = nla_parse_nested_deprecated(tb, NFCTH_TUPLE_MAX, attr, in nfnl_cthelper_parse_tuple() 83 if (!tb[NFCTH_TUPLE_L3PROTONUM] || !tb[NFCTH_TUPLE_L4PROTONUM]) in nfnl_cthelper_parse_tuple() 89 tuple->src.l3num = ntohs(nla_get_be16(tb[NFCTH_TUPLE_L3PROTONUM])); in nfnl_cthelper_parse_tuple() 90 tuple->dst.protonum = nla_get_u8(tb[NFCTH_TUPLE_L4PROTONUM]); in nfnl_cthelper_parse_tuple() 137 struct nlattr *tb[NFCTH_POLICY_MAX+1]; in nfnl_cthelper_expect_policy() local 139 err = nla_parse_nested_deprecated(tb, NFCTH_POLICY_MAX, attr, in nfnl_cthelper_expect_policy() 144 if (!tb[NFCTH_POLICY_NAME] || in nfnl_cthelper_expect_policy() 145 !tb[NFCTH_POLICY_EXPECT_MA in nfnl_cthelper_expect_policy() 173 struct nlattr *tb[NFCTH_POLICY_SET_MAX+1]; nfnl_cthelper_parse_expect_policy() local 216 nfnl_cthelper_create(const struct nlattr * const tb[], struct nf_conntrack_tuple *tuple) nfnl_cthelper_create() argument 288 struct nlattr *tb[NFCTH_POLICY_MAX + 1]; nfnl_cthelper_update_policy_one() local 315 nfnl_cthelper_update_policy_all(struct nlattr *tb[], struct nf_conntrack_helper *helper) nfnl_cthelper_update_policy_all() argument 359 struct nlattr *tb[NFCTH_POLICY_SET_MAX + 1]; nfnl_cthelper_update_policy() local 380 nfnl_cthelper_update(const struct nlattr * const tb[], struct nf_conntrack_helper *helper) nfnl_cthelper_update() argument 415 nfnl_cthelper_new(struct net *net, struct sock *nfnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const tb[], struct netlink_ext_ack *extack) nfnl_cthelper_new() argument 614 nfnl_cthelper_get(struct net *net, struct sock *nfnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const tb[], struct netlink_ext_ack *extack) nfnl_cthelper_get() argument 685 nfnl_cthelper_del(struct net *net, struct sock *nfnl, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const tb[], struct netlink_ext_ack *extack) nfnl_cthelper_del() argument [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nfnetlink_cthelper.c | 76 struct nlattr *tb[NFCTH_TUPLE_MAX+1]; in nfnl_cthelper_parse_tuple() local 78 err = nla_parse_nested_deprecated(tb, NFCTH_TUPLE_MAX, attr, in nfnl_cthelper_parse_tuple() 83 if (!tb[NFCTH_TUPLE_L3PROTONUM] || !tb[NFCTH_TUPLE_L4PROTONUM]) in nfnl_cthelper_parse_tuple() 89 tuple->src.l3num = ntohs(nla_get_be16(tb[NFCTH_TUPLE_L3PROTONUM])); in nfnl_cthelper_parse_tuple() 90 tuple->dst.protonum = nla_get_u8(tb[NFCTH_TUPLE_L4PROTONUM]); in nfnl_cthelper_parse_tuple() 141 struct nlattr *tb[NFCTH_POLICY_MAX+1]; in nfnl_cthelper_expect_policy() local 143 err = nla_parse_nested_deprecated(tb, NFCTH_POLICY_MAX, attr, in nfnl_cthelper_expect_policy() 148 if (!tb[NFCTH_POLICY_NAME] || in nfnl_cthelper_expect_policy() 149 !tb[NFCTH_POLICY_EXPECT_MA in nfnl_cthelper_expect_policy() 177 struct nlattr *tb[NFCTH_POLICY_SET_MAX+1]; nfnl_cthelper_parse_expect_policy() local 220 nfnl_cthelper_create(const struct nlattr * const tb[], struct nf_conntrack_tuple *tuple) nfnl_cthelper_create() argument 292 struct nlattr *tb[NFCTH_POLICY_MAX + 1]; nfnl_cthelper_update_policy_one() local 319 nfnl_cthelper_update_policy_all(struct nlattr *tb[], struct nf_conntrack_helper *helper) nfnl_cthelper_update_policy_all() argument 363 struct nlattr *tb[NFCTH_POLICY_SET_MAX + 1]; nfnl_cthelper_update_policy() local 384 nfnl_cthelper_update(const struct nlattr * const tb[], struct nf_conntrack_helper *helper) nfnl_cthelper_update() argument 419 nfnl_cthelper_new(struct sk_buff *skb, const struct nfnl_info *info, const struct nlattr * const tb[]) nfnl_cthelper_new() argument 616 nfnl_cthelper_get(struct sk_buff *skb, const struct nfnl_info *info, const struct nlattr * const tb[]) nfnl_cthelper_get() argument 681 nfnl_cthelper_del(struct sk_buff *skb, const struct nfnl_info *info, const struct nlattr * const tb[]) nfnl_cthelper_del() argument [all...] |