/linux-master/io_uring/ |
H A D | notif.c | 14 struct io_notif_data *nd = io_notif_to_data(notif); local 17 if (nd->zc_report && (nd->zc_copied || !nd->zc_used)) 20 if (nd->account_pages && ctx->user) { 21 __io_unaccount_mem(ctx->user, nd->account_pages); 22 nd->account_pages = 0; 30 struct io_notif_data *nd = container_of(uarg, struct io_notif_data, uarg); local 31 struct io_kiocb *notif = cmd_to_io_kiocb(nd); 40 struct io_notif_data *nd local 53 struct io_notif_data *nd = io_notif_to_data(notif); local 69 struct io_notif_data *nd; variable in typeref:struct:io_notif_data [all...] |
H A D | notif.h | 33 struct io_notif_data *nd = io_notif_to_data(notif); variable in typeref:struct:io_notif_data 36 if (refcount_dec_and_test(&nd->uarg.refcnt)) 43 struct io_notif_data *nd = io_notif_to_data(notif); local 51 nd->account_pages += nr_pages;
|
/linux-master/drivers/hid/ |
H A D | hid-ntrig.c | 173 struct ntrig_data *nd = hid_get_drvdata(hdev); local 175 return sprintf(buf, "%d\n", nd->sensor_physical_width); 185 struct ntrig_data *nd = hid_get_drvdata(hdev); local 187 return sprintf(buf, "%d\n", nd->sensor_physical_height); 197 struct ntrig_data *nd = hid_get_drvdata(hdev); local 199 return sprintf(buf, "%d\n", nd->sensor_logical_width); 209 struct ntrig_data *nd = hid_get_drvdata(hdev); local 211 return sprintf(buf, "%d\n", nd->sensor_logical_height); 221 struct ntrig_data *nd = hid_get_drvdata(hdev); local 223 return sprintf(buf, "%d\n", nd 233 struct ntrig_data *nd = hid_get_drvdata(hdev); local 256 struct ntrig_data *nd = hid_get_drvdata(hdev); local 268 struct ntrig_data *nd = hid_get_drvdata(hdev); local 292 struct ntrig_data *nd = hid_get_drvdata(hdev); local 302 struct ntrig_data *nd = hid_get_drvdata(hdev); local 325 struct ntrig_data *nd = hid_get_drvdata(hdev); local 337 struct ntrig_data *nd = hid_get_drvdata(hdev); local 361 struct ntrig_data *nd = hid_get_drvdata(hdev); local 373 struct ntrig_data *nd = hid_get_drvdata(hdev); local 397 struct ntrig_data *nd = hid_get_drvdata(hdev); local 407 struct ntrig_data *nd = hid_get_drvdata(hdev); local 458 struct ntrig_data *nd = hid_get_drvdata(hdev); local 569 struct ntrig_data *nd = hid_get_drvdata(hid); local 896 struct ntrig_data *nd; local [all...] |
/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/drivers/dax/pmem/ |
H A D | pmem.c | 7 #include <linux/nd.h>
|
/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/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 2456 lookup_last(struct nameidata *nd) argument 2464 handle_lookup_down(struct nameidata *nd) argument 2473 path_lookupat(struct nameidata *nd, unsigned flags, struct path *path) argument 2510 struct nameidata nd; local 2528 path_parentat(struct nameidata *nd, unsigned flags, struct path *parent) argument 2551 struct nameidata nd; local 3347 atomic_open(struct nameidata *nd, struct dentry *dentry, struct file *file, int open_flag, umode_t mode) argument 3402 lookup_open(struct nameidata *nd, struct file *file, const struct open_flags *op, bool got_write) argument 3513 open_last_lookups(struct nameidata *nd, struct file *file, const struct open_flags *op) argument 3598 do_open(struct nameidata *nd, struct file *file, const struct open_flags *op) argument 3744 do_tmpfile(struct nameidata *nd, unsigned flags, const struct open_flags *op, struct file *file) argument 3767 do_o_path(struct nameidata *nd, unsigned flags, struct file *file) argument 3779 path_openat(struct nameidata *nd, const struct open_flags *op, unsigned flags) argument 3821 struct nameidata nd; local 3838 struct nameidata nd; local [all...] |
/linux-master/tools/perf/util/ |
H A D | rb_resort.h | 26 entry->thread = rb_entry(nd, struct thread, rb_node); 37 struct rb_node *nd; 39 resort_rb__for_each_entry(nd, threads) { 60 static void __name##_sorted__init_entry(struct rb_node *nd, \ 73 struct __name##_sorted_entry nd[0]; \ 94 struct rb_node *nd; \ 96 for (nd = rb_first(entries); nd; nd = rb_next(nd)) { \ [all...] |
H A D | fncache.c | 10 struct hlist_node nd; member in struct:fncache 32 hlist_for_each_entry(n, &fncache_hash[h], nd) { 50 hlist_add_head(&n->nd, &fncache_hash[h]);
|
H A D | metricgroup.c | 39 struct rb_node *nd; local 49 nd = rblist__find(metric_events, &me); 50 if (nd) 51 return container_of(nd, struct metric_event, nd); 54 nd = rblist__find(metric_events, &me); 55 if (nd) 56 return container_of(nd, struct metric_event, nd); 65 nd); 123 struct list_head nd; member in struct:metric 388 struct rb_node nd; member in struct:mep 423 mep_delete(struct rblist *rl __maybe_unused, struct rb_node *nd) argument 435 struct rb_node *nd; local 1785 struct rb_node *nd; local [all...] |
H A D | metricgroup.h | 23 struct rb_node nd; member in struct:metric_event 46 struct list_head nd; member in struct:metric_expr
|
H A D | build-id.c | 377 struct rb_node *nd; local 383 for (nd = rb_first_cached(&session->machines.guests); nd; 384 nd = rb_next(nd)) { 385 struct machine *pos = rb_entry(nd, struct machine, rb_node); 410 struct rb_node *nd; local 417 for (nd = rb_first_cached(&session->machines.guests); nd; 418 nd 454 struct str_node *nd, *nd2; local 531 struct str_node *nd, *cand = NULL; local 965 struct rb_node *nd; local 1000 struct rb_node *nd; local [all...] |
H A D | srccode.c | 27 struct list_head nd; member in struct:srcfile 79 list_del_init(&sf->nd); 100 list_move(&h->nd, &srcfile_list); 109 h = list_entry(srcfile_list.prev, struct srcfile, nd); 140 list_add(&h->nd, &srcfile_list);
|
/linux-master/arch/sparc/kernel/ |
H A D | devices.c | 34 static int check_cpu_node(phandle nd, int *cur_inst, argument 38 if (!compare(nd, *cur_inst, compare_arg)) { 40 *prom_node = nd; 42 *mid = prom_getintdefault(nd, cpu_mid_prop(), 0); 74 static int cpu_instance_compare(phandle nd, int instance, void *_arg) argument 89 static int cpu_mid_compare(phandle nd, int instance, void *_arg) argument 94 this_mid = prom_getintdefault(nd, cpu_mid_prop(), 0);
|
/linux-master/net/ncsi/ |
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...] |
/linux-master/tools/perf/ui/browsers/ |
H A D | map.c | 25 static void map_browser__write(struct ui_browser *browser, void *nd, int row) argument 27 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); 116 struct rb_node *nd; local 120 for (nd = rb_first(mb.b.entries); nd; nd = rb_next(nd)) { 121 struct symbol *pos = rb_entry(nd, struct symbol, rb_node);
|
H A D | hists.c | 53 static struct rb_node *hists__filter_entries(struct rb_node *nd, 63 struct rb_node *nd; local 67 for (nd = rb_first_cached(&hists->entries); 68 (nd = hists__filter_entries(nd, browser->min_pcnt)) != NULL; 69 nd = rb_hierarchy_next(nd)) { 71 rb_entry(nd, struct hist_entry, rb_node); 179 struct rb_node *nd; local 181 for (nd 261 struct rb_node *nd; local 330 struct rb_node *nd = rb_first(&node->rb_root); local 369 struct rb_node *nd = rb_first(root); local 513 struct rb_node *nd; local 553 struct rb_node *nd; local 568 struct rb_node *nd; local 604 struct rb_node *nd; local 1817 struct rb_node *nd; local 1866 hists__filter_entries(struct rb_node *nd, float min_pcnt) argument 1889 hists__filter_prev_entries(struct rb_node *nd, float min_pcnt) argument 1909 struct rb_node *nd; local 2152 struct rb_node *nd = hists__filter_entries(rb_first(browser->b.entries), local 2883 struct rb_node *nd = rb_first_cached(&hb->hists->entries); local 2903 struct rb_node *nd = rb_first_cached(&hb->hists->entries); local [all...] |
/linux-master/drivers/block/aoe/ |
H A D | aoeblk.c | 61 struct net_device *nds[8], **nd, **nnd, **ne; local 67 nd = nds; 68 ne = nd + ARRAY_SIZE(nds); 74 for (; ifp < e && ifp->nd; ifp++) { 75 for (nnd = nds; nnd < nd; nnd++) 76 if (*nnd == ifp->nd) 78 if (nnd == nd && nd != ne) 79 *nd++ = ifp->nd; [all...] |
/linux-master/tools/perf/ui/gtk/ |
H A D | hists.c | 100 struct rb_node *nd; local 103 for (nd = rb_first(root); nd; nd = rb_next(nd)) { 109 node = rb_entry(nd, struct callchain_node, rb_node); 163 struct rb_node *nd; local 165 for (nd = rb_first(root); nd; nd 223 struct rb_node *nd; local 300 struct rb_node *nd; local [all...] |
/linux-master/tools/perf/tests/ |
H A D | symbols.c | 112 struct rb_node *nd; local 119 for (nd = rb_first_cached(&dso->symbols); nd; nd = rb_next(nd)) { 120 struct symbol *sym = rb_entry(nd, struct symbol, rb_node);
|
/linux-master/drivers/clk/at91/ |
H A D | clk-audio-pll.c | 15 * enable - clk_enable writes nd, fracr parameters and enables PLL 17 * clk->rate = parent->rate * ((nd + 1) + (fracr / 2^22)) 62 u8 nd; member in struct:clk_audio_frac 102 AT91_PMC_AUDIO_PLL_ND(frac->nd)); 160 unsigned long nd, unsigned long fracr) 170 return parent_rate * (nd + 1) + fr; 179 fout = clk_audio_pll_fout(parent_rate, frac->nd, frac->fracr); 181 pr_debug("A PLL: %s, fout = %lu (nd = %u, fracr = %lu)\n", __func__, 182 fout, frac->nd, (unsigned long)frac->fracr); 218 unsigned long *nd, 159 clk_audio_pll_fout(unsigned long parent_rate, unsigned long nd, unsigned long fracr) argument 216 clk_audio_pll_frac_compute_frac(unsigned long rate, unsigned long parent_rate, unsigned long *nd, unsigned long *fracr) argument 247 unsigned long fracr, nd; local 368 unsigned long fracr, nd; local [all...] |
/linux-master/arch/arm/mach-exynos/ |
H A D | firmware.c | 198 struct device_node *nd; local 201 nd = of_find_compatible_node(NULL, NULL, 203 if (!nd) 206 addr = of_get_address(nd, 0, NULL, NULL); 207 of_node_put(nd);
|
/linux-master/drivers/fpga/ |
H A D | of-fpga-region.c | 276 * @nd: overlay notification data 287 struct of_overlay_notify_data *nd) 293 info = of_fpga_region_parse_ov(region, nd->overlay); 321 * @nd: overlay notification data 327 struct of_overlay_notify_data *nd) 349 struct of_overlay_notify_data *nd = arg; local 370 region = of_fpga_region_find(nd->target); 377 ret = of_fpga_region_notify_pre_apply(region, nd); 381 of_fpga_region_notify_post_remove(region, nd); 286 of_fpga_region_notify_pre_apply(struct fpga_region *region, struct of_overlay_notify_data *nd) argument 326 of_fpga_region_notify_post_remove(struct fpga_region *region, struct of_overlay_notify_data *nd) argument
|
/linux-master/arch/mips/loongson64/ |
H A D | numa.c | 86 struct pglist_data *nd; local 105 nd = __va(nd_pa); 106 memset(nd, 0, sizeof(struct pglist_data)); 110 __node_data[node] = nd;
|
/linux-master/fs/dlm/ |
H A D | config.c | 296 int comm_seq; /* copy of cm->seq when nd->nodeid is set */ 550 struct dlm_node *nd; local 552 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); 553 if (!nd) 556 config_item_init_type_name(&nd->item, name, &node_type); 557 nd->nodeid = -1; 558 nd->weight = 1; /* default weight of 1 if none is set */ 559 nd->new = 1; /* set to 0 once it's been read by dlm_nodeid_list() */ 562 list_add(&nd->list, &sp->members); 566 return &nd 572 struct dlm_node *nd = config_item_to_node(i); local 584 struct dlm_node *nd = config_item_to_node(i); local 773 struct dlm_node *nd = config_item_to_node(item); local 868 struct dlm_node *nd; local [all...] |