/linux-master/drivers/sbus/char/ |
H A D | openprom.c | 498 phandle nd; local 502 if (copy_from_user(&nd, argp, sizeof(phandle))) 505 if (nd == 0) { 510 dp = of_find_node_by_phandle(nd); 511 nd = 0; 520 nd = dp->phandle; 521 if (copy_to_user(argp, &nd, sizeof(phandle)))
|
/linux-master/drivers/staging/most/net/ |
H A D | net.c | 164 struct net_dev_context *nd = netdev_priv(dev); local 170 nd->is_mamac = 178 dev->mtu = nd->is_mamac ? MAMAC_DATA_LEN : ETH_DATA_LEN; 188 struct net_dev_context *nd = netdev_priv(dev); local 193 if (most_start_channel(nd->iface, nd->rx.ch_id, &comp)) { 199 if (most_start_channel(nd->iface, nd->tx.ch_id, &comp)) { 201 most_stop_channel(nd->iface, nd 222 struct net_dev_context *nd = netdev_priv(dev); local 236 struct net_dev_context *nd = netdev_priv(dev); local 282 struct net_dev_context *nd; local 292 struct net_dev_context *nd; local 309 struct net_dev_context *nd; local 365 struct net_dev_context *nd; local 412 struct net_dev_context *nd; local 431 struct net_dev_context *nd; local 549 struct net_dev_context *nd; local [all...] |
/linux-master/fs/bcachefs/ |
H A D | ec.c | 52 static void raid_gen(int nd, int np, size_t size, void **v) argument 55 raid5_recov(nd + np, nd, size, v); 57 raid6_call.gen_syndrome(nd + np, size, v); 61 static void raid_rec(int nr, int *ir, int nd, int np, size_t size, void **v) argument 67 if (ir[0] < nd + 1) 68 raid5_recov(nd + 1, ir[0], size, v); 70 raid6_call.gen_syndrome(nd + np, size, v); 73 if (ir[1] < nd) { 75 raid6_2data_recov(nd [all...] |
/linux-master/fs/dlm/ |
H A D | config.c | 304 int comm_seq; /* copy of cm->seq when nd->nodeid is set */ 558 struct dlm_node *nd; local 560 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); 561 if (!nd) 564 config_item_init_type_name(&nd->item, name, &node_type); 565 nd->nodeid = -1; 566 nd->weight = 1; /* default weight of 1 if none is set */ 567 nd->new = 1; /* set to 0 once it's been read by dlm_nodeid_list() */ 570 list_add(&nd->list, &sp->members); 574 return &nd 580 struct dlm_node *nd = config_item_to_node(i); local 592 struct dlm_node *nd = config_item_to_node(i); local 781 struct dlm_node *nd = config_item_to_node(item); local 876 struct dlm_node *nd; local [all...] |
/linux-master/fs/jfs/ |
H A D | jfs_dtree.c | 3772 int xssi, ns, nd; local 3793 ns = nd = 0; 3862 nd++; 3900 nd++; 3932 dlv->length = nd; 3938 sp->header.freecnt += nd; 3944 dp->header.freecnt -= nd;
|
/linux-master/fs/ |
H A D | namei.c | 631 static bool nd_alloc_stack(struct nameidata *nd) argument 636 nd->flags & LOOKUP_RCU ? GFP_ATOMIC : GFP_KERNEL); 639 memcpy(p, nd->internal, sizeof(nd->internal)); 640 nd->stack = p; 663 static void drop_links(struct nameidata *nd) argument 665 int i = nd->depth; 667 struct saved *last = nd->stack + i; 673 static void leave_rcu(struct nameidata *nd) argument 675 nd 680 terminate_walk(struct nameidata *nd) argument 717 legitimize_path(struct nameidata *nd, struct path *path, unsigned seq) argument 723 legitimize_links(struct nameidata *nd) argument 742 legitimize_root(struct nameidata *nd) argument 773 try_to_unlazy(struct nameidata *nd) argument 809 try_to_unlazy_next(struct nameidata *nd, struct dentry *dentry) argument 876 complete_walk(struct nameidata *nd) argument 931 set_root(struct nameidata *nd) argument 958 nd_jump_root(struct nameidata *nd) argument 997 struct nameidata *nd = current->nameidata; local 1022 put_link(struct nameidata *nd) argument 1100 may_follow_link(struct nameidata *nd, const struct inode *inode) argument 1236 may_create_in_sticky(struct mnt_idmap *idmap, struct nameidata *nd, struct inode *const inode) argument 1482 __follow_mount_rcu(struct nameidata *nd, struct path *path) argument 1526 handle_mounts(struct nameidata *nd, struct dentry *dentry, struct path *path) argument 1616 lookup_fast(struct nameidata *nd) argument 1714 may_lookup(struct mnt_idmap *idmap, struct nameidata *nd) argument 1729 reserve_stack(struct nameidata *nd, struct path *link) argument 1757 pick_link(struct nameidata *nd, struct path *link, struct inode *inode, int flags) argument 1837 step_into(struct nameidata *nd, int flags, struct dentry *dentry) argument 1877 follow_dotdot_rcu(struct nameidata *nd) argument 1917 follow_dotdot(struct nameidata *nd) argument 1949 handle_dots(struct nameidata *nd, int type) argument 1987 walk_component(struct nameidata *nd, int flags) argument 2249 link_path_walk(const char *name, struct nameidata *nd) argument 2352 path_init(struct nameidata *nd, unsigned flags) argument 2464 lookup_last(struct nameidata *nd) argument 2472 handle_lookup_down(struct nameidata *nd) argument 2481 path_lookupat(struct nameidata *nd, unsigned flags, struct path *path) argument 2518 struct nameidata nd; local 2536 path_parentat(struct nameidata *nd, unsigned flags, struct path *parent) argument 2559 struct nameidata nd; local 3355 atomic_open(struct nameidata *nd, struct dentry *dentry, struct file *file, int open_flag, umode_t mode) argument 3410 lookup_open(struct nameidata *nd, struct file *file, const struct open_flags *op, bool got_write) argument 3521 open_last_lookups(struct nameidata *nd, struct file *file, const struct open_flags *op) argument 3606 do_open(struct nameidata *nd, struct file *file, const struct open_flags *op) argument 3752 do_tmpfile(struct nameidata *nd, unsigned flags, const struct open_flags *op, struct file *file) argument 3775 do_o_path(struct nameidata *nd, unsigned flags, struct file *file) argument 3787 path_openat(struct nameidata *nd, const struct open_flags *op, unsigned flags) argument 3829 struct nameidata nd; local 3846 struct nameidata nd; local [all...] |
/linux-master/include/linux/ |
H A D | mempolicy.h | 116 struct rb_node nd; member in struct:sp_node
|
H A D | nubus.h | 162 unsigned char *nubus_dirptr(const struct nubus_dirent *nd);
|
/linux-master/include/net/ |
H A D | ncsi.h | 37 void (*notifier)(struct ncsi_dev *nd)); 38 int ncsi_start_dev(struct ncsi_dev *nd); 39 void ncsi_stop_dev(struct ncsi_dev *nd); 40 void ncsi_unregister_dev(struct ncsi_dev *nd); 53 void (*notifier)(struct ncsi_dev *nd)) 58 static inline int ncsi_start_dev(struct ncsi_dev *nd) argument 63 static void ncsi_stop_dev(struct ncsi_dev *nd) argument 67 static inline void ncsi_unregister_dev(struct ncsi_dev *nd) argument 52 ncsi_register_dev(struct net_device *dev, void (*notifier)(struct ncsi_dev *nd)) argument
|
/linux-master/io_uring/ |
H A D | net.c | 1225 struct io_notif_data *nd = io_notif_to_data(notif); local 1227 nd->zc_report = true; 1228 nd->zc_used = false; 1229 nd->zc_copied = false;
|
H A D | notif.c | 16 struct io_notif_data *nd = io_notif_to_data(notif); local 19 notif = cmd_to_io_kiocb(nd); 21 lockdep_assert(refcount_read(&nd->uarg.refcnt) == 0); 23 if (unlikely(nd->zc_report) && (nd->zc_copied || !nd->zc_used)) 26 if (nd->account_pages && notif->ctx->user) { 27 __io_unaccount_mem(notif->ctx->user, nd->account_pages); 28 nd->account_pages = 0; 31 nd 39 struct io_notif_data *nd = container_of(uarg, struct io_notif_data, uarg); local 65 struct io_notif_data *nd, *prev_nd; local 111 struct io_notif_data *nd; variable in typeref:struct:io_notif_data [all...] |
H A D | notif.h | 38 struct io_notif_data *nd = io_notif_to_data(notif); variable in typeref:struct:io_notif_data 40 io_tx_ubuf_complete(NULL, &nd->uarg, true); 46 struct io_notif_data *nd = io_notif_to_data(notif); local 54 nd->account_pages += nr_pages;
|
/linux-master/mm/ |
H A D | memory-failure.c | 329 struct list_head nd; member in struct:to_kill 483 list_add_tail(&tk->nd, to_kill); 499 list_for_each_entry_safe(tk, next, to_kill, nd) { 527 list_for_each_entry_safe(tk, next, to_kill, nd) { 551 list_del(&tk->nd); 1717 list_for_each_entry(tk, to_kill, nd)
|
H A D | memory-tiers.c | 304 struct demotion_nodes *nd; local 310 nd = &node_demotion[node]; 332 target = node_random(&nd->preferred); 390 struct demotion_nodes *nd; local 404 nd = &node_demotion[node]; 435 node_set(target, nd->preferred);
|
H A D | mempolicy.c | 2644 struct sp_node *p = rb_entry(n, struct sp_node, nd); 2660 w = rb_entry(prev, struct sp_node, nd); 2665 return rb_entry(n, struct sp_node, nd); 2676 struct sp_node *nd; local 2680 nd = rb_entry(parent, struct sp_node, nd); 2681 if (new->start < nd->start) 2683 else if (new->end > nd->end) 2688 rb_link_node(&new->nd, parent, p); 2689 rb_insert_color(&new->nd, [all...] |
/linux-master/net/dsa/ |
H A D | dsa.c | 1394 struct net_device *nd; local 1396 nd = to_net_dev(d); 1397 dev_hold(nd); 1400 return nd;
|
/linux-master/net/ncsi/ |
H A D | internal.h | 368 #define TO_NCSI_DEV_PRIV(nd) \ 369 container_of(nd, struct ncsi_dev_priv, ndev) 378 int ncsi_reset_dev(struct ncsi_dev *nd);
|
H A D | ncsi-cmd.c | 280 struct ncsi_dev *nd = &ndp->ndev; local 281 struct net_device *dev = nd->dev;
|
H A D | ncsi-manage.c | 53 struct ncsi_dev *nd = &ndp->ndev; local 58 nd->state = ncsi_dev_state_functional; 60 nd->link_up = 0; 64 nd->link_up = 0; 77 nd->link_up = 1; 86 nd->handler(nd); 469 struct ncsi_dev *nd = &ndp->ndev; local 480 switch (nd->state) { 482 nd 989 struct ncsi_dev *nd = &ndp->ndev; local 1346 struct ncsi_dev *nd = &ndp->ndev; local 1528 struct ncsi_dev *nd = &ndp->ndev; local 1607 struct ncsi_dev *nd = &ndp->ndev; local 1660 struct ncsi_dev *nd; local 1710 struct ncsi_dev *nd; local 1748 struct ncsi_dev *nd; local 1806 ncsi_start_dev(struct ncsi_dev *nd) argument 1825 ncsi_stop_dev(struct ncsi_dev *nd) argument 1857 ncsi_reset_dev(struct ncsi_dev *nd) argument 1943 ncsi_unregister_dev(struct ncsi_dev *nd) argument [all...] |
H A D | ncsi-netlink.c | 38 struct ncsi_dev *nd; local 50 nd = ncsi_find_dev(dev); 51 ndp = nd ? TO_NCSI_DEV_PRIV(nd) : NULL;
|
H A D | ncsi-rsp.c | 1176 struct ncsi_dev *nd; local 1184 nd = ncsi_find_dev(orig_dev); 1185 ndp = nd ? TO_NCSI_DEV_PRIV(nd) : NULL; 1207 netdev_err(nd->dev, "Received unrecognized packet (0x%x)\n",
|
/linux-master/net/openvswitch/ |
H A D | flow.c | 569 struct nd_msg *nd; local 572 memset(&key->ipv6.nd, 0, sizeof(key->ipv6.nd)); 577 if (unlikely(icmp_len < sizeof(*nd))) 583 nd = (struct nd_msg *)skb_transport_header(skb); 584 key->ipv6.nd.target = nd->target; 586 icmp_len -= sizeof(*nd); 590 (struct nd_opt_hdr *)(nd->opt + offset); 602 if (unlikely(!is_zero_ether_addr(key->ipv6.nd [all...] |
H A D | flow.h | 147 } nd; member in union:sw_flow_key::__anon4685::__anon4691::__anon4693
|
H A D | flow_netlink.c | 1752 SW_FLOW_KEY_MEMCPY(match, ipv6.nd.target, 1754 sizeof(match->key->ipv6.nd.target), 1756 SW_FLOW_KEY_MEMCPY(match, ipv6.nd.sll, 1758 SW_FLOW_KEY_MEMCPY(match, ipv6.nd.tll, 2256 memcpy(nd_key->nd_target, &output->ipv6.nd.target, 2258 ether_addr_copy(nd_key->nd_sll, output->ipv6.nd.sll); 2259 ether_addr_copy(nd_key->nd_tll, output->ipv6.nd.tll);
|
/linux-master/net/wireless/ |
H A D | nl80211.c | 13233 struct nlattr *nd, *freqs, *matches, *match, *scan_plans, *scan_plan; local 13239 nd = nla_nest_start_noflag(msg, NL80211_WOWLAN_TRIG_NET_DETECT); 13240 if (!nd) 13315 nla_nest_end(msg, nd); 19704 struct cfg80211_wowlan_nd_info *nd = wakeup->net_detect; local 19713 for (i = 0; i < nd->n_matches; i++) { 19714 struct cfg80211_wowlan_nd_match *match = nd->matches[i];
|