/kernel/linux/linux-5.10/net/tipc/ |
H A D | core.c | 55 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_init_net() local 58 tn->net_id = 4711; in tipc_init_net() 59 tn->node_addr = 0; in tipc_init_net() 60 tn->trial_addr = 0; in tipc_init_net() 61 tn->addr_trial_end = 0; in tipc_init_net() 62 tn->capabilities = TIPC_NODE_CAPABILITIES; in tipc_init_net() 63 INIT_WORK(&tn->work, tipc_net_finalize_work); in tipc_init_net() 64 memset(tn->node_id, 0, sizeof(tn->node_id)); in tipc_init_net() 65 memset(tn in tipc_init_net() 111 struct tipc_net *tn = tipc_net(net); tipc_exit_net() local [all...] |
H A D | addr.c | 57 struct tipc_net *tn = tipc_net(net); in tipc_set_node_id() local 60 memcpy(tn->node_id, id, NODE_ID_LEN); in tipc_set_node_id() 61 tipc_nodeid2string(tn->node_id_string, id); in tipc_set_node_id() 62 tn->trial_addr = tmp[0] ^ tmp[1] ^ tmp[2] ^ tmp[3]; in tipc_set_node_id() 64 tipc_own_id_string(net), tn->net_id); in tipc_set_node_id() 69 struct tipc_net *tn = tipc_net(net); in tipc_set_node_addr() local 72 tn->node_addr = addr; in tipc_set_node_addr() 77 tn->trial_addr = addr; in tipc_set_node_addr() 78 tn->addr_trial_end = jiffies; in tipc_set_node_addr()
|
H A D | net.c | 128 struct tipc_net *tn = tipc_net(net); in tipc_net_finalize() local 130 if (cmpxchg(&tn->node_addr, 0, addr)) in tipc_net_finalize() 142 struct tipc_net *tn = container_of(work, struct tipc_net, work); in tipc_net_finalize_work() local 144 tipc_net_finalize(tipc_link_net(tn->bcl), tn->trial_addr); in tipc_net_finalize_work() 162 struct tipc_net *tn = net_generic(net, tipc_net_id); in __tipc_nl_add_net() local 163 u64 *w0 = (u64 *)&tn->node_id[0]; in __tipc_nl_add_net() 164 u64 *w1 = (u64 *)&tn->node_id[8]; in __tipc_nl_add_net() 177 if (nla_put_u32(msg->skb, TIPC_NLA_NET_ID, tn->net_id)) in __tipc_nl_add_net() 225 struct tipc_net *tn in __tipc_nl_net_set() local 289 struct tipc_net *tn = tipc_net(net); __tipc_nl_addr_legacy_get() local [all...] |
H A D | discover.c | 83 struct tipc_net *tn = tipc_net(net); in tipc_disc_init_msg() local 88 tipc_msg_init(tn->trial_addr, hdr, LINK_CONFIG, mtyp, in tipc_disc_init_msg() 92 msg_set_node_sig(hdr, tn->random); in tipc_disc_init_msg() 95 msg_set_bc_netid(hdr, tn->net_id); in tipc_disc_init_msg() 97 msg_set_peer_net_hash(hdr, tipc_net_hash_mixes(net, tn->random)); in tipc_disc_init_msg() 149 struct tipc_net *tn = tipc_net(net); in tipc_disc_addr_trial_msg() local 151 bool trial = time_before(jiffies, tn->addr_trial_end) && !self; in tipc_disc_addr_trial_msg() 158 if (dst != tn->trial_addr) in tipc_disc_addr_trial_msg() 162 tn->trial_addr = sugg_addr; in tipc_disc_addr_trial_msg() 164 tn in tipc_disc_addr_trial_msg() 195 struct tipc_net *tn = tipc_net(net); tipc_disc_rcv() local 295 struct tipc_net *tn = tipc_net(d->net); tipc_disc_timeout() local 352 struct tipc_net *tn = tipc_net(net); tipc_disc_create() local [all...] |
H A D | name_distr.c | 201 struct tipc_net *tn = tipc_net(net); in tipc_named_node_up() local 206 spin_lock_bh(&tn->nametbl_lock); in tipc_named_node_up() 210 spin_unlock_bh(&tn->nametbl_lock); in tipc_named_node_up() 226 struct tipc_net *tn = tipc_net(net); in tipc_publ_purge() local 229 spin_lock_bh(&tn->nametbl_lock); in tipc_publ_purge() 234 spin_unlock_bh(&tn->nametbl_lock); in tipc_publ_purge() 252 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_dist_queue_purge() local 255 spin_lock_bh(&tn->nametbl_lock); in tipc_dist_queue_purge() 256 list_for_each_entry_safe(e, tmp, &tn->dist_queue, next) { in tipc_dist_queue_purge() 262 spin_unlock_bh(&tn in tipc_dist_queue_purge() 269 struct tipc_net *tn = tipc_net(net); tipc_publ_notify() local 373 struct tipc_net *tn = tipc_net(net); tipc_named_rcv() local 404 struct tipc_net *tn = tipc_net(net); tipc_named_reinit() local [all...] |
H A D | node.c | 324 struct tipc_net *tn = tipc_net(net); in tipc_node_find() local 329 hlist_for_each_entry_rcu(node, &tn->node_htable[thash], hash) { in tipc_node_find() 346 struct tipc_net *tn = tipc_net(net); in tipc_node_find_by_id() local 351 list_for_each_entry_rcu(n, &tn->node_list, list) { in tipc_node_find_by_id() 458 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_node_create() local 465 spin_lock_bh(&tn->node_list_lock); in tipc_node_create() 489 &tn->node_htable[tipc_hashfn(addr)]); in tipc_node_create() 491 list_for_each_entry_rcu(temp_node, &tn->node_list, list) { in tipc_node_create() 514 tn->capabilities = TIPC_NODE_CAPABILITIES; in tipc_node_create() 515 list_for_each_entry_rcu(temp_node, &tn in tipc_node_create() 633 struct tipc_net *tn = tipc_net(net); tipc_node_stop() local 753 struct tipc_net *tn = tipc_net(peer->net); tipc_node_cleanup() local 1110 struct tipc_net *tn = tipc_net(net); tipc_node_try_addr() local 1290 struct tipc_net *tn = net_generic(net, tipc_net_id); tipc_node_delete_links() local 2178 struct tipc_net *tn = tipc_net(net); tipc_node_apply_property() local 2212 struct tipc_net *tn = net_generic(net, tipc_net_id); tipc_nl_peer_rm() local 2273 struct tipc_net *tn = net_generic(net, tipc_net_id); tipc_nl_node_dump() local 2344 struct tipc_net *tn = net_generic(net, tipc_net_id); tipc_node_find_by_name() local 2526 struct tipc_net *tn = tipc_net(net); tipc_nl_node_reset_link_stats() local 2621 struct tipc_net *tn = net_generic(net, tipc_net_id); tipc_nl_node_dump_link() local 3011 struct tipc_net *tn = tipc_net(net); __tipc_nl_node_flush_key() local 3095 struct tipc_net *tn; tipc_node_pre_cleanup_net() local [all...] |
/kernel/linux/linux-6.6/net/tipc/ |
H A D | core.c | 55 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_init_net() local 58 tn->net_id = 4711; in tipc_init_net() 59 tn->node_addr = 0; in tipc_init_net() 60 tn->trial_addr = 0; in tipc_init_net() 61 tn->addr_trial_end = 0; in tipc_init_net() 62 tn->capabilities = TIPC_NODE_CAPABILITIES; in tipc_init_net() 63 INIT_WORK(&tn->work, tipc_net_finalize_work); in tipc_init_net() 64 memset(tn->node_id, 0, sizeof(tn->node_id)); in tipc_init_net() 65 memset(tn in tipc_init_net() 109 struct tipc_net *tn = tipc_net(net); tipc_exit_net() local [all...] |
H A D | addr.c | 58 struct tipc_net *tn = tipc_net(net); in tipc_set_node_id() local 60 memcpy(tn->node_id, id, NODE_ID_LEN); in tipc_set_node_id() 61 tipc_nodeid2string(tn->node_id_string, id); in tipc_set_node_id() 62 tn->trial_addr = hash128to32(id); in tipc_set_node_id() 64 tipc_own_id_string(net), tn->net_id); in tipc_set_node_id() 69 struct tipc_net *tn = tipc_net(net); in tipc_set_node_addr() local 72 tn->node_addr = addr; in tipc_set_node_addr() 77 tn->trial_addr = addr; in tipc_set_node_addr() 78 tn->addr_trial_end = jiffies; in tipc_set_node_addr()
|
H A D | net.c | 128 struct tipc_net *tn = tipc_net(net); in tipc_net_finalize() local 135 if (cmpxchg(&tn->node_addr, 0, addr)) in tipc_net_finalize() 146 struct tipc_net *tn = container_of(work, struct tipc_net, work); in tipc_net_finalize_work() local 148 tipc_net_finalize(tipc_link_net(tn->bcl), tn->trial_addr); in tipc_net_finalize_work() 166 struct tipc_net *tn = net_generic(net, tipc_net_id); in __tipc_nl_add_net() local 167 u64 *w0 = (u64 *)&tn->node_id[0]; in __tipc_nl_add_net() 168 u64 *w1 = (u64 *)&tn->node_id[8]; in __tipc_nl_add_net() 181 if (nla_put_u32(msg->skb, TIPC_NLA_NET_ID, tn->net_id)) in __tipc_nl_add_net() 229 struct tipc_net *tn in __tipc_nl_net_set() local 293 struct tipc_net *tn = tipc_net(net); __tipc_nl_addr_legacy_get() local [all...] |
H A D | discover.c | 84 struct tipc_net *tn = tipc_net(net); in tipc_disc_init_msg() local 89 tipc_msg_init(tn->trial_addr, hdr, LINK_CONFIG, mtyp, in tipc_disc_init_msg() 93 msg_set_node_sig(hdr, tn->random); in tipc_disc_init_msg() 96 msg_set_bc_netid(hdr, tn->net_id); in tipc_disc_init_msg() 98 msg_set_peer_net_hash(hdr, tipc_net_hash_mixes(net, tn->random)); in tipc_disc_init_msg() 150 struct tipc_net *tn = tipc_net(net); in tipc_disc_addr_trial_msg() local 152 bool trial = time_before(jiffies, tn->addr_trial_end) && !self; in tipc_disc_addr_trial_msg() 159 if (dst != tn->trial_addr) in tipc_disc_addr_trial_msg() 163 tn->trial_addr = sugg_addr; in tipc_disc_addr_trial_msg() 165 tn in tipc_disc_addr_trial_msg() 196 struct tipc_net *tn = tipc_net(net); tipc_disc_rcv() local 296 struct tipc_net *tn = tipc_net(d->net); tipc_disc_timeout() local 353 struct tipc_net *tn = tipc_net(net); tipc_disc_create() local [all...] |
H A D | name_distr.c | 209 struct tipc_net *tn = tipc_net(net); in tipc_named_node_up() local 214 spin_lock_bh(&tn->nametbl_lock); in tipc_named_node_up() 218 spin_unlock_bh(&tn->nametbl_lock); in tipc_named_node_up() 237 struct tipc_net *tn = tipc_net(net); in tipc_publ_purge() local 243 spin_lock_bh(&tn->nametbl_lock); in tipc_publ_purge() 247 spin_unlock_bh(&tn->nametbl_lock); in tipc_publ_purge() 256 struct tipc_net *tn = tipc_net(net); in tipc_publ_notify() local 262 spin_lock_bh(&tn->nametbl_lock); in tipc_publ_notify() 265 spin_unlock_bh(&tn->nametbl_lock); in tipc_publ_notify() 367 struct tipc_net *tn in tipc_named_rcv() local 399 struct tipc_net *tn = tipc_net(net); tipc_named_reinit() local [all...] |
/kernel/linux/linux-5.10/fs/jffs2/ |
H A D | readinode.c | 31 static int check_node_data(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) in check_node_data() argument 33 struct jffs2_raw_node_ref *ref = tn->fn->raw; in check_node_data() 40 BUG_ON(tn->csize == 0); in check_node_data() 44 len = tn->csize; in check_node_data() 51 if (adj >= tn->csize) { in check_node_data() 53 ref_offset(ref), tn->csize, ofs); in check_node_data() 62 ref_offset(ref), tn->csize, tn->partial_crc, tn->data_crc, ofs - len, ofs, len); in check_node_data() 69 JFFS2_WARNING("MTD point returned len too short: %zu instead of %u.\n", retlen, tn in check_node_data() 150 check_tn_node(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) check_tn_node() argument 178 struct jffs2_tmp_dnode_info *tn = NULL; jffs2_lookup_tn() local 199 jffs2_kill_tn(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) jffs2_kill_tn() argument 218 jffs2_add_tn_to_tree(struct jffs2_sb_info *c, struct jffs2_readinode_info *rii, struct jffs2_tmp_dnode_info *tn) jffs2_add_tn_to_tree() argument 424 ver_insert(struct rb_root *ver_root, struct jffs2_tmp_dnode_info *tn) ver_insert() argument 546 struct jffs2_tmp_dnode_info *tn, *next; jffs2_free_tmp_dnode_info_list() local 717 struct jffs2_tmp_dnode_info *tn; read_dnode() local [all...] |
/kernel/linux/linux-6.6/fs/jffs2/ |
H A D | readinode.c | 31 static int check_node_data(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) in check_node_data() argument 33 struct jffs2_raw_node_ref *ref = tn->fn->raw; in check_node_data() 40 BUG_ON(tn->csize == 0); in check_node_data() 44 len = tn->csize; in check_node_data() 51 if (adj >= tn->csize) { in check_node_data() 53 ref_offset(ref), tn->csize, ofs); in check_node_data() 62 ref_offset(ref), tn->csize, tn->partial_crc, tn->data_crc, ofs - len, ofs, len); in check_node_data() 69 JFFS2_WARNING("MTD point returned len too short: %zu instead of %u.\n", retlen, tn in check_node_data() 150 check_tn_node(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) check_tn_node() argument 178 struct jffs2_tmp_dnode_info *tn = NULL; jffs2_lookup_tn() local 199 jffs2_kill_tn(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) jffs2_kill_tn() argument 218 jffs2_add_tn_to_tree(struct jffs2_sb_info *c, struct jffs2_readinode_info *rii, struct jffs2_tmp_dnode_info *tn) jffs2_add_tn_to_tree() argument 424 ver_insert(struct rb_root *ver_root, struct jffs2_tmp_dnode_info *tn) ver_insert() argument 546 struct jffs2_tmp_dnode_info *tn, *next; jffs2_free_tmp_dnode_info_list() local 717 struct jffs2_tmp_dnode_info *tn; read_dnode() local [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | fib_trie.c | 172 static struct key_vector *resize(struct trie *t, struct key_vector *tn); 193 #define node_parent(tn) rtnl_dereference(tn_info(tn)->parent) 194 #define get_child(tn, i) rtnl_dereference((tn)->tnode[i]) 197 #define node_parent_rcu(tn) rcu_dereference_rtnl(tn_info(tn)->parent) 198 #define get_child_rcu(tn, i) rcu_dereference_rtnl((tn)->tnode[i]) 212 static inline unsigned long child_length(const struct key_vector *tn) in child_length() argument 378 struct key_vector *tn; tnode_new() local 408 tnode_full(struct key_vector *tn, struct key_vector *n) tnode_full() argument 416 put_child(struct key_vector *tn, unsigned long i, struct key_vector *n) put_child() argument 445 update_children(struct key_vector *tn) update_children() argument 476 tnode_free_init(struct key_vector *tn) tnode_free_init() argument 481 tnode_free_append(struct key_vector *tn, struct key_vector *n) tnode_free_append() argument 488 tnode_free(struct key_vector *tn) tnode_free() argument 506 replace(struct trie *t, struct key_vector *oldtnode, struct key_vector *tn) replace() argument 538 struct key_vector *tn; inflate() local 634 struct key_vector *tn; halve() local 707 update_suffix(struct key_vector *tn) update_suffix() argument 802 should_inflate(struct key_vector *tp, struct key_vector *tn) should_inflate() argument 817 should_halve(struct key_vector *tp, struct key_vector *tn) should_halve() argument 831 should_collapse(struct key_vector *tn) should_collapse() argument 846 resize(struct trie *t, struct key_vector *tn) resize() argument 911 node_pull_suffix(struct key_vector *tn, unsigned char slen) node_pull_suffix() argument 925 node_push_suffix(struct key_vector *tn, unsigned char slen) node_push_suffix() argument 1056 trie_rebalance(struct trie *t, struct key_vector *tn) trie_rebalance() argument 1081 struct key_vector *tn; fib_insert_node() local 1734 leaf_walk_rcu(struct key_vector **tn, t_key key) leaf_walk_rcu() argument [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | fib_trie.c | 173 static struct key_vector *resize(struct trie *t, struct key_vector *tn); 194 #define node_parent(tn) rtnl_dereference(tn_info(tn)->parent) 195 #define get_child(tn, i) rtnl_dereference((tn)->tnode[i]) 198 #define node_parent_rcu(tn) rcu_dereference_rtnl(tn_info(tn)->parent) 199 #define get_child_rcu(tn, i) rcu_dereference_rtnl((tn)->tnode[i]) 213 static inline unsigned long child_length(const struct key_vector *tn) in child_length() argument 379 struct key_vector *tn; tnode_new() local 409 tnode_full(struct key_vector *tn, struct key_vector *n) tnode_full() argument 417 put_child(struct key_vector *tn, unsigned long i, struct key_vector *n) put_child() argument 446 update_children(struct key_vector *tn) update_children() argument 477 tnode_free_init(struct key_vector *tn) tnode_free_init() argument 482 tnode_free_append(struct key_vector *tn, struct key_vector *n) tnode_free_append() argument 489 tnode_free(struct key_vector *tn) tnode_free() argument 507 replace(struct trie *t, struct key_vector *oldtnode, struct key_vector *tn) replace() argument 539 struct key_vector *tn; inflate() local 635 struct key_vector *tn; halve() local 708 update_suffix(struct key_vector *tn) update_suffix() argument 803 should_inflate(struct key_vector *tp, struct key_vector *tn) should_inflate() argument 818 should_halve(struct key_vector *tp, struct key_vector *tn) should_halve() argument 832 should_collapse(struct key_vector *tn) should_collapse() argument 847 resize(struct trie *t, struct key_vector *tn) resize() argument 912 node_pull_suffix(struct key_vector *tn, unsigned char slen) node_pull_suffix() argument 926 node_push_suffix(struct key_vector *tn, unsigned char slen) node_push_suffix() argument 1103 trie_rebalance(struct trie *t, struct key_vector *tn) trie_rebalance() argument 1128 struct key_vector *tn; fib_insert_node() local 1784 leaf_walk_rcu(struct key_vector **tn, t_key key) leaf_walk_rcu() argument [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | act_api.h | 124 int tc_action_net_init(struct net *net, struct tc_action_net *tn, in tc_action_net_init() argument 129 tn->idrinfo = kmalloc(sizeof(*tn->idrinfo), GFP_KERNEL); in tc_action_net_init() 130 if (!tn->idrinfo) in tc_action_net_init() 132 tn->ops = ops; in tc_action_net_init() 133 tn->idrinfo->net = net; in tc_action_net_init() 134 mutex_init(&tn->idrinfo->lock); in tc_action_net_init() 135 idr_init(&tn->idrinfo->action_idr); in tc_action_net_init() 149 struct tc_action_net *tn = net_generic(net, id); in tc_action_net_exit() local 151 tcf_idrinfo_destroy(tn in tc_action_net_exit() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | act_api.h | 149 int tc_action_net_init(struct net *net, struct tc_action_net *tn, in tc_action_net_init() argument 154 tn->idrinfo = kmalloc(sizeof(*tn->idrinfo), GFP_KERNEL); in tc_action_net_init() 155 if (!tn->idrinfo) in tc_action_net_init() 157 tn->ops = ops; in tc_action_net_init() 158 tn->idrinfo->net = net; in tc_action_net_init() 159 mutex_init(&tn->idrinfo->lock); in tc_action_net_init() 160 idr_init(&tn->idrinfo->action_idr); in tc_action_net_init() 174 struct tc_action_net *tn = net_generic(net, id); in tc_action_net_exit() local 176 tcf_idrinfo_destroy(tn in tc_action_net_exit() [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_TEE.c | 65 struct tee_net *tn = net_generic(net, tee_net_id); in tee_netdev_event() local 68 mutex_lock(&tn->lock); in tee_netdev_event() 69 list_for_each_entry(priv, &tn->priv_list, list) { in tee_netdev_event() 87 mutex_unlock(&tn->lock); in tee_netdev_event() 94 struct tee_net *tn = net_generic(par->net, tee_net_id); in tee_tg_check() local 122 mutex_lock(&tn->lock); in tee_tg_check() 123 list_add(&priv->list, &tn->priv_list); in tee_tg_check() 124 mutex_unlock(&tn->lock); in tee_tg_check() 134 struct tee_net *tn = net_generic(par->net, tee_net_id); in tee_tg_destroy() local 138 mutex_lock(&tn in tee_tg_destroy() 175 struct tee_net *tn = net_generic(net, tee_net_id); tee_net_init() local [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_TEE.c | 65 struct tee_net *tn = net_generic(net, tee_net_id); in tee_netdev_event() local 68 mutex_lock(&tn->lock); in tee_netdev_event() 69 list_for_each_entry(priv, &tn->priv_list, list) { in tee_netdev_event() 87 mutex_unlock(&tn->lock); in tee_netdev_event() 94 struct tee_net *tn = net_generic(par->net, tee_net_id); in tee_tg_check() local 122 mutex_lock(&tn->lock); in tee_tg_check() 123 list_add(&priv->list, &tn->priv_list); in tee_tg_check() 124 mutex_unlock(&tn->lock); in tee_tg_check() 134 struct tee_net *tn = net_generic(par->net, tee_net_id); in tee_tg_destroy() local 138 mutex_lock(&tn in tee_tg_destroy() 175 struct tee_net *tn = net_generic(net, tee_net_id); tee_net_init() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/ |
H A D | sym_nvram.c | 84 Symbios_target *tn = &nvram->target[target]; in sym_Symbios_setup_target() local 86 if (!(tn->flags & SYMBIOS_QUEUE_TAGS_ENABLED)) in sym_Symbios_setup_target() 88 if (!(tn->flags & SYMBIOS_DISCONNECT_ENABLE)) in sym_Symbios_setup_target() 90 if (!(tn->flags & SYMBIOS_SCAN_AT_BOOT_TIME)) in sym_Symbios_setup_target() 92 if (!(tn->flags & SYMBIOS_SCAN_LUNS)) in sym_Symbios_setup_target() 94 tp->usr_period = (tn->sync_period + 3) / 4; in sym_Symbios_setup_target() 95 tp->usr_width = (tn->bus_width == 0x8) ? 0 : 1; in sym_Symbios_setup_target() 108 struct Tekram_target *tn = &nvram->target[target]; in sym_Tekram_setup_target() local 110 if (tn->flags & TEKRAM_TAGGED_COMMANDS) { in sym_Tekram_setup_target() 114 if (tn in sym_Tekram_setup_target() 159 struct Symbios_target *tn = &nvram->target[i]; sym_display_Symbios_nvram() local 207 struct Tekram_target *tn = &nvram->target[i]; sym_display_Tekram_nvram() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/ |
H A D | sym_nvram.c | 84 Symbios_target *tn = &nvram->target[target]; in sym_Symbios_setup_target() local 86 if (!(tn->flags & SYMBIOS_QUEUE_TAGS_ENABLED)) in sym_Symbios_setup_target() 88 if (!(tn->flags & SYMBIOS_DISCONNECT_ENABLE)) in sym_Symbios_setup_target() 90 if (!(tn->flags & SYMBIOS_SCAN_AT_BOOT_TIME)) in sym_Symbios_setup_target() 92 if (!(tn->flags & SYMBIOS_SCAN_LUNS)) in sym_Symbios_setup_target() 94 tp->usr_period = (tn->sync_period + 3) / 4; in sym_Symbios_setup_target() 95 tp->usr_width = (tn->bus_width == 0x8) ? 0 : 1; in sym_Symbios_setup_target() 108 struct Tekram_target *tn = &nvram->target[target]; in sym_Tekram_setup_target() local 110 if (tn->flags & TEKRAM_TAGGED_COMMANDS) { in sym_Tekram_setup_target() 114 if (tn in sym_Tekram_setup_target() 159 struct Symbios_target *tn = &nvram->target[i]; sym_display_Symbios_nvram() local 207 struct Tekram_target *tn = &nvram->target[i]; sym_display_Tekram_nvram() local [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | act_ipt.c | 100 struct tc_action_net *tn = net_generic(net, id); in __tcf_ipt_init() local 121 err = tcf_idr_check_alloc(tn, &index, a, bind); in __tcf_ipt_init() 132 tcf_idr_cleanup(tn, index); in __tcf_ipt_init() 141 tcf_idr_cleanup(tn, index); in __tcf_ipt_init() 146 ret = tcf_idr_create(tn, index, est, a, ops, bind, in __tcf_ipt_init() 149 tcf_idr_cleanup(tn, index); in __tcf_ipt_init() 323 struct tc_action_net *tn = net_generic(net, ipt_net_id); in tcf_ipt_walker() local 325 return tcf_generic_walker(tn, skb, cb, type, ops, extack); in tcf_ipt_walker() 330 struct tc_action_net *tn = net_generic(net, ipt_net_id); in tcf_ipt_search() local 332 return tcf_idr_search(tn, in tcf_ipt_search() 350 struct tc_action_net *tn = net_generic(net, ipt_net_id); ipt_init_net() local 372 struct tc_action_net *tn = net_generic(net, xt_net_id); tcf_xt_walker() local 379 struct tc_action_net *tn = net_generic(net, xt_net_id); tcf_xt_search() local 399 struct tc_action_net *tn = net_generic(net, xt_net_id); xt_init_net() local [all...] |
H A D | act_skbmod.c | 89 struct tc_action_net *tn = net_generic(net, skbmod_net_id); in tcf_skbmod_init() local 133 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbmod_init() 144 tcf_idr_cleanup(tn, index); in tcf_skbmod_init() 149 ret = tcf_idr_create(tn, index, est, a, in tcf_skbmod_init() 152 tcf_idr_cleanup(tn, index); in tcf_skbmod_init() 263 struct tc_action_net *tn = net_generic(net, skbmod_net_id); in tcf_skbmod_walker() local 265 return tcf_generic_walker(tn, skb, cb, type, ops, extack); in tcf_skbmod_walker() 270 struct tc_action_net *tn = net_generic(net, skbmod_net_id); in tcf_skbmod_search() local 272 return tcf_idr_search(tn, a, index); in tcf_skbmod_search() 290 struct tc_action_net *tn in skbmod_init_net() local [all...] |
H A D | act_simple.c | 92 struct tc_action_net *tn = net_generic(net, simp_net_id); in tcf_simp_init() local 114 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_simp_init() 125 tcf_idr_cleanup(tn, index); in tcf_simp_init() 130 ret = tcf_idr_create(tn, index, est, a, in tcf_simp_init() 133 tcf_idr_cleanup(tn, index); in tcf_simp_init() 205 struct tc_action_net *tn = net_generic(net, simp_net_id); in tcf_simp_walker() local 207 return tcf_generic_walker(tn, skb, cb, type, ops, extack); in tcf_simp_walker() 212 struct tc_action_net *tn = net_generic(net, simp_net_id); in tcf_simp_search() local 214 return tcf_idr_search(tn, a, index); in tcf_simp_search() 232 struct tc_action_net *tn in simp_init_net() local [all...] |
H A D | act_vlan.c | 121 struct tc_action_net *tn = net_generic(net, vlan_net_id); in tcf_vlan_init() local 148 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init() 164 tcf_idr_cleanup(tn, index); in tcf_vlan_init() 172 tcf_idr_cleanup(tn, index); in tcf_vlan_init() 186 tcf_idr_cleanup(tn, index); in tcf_vlan_init() 204 tcf_idr_cleanup(tn, index); in tcf_vlan_init() 212 tcf_idr_cleanup(tn, index); in tcf_vlan_init() 218 ret = tcf_idr_create_from_flags(tn, index, est, a, in tcf_vlan_init() 221 tcf_idr_cleanup(tn, index); in tcf_vlan_init() 341 struct tc_action_net *tn in tcf_vlan_walker() local 358 struct tc_action_net *tn = net_generic(net, vlan_net_id); tcf_vlan_search() local 388 struct tc_action_net *tn = net_generic(net, vlan_net_id); vlan_init_net() local [all...] |