/linux-master/net/tipc/ |
H A D | core.c | 55 struct tipc_net *tn = net_generic(net, tipc_net_id); local 58 tn->net_id = 4711; 59 tn->node_addr = 0; 60 tn->trial_addr = 0; 61 tn->addr_trial_end = 0; 62 tn->capabilities = TIPC_NODE_CAPABILITIES; 63 INIT_WORK(&tn->work, tipc_net_finalize_work); 64 memset(tn->node_id, 0, sizeof(tn->node_id)); 65 memset(tn 109 struct tipc_net *tn = tipc_net(net); local [all...] |
H A D | addr.c | 58 struct tipc_net *tn = tipc_net(net); local 60 memcpy(tn->node_id, id, NODE_ID_LEN); 61 tipc_nodeid2string(tn->node_id_string, id); 62 tn->trial_addr = hash128to32(id); 64 tipc_own_id_string(net), tn->net_id); 69 struct tipc_net *tn = tipc_net(net); local 72 tn->node_addr = addr; 77 tn->trial_addr = addr; 78 tn->addr_trial_end = jiffies;
|
H A D | net.c | 128 struct tipc_net *tn = tipc_net(net); local 135 if (cmpxchg(&tn->node_addr, 0, addr)) 146 struct tipc_net *tn = container_of(work, struct tipc_net, work); local 148 tipc_net_finalize(tipc_link_net(tn->bcl), tn->trial_addr); 166 struct tipc_net *tn = net_generic(net, tipc_net_id); local 167 u64 *w0 = (u64 *)&tn->node_id[0]; 168 u64 *w1 = (u64 *)&tn->node_id[8]; 181 if (nla_put_u32(msg->skb, TIPC_NLA_NET_ID, tn->net_id)) 229 struct tipc_net *tn local 293 struct tipc_net *tn = tipc_net(net); local [all...] |
H A D | discover.c | 84 struct tipc_net *tn = tipc_net(net); local 89 tipc_msg_init(tn->trial_addr, hdr, LINK_CONFIG, mtyp, 93 msg_set_node_sig(hdr, tn->random); 96 msg_set_bc_netid(hdr, tn->net_id); 98 msg_set_peer_net_hash(hdr, tipc_net_hash_mixes(net, tn->random)); 150 struct tipc_net *tn = tipc_net(net); local 152 bool trial = time_before(jiffies, tn->addr_trial_end) && !self; 159 if (dst != tn->trial_addr) 163 tn->trial_addr = sugg_addr; 165 tn 196 struct tipc_net *tn = tipc_net(net); local 296 struct tipc_net *tn = tipc_net(d->net); local 353 struct tipc_net *tn = tipc_net(net); local [all...] |
H A D | addr.h | 98 struct tipc_net *tn = tipc_net(net); local 100 if (!strlen(tn->node_id_string)) 102 return tn->node_id;
|
H A D | name_distr.c | 209 struct tipc_net *tn = tipc_net(net); local 214 spin_lock_bh(&tn->nametbl_lock); 218 spin_unlock_bh(&tn->nametbl_lock); 237 struct tipc_net *tn = tipc_net(net); local 243 spin_lock_bh(&tn->nametbl_lock); 247 spin_unlock_bh(&tn->nametbl_lock); 256 struct tipc_net *tn = tipc_net(net); local 262 spin_lock_bh(&tn->nametbl_lock); 265 spin_unlock_bh(&tn->nametbl_lock); 367 struct tipc_net *tn local 399 struct tipc_net *tn = tipc_net(net); local [all...] |
H A D | bearer.c | 64 struct tipc_net *tn = tipc_net(net); local 66 return rcu_dereference(tn->bearer_list[bearer_id]); 179 struct tipc_net *tn = tipc_net(net); local 184 b = rtnl_dereference(tn->bearer_list[i]); 198 struct tipc_net *tn = tipc_net(net); local 204 b = rtnl_dereference(tn->bearer_list[bearer_id]); 248 struct tipc_net *tn = tipc_net(net); local 284 b = rtnl_dereference(tn->bearer_list[i]); 360 rcu_assign_pointer(tn->bearer_list[bearer_id], b); 405 struct tipc_net *tn local 615 struct tipc_net *tn = tipc_net(net); local 746 struct tipc_net *tn = tipc_net(net); local 797 struct tipc_net *tn = tipc_net(net); local 812 struct tipc_net *tn = tipc_net(net); local 882 struct tipc_net *tn = tipc_net(net); local [all...] |
H A D | name_table.c | 573 struct tipc_net *tn = tipc_net(net); local 574 bool legacy = tn->legacy_addr_format; 764 struct tipc_net *tn = tipc_net(net); local 769 spin_lock_bh(&tn->nametbl_lock); 783 spin_unlock_bh(&tn->nametbl_lock); 802 struct tipc_net *tn = tipc_net(net); local 807 spin_lock_bh(&tn->nametbl_lock); 817 spin_unlock_bh(&tn->nametbl_lock); 829 struct tipc_net *tn = tipc_net(sub->net); local 837 spin_lock_bh(&tn 860 struct tipc_net *tn = tipc_net(sub->net); local 887 struct tipc_net *tn = tipc_net(net); local 933 struct tipc_net *tn = tipc_net(net); local 1053 struct tipc_net *tn = tipc_net(net); local [all...] |
/linux-master/fs/jffs2/ |
H A D | readinode.c | 31 static int check_node_data(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) argument 33 struct jffs2_raw_node_ref *ref = tn->fn->raw; 40 BUG_ON(tn->csize == 0); 44 len = tn->csize; 51 if (adj >= tn->csize) { 53 ref_offset(ref), tn->csize, ofs); 62 ref_offset(ref), tn->csize, tn->partial_crc, tn->data_crc, ofs - len, ofs, len); 69 JFFS2_WARNING("MTD point returned len too short: %zu instead of %u.\n", retlen, tn 150 check_tn_node(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) argument 178 struct jffs2_tmp_dnode_info *tn = NULL; local 199 jffs2_kill_tn(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) argument 218 jffs2_add_tn_to_tree(struct jffs2_sb_info *c, struct jffs2_readinode_info *rii, struct jffs2_tmp_dnode_info *tn) argument 424 ver_insert(struct rb_root *ver_root, struct jffs2_tmp_dnode_info *tn) argument 546 struct jffs2_tmp_dnode_info *tn, *next; local 717 struct jffs2_tmp_dnode_info *tn; local [all...] |
H A D | nodelist.h | 354 #define tn_next(tn) rb_entry(rb_next(&(tn)->rb), struct jffs2_tmp_dnode_info, rb) 355 #define tn_prev(tn) rb_entry(rb_prev(&(tn)->rb), struct jffs2_tmp_dnode_info, rb) 356 #define tn_parent(tn) rb_entry(rb_parent(&(tn)->rb), struct jffs2_tmp_dnode_info, rb) 357 #define tn_left(tn) rb_entry((tn)->rb.rb_left, struct jffs2_tmp_dnode_info, rb) 358 #define tn_right(tn) rb_entry((tn) [all...] |
/linux-master/net/ipv4/ |
H A D | fib_trie.c | 174 static struct key_vector *resize(struct trie *t, struct key_vector *tn); 195 #define node_parent(tn) rtnl_dereference(tn_info(tn)->parent) 196 #define get_child(tn, i) rtnl_dereference((tn)->tnode[i]) 199 #define node_parent_rcu(tn) rcu_dereference_rtnl(tn_info(tn)->parent) 200 #define get_child_rcu(tn, i) rcu_dereference_rtnl((tn)->tnode[i]) 214 static inline unsigned long child_length(const struct key_vector *tn) argument 380 struct key_vector *tn; local 410 tnode_full(struct key_vector *tn, struct key_vector *n) argument 418 put_child(struct key_vector *tn, unsigned long i, struct key_vector *n) argument 447 update_children(struct key_vector *tn) argument 478 tnode_free_init(struct key_vector *tn) argument 483 tnode_free_append(struct key_vector *tn, struct key_vector *n) argument 490 tnode_free(struct key_vector *tn) argument 508 replace(struct trie *t, struct key_vector *oldtnode, struct key_vector *tn) argument 540 struct key_vector *tn; local 636 struct key_vector *tn; local 709 update_suffix(struct key_vector *tn) argument 804 should_inflate(struct key_vector *tp, struct key_vector *tn) argument 819 should_halve(struct key_vector *tp, struct key_vector *tn) argument 833 should_collapse(struct key_vector *tn) argument 848 resize(struct trie *t, struct key_vector *tn) argument 913 node_pull_suffix(struct key_vector *tn, unsigned char slen) argument 927 node_push_suffix(struct key_vector *tn, unsigned char slen) argument 1104 trie_rebalance(struct trie *t, struct key_vector *tn) argument 1129 struct key_vector *tn; local 1785 leaf_walk_rcu(struct key_vector **tn, t_key key) argument [all...] |
/linux-master/net/netfilter/ |
H A D | xt_TEE.c | 65 struct tee_net *tn = net_generic(net, tee_net_id); local 68 mutex_lock(&tn->lock); 69 list_for_each_entry(priv, &tn->priv_list, list) { 87 mutex_unlock(&tn->lock); 94 struct tee_net *tn = net_generic(par->net, tee_net_id); local 122 mutex_lock(&tn->lock); 123 list_add(&priv->list, &tn->priv_list); 124 mutex_unlock(&tn->lock); 134 struct tee_net *tn = net_generic(par->net, tee_net_id); local 138 mutex_lock(&tn 175 struct tee_net *tn = net_generic(net, tee_net_id); local [all...] |
H A D | nf_conntrack_standalone.c | 977 struct nf_tcp_net *tn = nf_tcp_pernet(net); local 979 #define XASSIGN(XNAME, tn) \ 981 &(tn)->timeouts[TCP_CONNTRACK_ ## XNAME] 983 XASSIGN(SYN_SENT, tn); 984 XASSIGN(SYN_RECV, tn); 985 XASSIGN(ESTABLISHED, tn); 986 XASSIGN(FIN_WAIT, tn); 987 XASSIGN(CLOSE_WAIT, tn); 988 XASSIGN(LAST_ACK, tn); 989 XASSIGN(TIME_WAIT, tn); [all...] |
/linux-master/include/net/ |
H A D | act_api.h | 150 int tc_action_net_init(struct net *net, struct tc_action_net *tn, argument 155 tn->idrinfo = kmalloc(sizeof(*tn->idrinfo), GFP_KERNEL); 156 if (!tn->idrinfo) 158 tn->ops = ops; 159 tn->idrinfo->net = net; 160 mutex_init(&tn->idrinfo->lock); 161 idr_init(&tn->idrinfo->action_idr); 175 struct tc_action_net *tn = net_generic(net, id); local 177 tcf_idrinfo_destroy(tn [all...] |
/linux-master/drivers/scsi/sym53c8xx_2/ |
H A D | sym_nvram.c | 84 Symbios_target *tn = &nvram->target[target]; local 86 if (!(tn->flags & SYMBIOS_QUEUE_TAGS_ENABLED)) 88 if (!(tn->flags & SYMBIOS_DISCONNECT_ENABLE)) 90 if (!(tn->flags & SYMBIOS_SCAN_AT_BOOT_TIME)) 92 if (!(tn->flags & SYMBIOS_SCAN_LUNS)) 94 tp->usr_period = (tn->sync_period + 3) / 4; 95 tp->usr_width = (tn->bus_width == 0x8) ? 0 : 1; 108 struct Tekram_target *tn = &nvram->target[target]; local 110 if (tn->flags & TEKRAM_TAGGED_COMMANDS) { 114 if (tn 159 struct Symbios_target *tn = &nvram->target[i]; local 207 struct Tekram_target *tn = &nvram->target[i]; local [all...] |
/linux-master/fs/smb/client/ |
H A D | cifs_debug.h | 110 const char *tn = ""; \ 112 tn = tcon->tree_name; \ 115 __FILE__, tn, ##__VA_ARGS__); \ 117 pr_err_ ## ratefunc("VFS: %s " fmt, tn, ##__VA_ARGS__); \ 119 pr_debug_ ## ratefunc("%s " fmt, tn, ##__VA_ARGS__); \
|
/linux-master/net/sched/ |
H A D | act_simple.c | 93 struct tc_action_net *tn = net_generic(net, act_simp_ops.net_id); local 116 err = tcf_idr_check_alloc(tn, &index, a, bind); 127 tcf_idr_cleanup(tn, index); 132 ret = tcf_idr_create(tn, index, est, a, 135 tcf_idr_cleanup(tn, index); 216 struct tc_action_net *tn = net_generic(net, act_simp_ops.net_id); local 218 return tc_action_net_init(net, tn, &act_simp_ops);
|
H A D | act_vlan.c | 121 struct tc_action_net *tn = net_generic(net, act_vlan_ops.net_id); local 149 err = tcf_idr_check_alloc(tn, &index, a, bind); 165 tcf_idr_cleanup(tn, index); 173 tcf_idr_cleanup(tn, index); 187 tcf_idr_cleanup(tn, index); 205 tcf_idr_cleanup(tn, index); 213 tcf_idr_cleanup(tn, index); 219 ret = tcf_idr_create_from_flags(tn, index, est, a, 222 tcf_idr_cleanup(tn, index); 434 struct tc_action_net *tn local [all...] |
H A D | act_skbmod.c | 107 struct tc_action_net *tn = net_generic(net, act_skbmod_ops.net_id); local 155 err = tcf_idr_check_alloc(tn, &index, a, bind); 166 tcf_idr_cleanup(tn, index); 171 ret = tcf_idr_create(tn, index, est, a, 174 tcf_idr_cleanup(tn, index); 294 struct tc_action_net *tn = net_generic(net, act_skbmod_ops.net_id); local 296 return tc_action_net_init(net, tn, &act_skbmod_ops);
|
H A D | act_gact.c | 58 struct tc_action_net *tn = net_generic(net, act_gact_ops.net_id); local 100 err = tcf_idr_check_alloc(tn, &index, a, bind); 102 ret = tcf_idr_create_from_flags(tn, index, est, a, 105 tcf_idr_cleanup(tn, index); 303 struct tc_action_net *tn = net_generic(net, act_gact_ops.net_id); local 305 return tc_action_net_init(net, tn, &act_gact_ops);
|
H A D | act_connmark.c | 103 struct tc_action_net *tn = net_generic(net, act_connmark_ops.net_id); local 130 ret = tcf_idr_check_alloc(tn, &index, a, bind); 132 ret = tcf_idr_create_from_flags(tn, index, est, a, 135 tcf_idr_cleanup(tn, index); 249 struct tc_action_net *tn = net_generic(net, act_connmark_ops.net_id); local 251 return tc_action_net_init(net, tn, &act_connmark_ops);
|
/linux-master/arch/powerpc/sysdev/ |
H A D | mpic_msgr.c | 149 struct device_node *tn; local 153 tn = of_find_node_by_path(prop->value); 154 if (node == tn) { 155 of_node_put(tn); 158 of_node_put(tn);
|
/linux-master/arch/arm/vfp/ |
H A D | vfpdouble.c | 211 int tn, tm = 0; local 213 tn = vfp_double_type(vdn); 229 if (tn == VFP_SNAN || (tm != VFP_SNAN && tn == VFP_QNAN)) 244 return tn == VFP_SNAN || tm == VFP_SNAN ? FPSCR_IOC : VFP_NAN_FLAG; 688 int tn, tm; local 690 tn = vfp_double_type(vdn); 693 if (tn & tm & VFP_INFINITY) { 709 } else if (tn & VFP_INFINITY && tm & VFP_NUMBER) { 1011 int tm, tn; local [all...] |
H A D | vfpsingle.c | 219 int tn, tm = 0; local 221 tn = vfp_single_type(vsn); 237 if (tn == VFP_SNAN || (tm != VFP_SNAN && tn == VFP_QNAN)) 252 return tn == VFP_SNAN || tm == VFP_SNAN ? FPSCR_IOC : VFP_NAN_FLAG; 734 int tn, tm; local 736 tn = vfp_single_type(vsn); 739 if (tn & tm & VFP_INFINITY) { 755 } else if (tn & VFP_INFINITY && tm & VFP_NUMBER) { 1057 int tm, tn; local [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_requests.c | 137 struct intel_timeline *tl, *tn; local 143 list_for_each_entry_safe(tl, tn, &timelines->active_list, link) { 181 list_safe_reset_next(tl, tn, link); 193 list_for_each_entry_safe(tl, tn, &free, link)
|