/linux-4.4.14/fs/jffs2/ |
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->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 …]
|
D | nodelist.h | 354 #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.4.14/net/tipc/ |
D | net.c | 113 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_net_start() local 116 tn->own_addr = addr; in tipc_net_start() 121 tipc_nametbl_publish(net, TIPC_CFG_SRV, tn->own_addr, tn->own_addr, in tipc_net_start() 122 TIPC_ZONE_SCOPE, 0, tn->own_addr); in tipc_net_start() 126 tipc_addr_string_fill(addr_string, tn->own_addr), in tipc_net_start() 127 tn->net_id); in tipc_net_start() 133 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_net_stop() local 135 if (!tn->own_addr) in tipc_net_stop() 138 tipc_nametbl_withdraw(net, TIPC_CFG_SRV, tn->own_addr, 0, in tipc_net_stop() 139 tn->own_addr); in tipc_net_stop() [all …]
|
D | addr.c | 51 struct tipc_net *tn = net_generic(net, tipc_net_id); in in_own_cluster_exact() local 53 return !((addr ^ tn->own_addr) >> 12); in in_own_cluster_exact() 61 struct tipc_net *tn = net_generic(net, tipc_net_id); in in_own_node() local 63 return (addr == tn->own_addr) || !addr; in in_own_node() 74 struct tipc_net *tn = net_generic(net, tipc_net_id); in addr_domain() local 77 return tn->own_addr; in addr_domain() 79 return tipc_cluster_mask(tn->own_addr); in addr_domain() 80 return tipc_zone_mask(tn->own_addr); in addr_domain()
|
D | name_distr.c | 74 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 …]
|
D | name_table.c | 447 struct tipc_net *tn = net_generic(net, tipc_net_id); in nametbl_find_seq() local 451 seq_head = &tn->nametbl->seq_hlist[hash(type)]; in nametbl_find_seq() 464 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_nametbl_insert_publ() local 477 seq = tipc_nameseq_create(type, &tn->nametbl->seq_hlist[index]); in tipc_nametbl_insert_publ() 527 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_nametbl_translate() local 535 if (!tipc_in_scope(*destnode, tn->own_addr)) in tipc_nametbl_translate() 572 else if (*destnode == tn->own_addr) { in tipc_nametbl_translate() 659 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_nametbl_publish() local 661 spin_lock_bh(&tn->nametbl_lock); in tipc_nametbl_publish() 662 if (tn->nametbl->local_publ_count >= TIPC_MAX_PUBLICATIONS) { in tipc_nametbl_publish() [all …]
|
D | subscr.c | 74 struct tipc_net *tn = net_generic(sub->net, tipc_net_id); in tipc_subscrp_send_event() local 85 tipc_conn_sendmsg(tn->topsrv, subscriber->conid, NULL, in tipc_subscrp_send_event() 191 struct tipc_net *tn = net_generic(sub->net, tipc_net_id); in tipc_subscrp_delete() local 196 atomic_dec(&tn->subscription_count); in tipc_subscrp_delete() 223 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_subscrp_create() local 238 if (atomic_read(&tn->subscription_count) >= TIPC_MAX_SUBSCRIPTIONS) { in tipc_subscrp_create() 271 atomic_inc(&tn->subscription_count); in tipc_subscrp_create() 294 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_subscrb_rcv_cb() local 297 return tipc_conn_terminate(tn->topsrv, subscrb->conid); in tipc_subscrb_rcv_cb() 310 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_topsrv_start() local [all …]
|
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->own_addr = 0; in tipc_init_net() 60 get_random_bytes(&tn->random, sizeof(int)); in tipc_init_net() 61 INIT_LIST_HEAD(&tn->node_list); in tipc_init_net() 62 spin_lock_init(&tn->node_list_lock); in tipc_init_net()
|
D | bearer.c | 177 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_bearer_find() local 182 b_ptr = rtnl_dereference(tn->bearer_list[i]); in tipc_bearer_find() 191 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_bearer_add_dest() local 195 b_ptr = rcu_dereference_rtnl(tn->bearer_list[bearer_id]); in tipc_bearer_add_dest() 203 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_bearer_remove_dest() local 207 b_ptr = rcu_dereference_rtnl(tn->bearer_list[bearer_id]); in tipc_bearer_remove_dest() 220 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_enable_bearer() local 230 if (!tn->own_addr) { in tipc_enable_bearer() 240 (disc_domain != tn->own_addr)) { in tipc_enable_bearer() 241 if (tipc_in_scope(disc_domain, tn->own_addr)) { in tipc_enable_bearer() [all …]
|
D | discover.c | 83 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 143 if (net_id != tn->net_id) in tipc_disc_rcv() 154 disc_dupl_alert(bearer, tn->own_addr, &maddr); in tipc_disc_rcv() 157 if (!tipc_in_scope(ddom, tn->own_addr)) in tipc_disc_rcv()
|
D | bcast.c | 392 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_nl_add_bc_link() local 393 struct tipc_link *bcl = tn->bcl; in tipc_nl_add_bc_link() 454 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_bclink_reset_stats() local 455 struct tipc_link *bcl = tn->bcl; in tipc_bclink_reset_stats() 505 struct tipc_net *tn = tipc_net(net); in tipc_bcast_init() local 512 tn->bcbase = bb; in tipc_bcast_init() 525 tn->bcl = l; in tipc_bcast_init() 542 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_bcast_stop() local 545 kfree(tn->bcbase); in tipc_bcast_stop() 546 kfree(tn->bcl); in tipc_bcast_stop()
|
D | addr.h | 51 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_own_addr() local 53 return tn->own_addr; in tipc_own_addr()
|
D | node.c | 125 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_node_find() local 132 hlist_for_each_entry_rcu(node, &tn->node_htable[tipc_hashfn(addr)], in tipc_node_find() 146 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_node_create() local 149 spin_lock_bh(&tn->node_list_lock); in tipc_node_create() 190 hlist_add_head_rcu(&n_ptr->hash, &tn->node_htable[tipc_hashfn(addr)]); in tipc_node_create() 191 list_for_each_entry_rcu(temp_node, &tn->node_list, list) { in tipc_node_create() 197 spin_unlock_bh(&tn->node_list_lock); in tipc_node_create() 225 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_node_stop() local 228 spin_lock_bh(&tn->node_list_lock); in tipc_node_stop() 229 list_for_each_entry_safe(node, t_node, &tn->node_list, list) { in tipc_node_stop() [all …]
|
D | socket.c | 288 struct tipc_net *tn = net_generic(sock_net(&tsk->sk), tipc_net_id); in tsk_peer_msg() local 305 if (!orig_node && (peer_node == tn->own_addr)) in tsk_peer_msg() 308 if (!peer_node && (orig_node == tn->own_addr)) in tsk_peer_msg() 329 struct tipc_net *tn; in tipc_sk_create() local 367 tn = net_generic(sock_net(sk), tipc_net_id); in tipc_sk_create() 368 tipc_msg_init(tn->own_addr, msg, TIPC_LOW_IMPORTANCE, TIPC_NAMED_MSG, in tipc_sk_create() 563 struct tipc_net *tn = net_generic(sock_net(sock->sk), tipc_net_id); in tipc_getname() local 574 addr->addr.id.node = tn->own_addr; in tipc_getname() 2242 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_sk_reinit() local 2250 tbl = rht_dereference_rcu((&tn->sk_rht)->tbl, &tn->sk_rht); in tipc_sk_reinit() [all …]
|
D | link.c | 1541 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_link_find_owner() local 1549 list_for_each_entry_rcu(n_ptr, &tn->node_list, list) { in tipc_link_find_owner() 1780 struct tipc_net *tn = net_generic(net, tipc_net_id); in __tipc_nl_add_link() local 1794 tipc_cluster_mask(tn->own_addr))) in __tipc_nl_add_link() 1869 struct tipc_net *tn = net_generic(net, tipc_net_id); in tipc_nl_link_dump() local 1899 list_for_each_entry_continue_rcu(node, &tn->node_list, in tipc_nl_link_dump() 1915 list_for_each_entry_rcu(node, &tn->node_list, list) { in tipc_nl_link_dump()
|
/linux-4.4.14/net/ipv4/ |
D | fib_trie.c | 151 static struct key_vector *resize(struct trie *t, struct key_vector *tn); 170 #define node_parent(tn) rtnl_dereference(tn_info(tn)->parent) argument 171 #define get_child(tn, i) rtnl_dereference((tn)->tnode[i]) argument 174 #define node_parent_rcu(tn) rcu_dereference_rtnl(tn_info(tn)->parent) argument 175 #define get_child_rcu(tn, i) rcu_dereference_rtnl((tn)->tnode[i]) argument 189 static inline unsigned long child_length(const struct key_vector *tn) in child_length() argument 191 return (1ul << tn->bits) & ~(1ul); in child_length() 353 struct key_vector *tn; in tnode_new() local 371 tn = tnode->kv; in tnode_new() 372 tn->key = (shift < KEYLENGTH) ? (key >> shift) << shift : 0; in tnode_new() [all …]
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
D | sym_nvram.c | 97 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 …]
|
D | sym_hipd.c | 58 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 …]
|
D | sym_hipd.h | 1068 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.4.14/net/netfilter/ |
D | nf_conntrack_proto_tcp.c | 510 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.4.14/arch/arm/vfp/ |
D | vfpdouble.c | 211 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 …]
|
D | vfpsingle.c | 219 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.4.14/drivers/ata/ |
D | pata_mpc52xx.c | 87 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.4.14/Documentation/filesystems/ |
D | hfsplus.txt | 59 Apple Technote 1150 https://developer.apple.com/legacy/library/technotes/tn/tn1150.html
|
/linux-4.4.14/drivers/scsi/ |
D | ncr53c8xx.c | 1919 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.4.14/Documentation/isdn/ |
D | CREDITS | 46 Thomas Neumann (tn@ruhr.de)
|
/linux-4.4.14/kernel/trace/ |
D | ftrace.c | 1299 struct hlist_node *tn; in ftrace_hash_clear() local 1309 hlist_for_each_entry_safe(entry, tn, hhd, hlist) in ftrace_hash_clear() 1416 struct hlist_node *tn; in ftrace_hash_move() local 1454 hlist_for_each_entry_safe(entry, tn, hhd, hlist) { in ftrace_hash_move()
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 670 struct ipoib_neigh *neigh, *tn; in path_rec_completion() local 705 list_for_each_entry_safe(neigh, tn, &path->neigh_list, list) { in path_rec_completion()
|
/linux-4.4.14/Documentation/ide/ |
D | ChangeLog.ide-tape.1995-2002 | 168 * Decrease the default disconnection time to tn.
|