Home
last modified time | relevance | path

Searched refs:tn (Results 1 – 29 of 29) sorted by relevance

/linux-4.1.27/fs/jffs2/
Dreadinode.c31 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->csize); in check_node_data()
99 crc = crc32(tn->partial_crc, buffer, len); in check_node_data()
107 if (crc != tn->data_crc) { in check_node_data()
[all …]
Dnodelist.h354 #define tn_next(tn) rb_entry(rb_next(&(tn)->rb), struct jffs2_tmp_dnode_info, rb) argument
355 #define tn_prev(tn) rb_entry(rb_prev(&(tn)->rb), struct jffs2_tmp_dnode_info, rb) argument
356 #define tn_parent(tn) rb_entry(rb_parent(&(tn)->rb), struct jffs2_tmp_dnode_info, rb) argument
357 #define tn_left(tn) rb_entry((tn)->rb.rb_left, struct jffs2_tmp_dnode_info, rb) argument
358 #define tn_right(tn) rb_entry((tn)->rb.rb_right, struct jffs2_tmp_dnode_info, rb) argument
359 #define tn_erase(tn, list) rb_erase(&tn->rb, list); argument
/linux-4.1.27/net/tipc/
Dbcast.c57 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_bclink_lock() local
59 spin_lock_bh(&tn->bclink->lock); in tipc_bclink_lock()
64 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_bclink_unlock() local
66 spin_unlock_bh(&tn->bclink->lock); in tipc_bclink_unlock()
71 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_bclink_input() local
73 tipc_sk_mcast_rcv(net, &tn->bclink->arrvq, &tn->bclink->inputq); in tipc_bclink_input()
98 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_bclink_add_node() local
101 tipc_nmap_add(&tn->bclink->bcast_nodes, addr); in tipc_bclink_add_node()
107 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_bclink_remove_node() local
110 tipc_nmap_remove(&tn->bclink->bcast_nodes, addr); in tipc_bclink_remove_node()
[all …]
Dnet.c112 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_net_start() local
116 tn->own_addr = addr; in tipc_net_start()
123 tipc_nametbl_publish(net, TIPC_CFG_SRV, tn->own_addr, tn->own_addr, in tipc_net_start()
124 TIPC_ZONE_SCOPE, 0, tn->own_addr); in tipc_net_start()
128 tipc_addr_string_fill(addr_string, tn->own_addr), in tipc_net_start()
129 tn->net_id); in tipc_net_start()
135 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_net_stop() local
137 if (!tn->own_addr) in tipc_net_stop()
140 tipc_nametbl_withdraw(net, TIPC_CFG_SRV, tn->own_addr, 0, in tipc_net_stop()
141 tn->own_addr); in tipc_net_stop()
[all …]
Daddr.c43 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_own_addr() local
45 return tn->own_addr; in tipc_own_addr()
58 struct tipc_net *tn = net_generic(net, tipc_net_id); in in_own_cluster_exact() local
60 return !((addr ^ tn->own_addr) >> 12); in in_own_cluster_exact()
68 struct tipc_net *tn = net_generic(net, tipc_net_id); in in_own_node() local
70 return (addr == tn->own_addr) || !addr; in in_own_node()
81 struct tipc_net *tn = net_generic(net, tipc_net_id); in addr_domain() local
84 return tn->own_addr; in addr_domain()
86 return tipc_cluster_mask(tn->own_addr); in addr_domain()
87 return tipc_zone_mask(tn->own_addr); in addr_domain()
Dname_distr.c74 struct tipc_net *tn = net_generic(net, tipc_net_id); in named_prepare_buf() local
80 tipc_msg_init(tn->own_addr, msg, NAME_DISTRIBUTOR, type, in named_prepare_buf()
89 struct tipc_net *tn = net_generic(net, tipc_net_id); in named_cluster_distribute() local
95 list_for_each_entry_rcu(node, &tn->node_list, list) { in named_cluster_distribute()
117 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_named_publish() local
122 &tn->nametbl->publ_list[publ->scope]); in tipc_named_publish()
214 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_named_node_up() local
221 &tn->nametbl->publ_list[TIPC_CLUSTER_SCOPE]); in tipc_named_node_up()
223 &tn->nametbl->publ_list[TIPC_ZONE_SCOPE]); in tipc_named_node_up()
273 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_publ_purge() local
[all …]
Dsubscr.c69 struct tipc_net *tn = net_generic(sub->net, tipc_net_id); in subscr_send_event() local
80 tipc_conn_sendmsg(tn->topsrv, subscriber->conid, NULL, in subscr_send_event()
122 struct tipc_net *tn = net_generic(sub->net, tipc_net_id); in subscr_timeout() local
147 atomic_dec(&tn->subscription_count); in subscr_timeout()
157 struct tipc_net *tn = net_generic(sub->net, tipc_net_id); in subscr_del() local
162 atomic_dec(&tn->subscription_count); in subscr_del()
234 struct tipc_net *tn = net_generic(net, tipc_net_id); in subscr_subscribe() local
249 if (atomic_read(&tn->subscription_count) >= TIPC_MAX_SUBSCRIPTIONS) { in subscr_subscribe()
280 atomic_inc(&tn->subscription_count); in subscr_subscribe()
302 struct tipc_net *tn = net_generic(net, tipc_net_id); in subscr_conn_msg_event() local
[all …]
Dname_table.c457 struct tipc_net *tn = net_generic(net, tipc_net_id); in nametbl_find_seq() local
461 seq_head = &tn->nametbl->seq_hlist[hash(type)]; in nametbl_find_seq()
474 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_nametbl_insert_publ() local
487 seq = tipc_nameseq_create(type, &tn->nametbl->seq_hlist[index]); in tipc_nametbl_insert_publ()
537 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_nametbl_translate() local
545 if (!tipc_in_scope(*destnode, tn->own_addr)) in tipc_nametbl_translate()
582 else if (*destnode == tn->own_addr) { in tipc_nametbl_translate()
669 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_nametbl_publish() local
671 spin_lock_bh(&tn->nametbl_lock); in tipc_nametbl_publish()
672 if (tn->nametbl->local_publ_count >= TIPC_MAX_PUBLICATIONS) { in tipc_nametbl_publish()
[all …]
Dcore.c54 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_init_net() local
57 tn->net_id = 4711; in tipc_init_net()
58 tn->own_addr = 0; in tipc_init_net()
59 get_random_bytes(&tn->random, sizeof(int)); in tipc_init_net()
60 INIT_LIST_HEAD(&tn->node_list); in tipc_init_net()
61 spin_lock_init(&tn->node_list_lock); in tipc_init_net()
Dnode.c93 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_node_find() local
100 hlist_for_each_entry_rcu(node, &tn->node_htable[tipc_hashfn(addr)], in tipc_node_find()
114 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_node_create() local
117 spin_lock_bh(&tn->node_list_lock); in tipc_node_create()
135 hlist_add_head_rcu(&n_ptr->hash, &tn->node_htable[tipc_hashfn(addr)]); in tipc_node_create()
136 list_for_each_entry_rcu(temp_node, &tn->node_list, list) { in tipc_node_create()
145 spin_unlock_bh(&tn->node_list_lock); in tipc_node_create()
158 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_node_stop() local
161 spin_lock_bh(&tn->node_list_lock); in tipc_node_stop()
162 list_for_each_entry_safe(node, t_node, &tn->node_list, list) in tipc_node_stop()
[all …]
Dbearer.c178 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_bearer_find() local
183 b_ptr = rtnl_dereference(tn->bearer_list[i]); in tipc_bearer_find()
192 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_bearer_add_dest() local
196 b_ptr = rcu_dereference_rtnl(tn->bearer_list[bearer_id]); in tipc_bearer_add_dest()
206 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_bearer_remove_dest() local
210 b_ptr = rcu_dereference_rtnl(tn->bearer_list[bearer_id]); in tipc_bearer_remove_dest()
225 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_enable_bearer() local
235 if (!tn->own_addr) { in tipc_enable_bearer()
245 (disc_domain != tn->own_addr)) { in tipc_enable_bearer()
246 if (tipc_in_scope(disc_domain, tn->own_addr)) { in tipc_enable_bearer()
[all …]
Ddiscover.c83 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_disc_init_msg() local
88 tipc_msg_init(tn->own_addr, msg, LINK_CONFIG, type, in tipc_disc_init_msg()
91 msg_set_node_sig(msg, tn->random); in tipc_disc_init_msg()
94 msg_set_bc_netid(msg, tn->net_id); in tipc_disc_init_msg()
126 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_disc_rcv() local
149 if (net_id != tn->net_id) in tipc_disc_rcv()
160 disc_dupl_alert(bearer, tn->own_addr, &maddr); in tipc_disc_rcv()
163 if (!tipc_in_scope(ddom, tn->own_addr)) in tipc_disc_rcv()
Dsocket.c274 struct tipc_net *tn = net_generic(sock_net(&tsk->sk), tipc_net_id); in tsk_peer_msg() local
291 if (!orig_node && (peer_node == tn->own_addr)) in tsk_peer_msg()
294 if (!peer_node && (orig_node == tn->own_addr)) in tsk_peer_msg()
315 struct tipc_net *tn; in tipc_sk_create() local
353 tn = net_generic(sock_net(sk), tipc_net_id); in tipc_sk_create()
354 tipc_msg_init(tn->own_addr, msg, TIPC_LOW_IMPORTANCE, TIPC_NAMED_MSG, in tipc_sk_create()
556 struct tipc_net *tn = net_generic(sock_net(sock->sk), tipc_net_id); in tipc_getname() local
567 addr->addr.id.node = tn->own_addr; in tipc_getname()
1770 struct tipc_net *tn; in tipc_sk_rcv() local
1797 tn = net_generic(net, tipc_net_id); in tipc_sk_rcv()
[all …]
Dlink.c227 struct tipc_net *tn = net_generic(n_ptr->net, tipc_net_id); in tipc_link_create() local
257 tipc_zone(tn->own_addr), tipc_cluster(tn->own_addr), in tipc_link_create()
258 tipc_node(tn->own_addr), in tipc_link_create()
272 tipc_msg_init(tn->own_addr, msg, LINK_PROTOCOL, RESET_MSG, INT_H_SIZE, in tipc_link_create()
275 msg_set_session(msg, (tn->random & 0xffff)); in tipc_link_create()
317 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_link_delete_list() local
322 list_for_each_entry_rcu(node, &tn->node_list, list) { in tipc_link_delete_list()
481 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_link_reset_list() local
486 list_for_each_entry_rcu(n_ptr, &tn->node_list, list) { in tipc_link_reset_list()
1040 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_rcv() local
[all …]
Dbcast.h119 struct tipc_node *tipc_bclink_retransmit_to(struct net *tn);
/linux-4.1.27/net/ipv4/
Dfib_trie.c149 static struct key_vector *resize(struct trie *t, struct key_vector *tn);
168 #define node_parent(tn) rtnl_dereference(tn_info(tn)->parent) argument
169 #define get_child(tn, i) rtnl_dereference((tn)->tnode[i]) argument
172 #define node_parent_rcu(tn) rcu_dereference_rtnl(tn_info(tn)->parent) argument
173 #define get_child_rcu(tn, i) rcu_dereference_rtnl((tn)->tnode[i]) argument
187 static inline unsigned long child_length(const struct key_vector *tn) in child_length() argument
189 return (1ul << tn->bits) & ~(1ul); in child_length()
350 struct key_vector *tn = tnode->kv; in tnode_new() local
366 tn->key = (shift < KEYLENGTH) ? (key >> shift) << shift : 0; in tnode_new()
367 tn->pos = pos; in tnode_new()
[all …]
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
Dsym_nvram.c97 Symbios_target *tn = &nvram->target[target]; in sym_Symbios_setup_target() local
99 if (!(tn->flags & SYMBIOS_QUEUE_TAGS_ENABLED)) in sym_Symbios_setup_target()
101 if (!(tn->flags & SYMBIOS_DISCONNECT_ENABLE)) in sym_Symbios_setup_target()
103 if (!(tn->flags & SYMBIOS_SCAN_AT_BOOT_TIME)) in sym_Symbios_setup_target()
105 if (!(tn->flags & SYMBIOS_SCAN_LUNS)) in sym_Symbios_setup_target()
107 tp->usr_period = (tn->sync_period + 3) / 4; in sym_Symbios_setup_target()
108 tp->usr_width = (tn->bus_width == 0x8) ? 0 : 1; in sym_Symbios_setup_target()
121 struct Tekram_target *tn = &nvram->target[target]; in sym_Tekram_setup_target() local
123 if (tn->flags & TEKRAM_TAGGED_COMMANDS) { in sym_Tekram_setup_target()
127 if (tn->flags & TEKRAM_DISCONNECT_ENABLE) in sym_Tekram_setup_target()
[all …]
Dsym_hipd.c58 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln);
4652 u_char tn = cmd->device->id; local
4654 struct sym_tcb *tp = &np->target[tn];
4686 sym_alloc_lcb_tags(np, tn, ln);
4760 cp->target = tn;
4957 static void sym_init_tcb (struct sym_hcb *np, u_char tn) argument
4973 struct sym_lcb *sym_alloc_lcb (struct sym_hcb *np, u_char tn, u_char ln) argument
4975 struct sym_tcb *tp = &np->target[tn];
4981 sym_init_tcb (np, tn);
5057 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln) argument
[all …]
Dsym_hipd.h1068 struct sym_lcb *sym_alloc_lcb(struct sym_hcb *np, u_char tn, u_char ln);
1069 int sym_free_lcb(struct sym_hcb *np, u_char tn, u_char ln);
/linux-4.1.27/net/netfilter/
Dnf_conntrack_proto_tcp.c510 struct nf_tcp_net *tn = tcp_pernet(net); in tcp_in_window() local
713 tn->tcp_be_liberal) in tcp_in_window()
821 struct nf_tcp_net *tn = tcp_pernet(net); in tcp_packet() local
1058 if (ct->proto.tcp.retrans >= tn->tcp_max_retrans && in tcp_packet()
1110 struct nf_tcp_net *tn = tcp_pernet(net); in tcp_new() local
1139 } else if (tn->tcp_loose == 0) { in tcp_new()
1301 struct nf_tcp_net *tn = tcp_pernet(net); in tcp_timeout_nlattr_to_obj() local
1306 timeouts[i] = tn->timeouts[i]; in tcp_timeout_nlattr_to_obj()
1573 struct nf_tcp_net *tn) in tcp_kmemdup_sysctl_table() argument
1585 pn->ctl_table[0].data = &tn->timeouts[TCP_CONNTRACK_SYN_SENT]; in tcp_kmemdup_sysctl_table()
[all …]
/linux-4.1.27/arch/arm/vfp/
Dvfpdouble.c211 int tn, tm = 0; in vfp_propagate_nan() local
213 tn = vfp_double_type(vdn); in vfp_propagate_nan()
229 if (tn == VFP_SNAN || (tm != VFP_SNAN && tn == VFP_QNAN)) in vfp_propagate_nan()
244 return tn == VFP_SNAN || tm == VFP_SNAN ? FPSCR_IOC : VFP_NAN_FLAG; in vfp_propagate_nan()
688 int tn, tm; in vfp_double_fadd_nonnumber() local
690 tn = vfp_double_type(vdn); in vfp_double_fadd_nonnumber()
693 if (tn & tm & VFP_INFINITY) { in vfp_double_fadd_nonnumber()
709 } else if (tn & VFP_INFINITY && tm & VFP_NUMBER) { in vfp_double_fadd_nonnumber()
1011 int tm, tn; in vfp_double_fdiv() local
1018 tn = vfp_double_type(&vdn); in vfp_double_fdiv()
[all …]
Dvfpsingle.c219 int tn, tm = 0; in vfp_propagate_nan() local
221 tn = vfp_single_type(vsn); in vfp_propagate_nan()
237 if (tn == VFP_SNAN || (tm != VFP_SNAN && tn == VFP_QNAN)) in vfp_propagate_nan()
252 return tn == VFP_SNAN || tm == VFP_SNAN ? FPSCR_IOC : VFP_NAN_FLAG; in vfp_propagate_nan()
734 int tn, tm; in vfp_single_fadd_nonnumber() local
736 tn = vfp_single_type(vsn); in vfp_single_fadd_nonnumber()
739 if (tn & tm & VFP_INFINITY) { in vfp_single_fadd_nonnumber()
755 } else if (tn & VFP_INFINITY && tm & VFP_NUMBER) { in vfp_single_fadd_nonnumber()
1057 int tm, tn; in vfp_single_fdiv() local
1066 tn = vfp_single_type(&vsn); in vfp_single_fdiv()
[all …]
/linux-4.1.27/drivers/ata/
Dpata_mpc52xx.c87 u8 tn; member
91 { .t0M = 32, .td = 15, .th = 2, .tj = 2, .tkw = 15, .tm = 4, .tn = 1 },
92 { .t0M = 10, .td = 6, .th = 1, .tj = 1, .tkw = 4, .tm = 2, .tn = 1 },
93 { .t0M = 8, .td = 5, .th = 1, .tj = 1, .tkw = 2, .tm = 2, .tn = 1 },
97 { .t0M = 64, .td = 29, .th = 3, .tj = 3, .tkw = 29, .tm = 7, .tn = 2 },
98 { .t0M = 20, .td = 11, .th = 2, .tj = 1, .tkw = 7, .tm = 4, .tn = 1 },
99 { .t0M = 16, .td = 10, .th = 2, .tj = 1, .tkw = 4, .tm = 4, .tn = 1 },
303 t->mdma2 = ((u32)s->th << 24) | ((u32)s->tj << 16) | ((u32)s->tn << 8); in mpc52xx_ata_compute_mdma_timings()
/linux-4.1.27/Documentation/filesystems/
Dhfsplus.txt59 Apple Technote 1150 https://developer.apple.com/legacy/library/technotes/tn/tn1150.html
/linux-4.1.27/drivers/scsi/
Dncr53c8xx.c1919 static void ncr_alloc_ccb (struct ncb *np, u_char tn, u_char ln);
1924 static void ncr_init_tcb (struct ncb *np, u_char tn);
1925 static struct lcb * ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln);
5634 unsigned char tn = sdev->id, ln = sdev->lun; in ncr_setup_tags() local
5635 struct tcb *tp = &np->target[tn]; in ncr_setup_tags()
7145 u_char tn = cmd->device->id; in ncr_get_ccb() local
7147 struct tcb *tp = &np->target[tn]; in ncr_get_ccb()
7167 ncr_alloc_ccb(np, tn, ln); in ncr_get_ccb()
7235 cp->target = tn; in ncr_get_ccb()
7355 static void ncr_alloc_ccb(struct ncb *np, u_char tn, u_char ln) in ncr_alloc_ccb() argument
[all …]
/linux-4.1.27/Documentation/isdn/
DCREDITS46 Thomas Neumann (tn@ruhr.de)
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
Dipoib_main.c442 struct ipoib_neigh *neigh, *tn; in path_rec_completion() local
477 list_for_each_entry_safe(neigh, tn, &path->neigh_list, list) { in path_rec_completion()
/linux-4.1.27/kernel/trace/
Dftrace.c1289 struct hlist_node *tn; in ftrace_hash_clear() local
1299 hlist_for_each_entry_safe(entry, tn, hhd, hlist) in ftrace_hash_clear()
1406 struct hlist_node *tn; in ftrace_hash_move() local
1444 hlist_for_each_entry_safe(entry, tn, hhd, hlist) { in ftrace_hash_move()
/linux-4.1.27/Documentation/ide/
DChangeLog.ide-tape.1995-2002168 * Decrease the default disconnection time to tn.