/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-ntrig.c | 173 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_phys_width() local 175 return sprintf(buf, "%d\n", nd->sensor_physical_width); in show_phys_width() 185 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_phys_height() local 187 return sprintf(buf, "%d\n", nd->sensor_physical_height); in show_phys_height() 197 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_log_width() local 199 return sprintf(buf, "%d\n", nd->sensor_logical_width); in show_log_width() 209 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_log_height() local 211 return sprintf(buf, "%d\n", nd->sensor_logical_height); in show_log_height() 221 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_min_width() local 223 return sprintf(buf, "%d\n", nd in show_min_width() 233 struct ntrig_data *nd = hid_get_drvdata(hdev); set_min_width() local 256 struct ntrig_data *nd = hid_get_drvdata(hdev); show_min_height() local 268 struct ntrig_data *nd = hid_get_drvdata(hdev); set_min_height() local 292 struct ntrig_data *nd = hid_get_drvdata(hdev); show_activate_slack() local 302 struct ntrig_data *nd = hid_get_drvdata(hdev); set_activate_slack() local 325 struct ntrig_data *nd = hid_get_drvdata(hdev); show_activation_width() local 337 struct ntrig_data *nd = hid_get_drvdata(hdev); set_activation_width() local 361 struct ntrig_data *nd = hid_get_drvdata(hdev); show_activation_height() local 373 struct ntrig_data *nd = hid_get_drvdata(hdev); set_activation_height() local 397 struct ntrig_data *nd = hid_get_drvdata(hdev); show_deactivate_slack() local 407 struct ntrig_data *nd = hid_get_drvdata(hdev); set_deactivate_slack() local 458 struct ntrig_data *nd = hid_get_drvdata(hdev); ntrig_input_mapping() local 569 struct ntrig_data *nd = hid_get_drvdata(hid); ntrig_event() local 896 struct ntrig_data *nd; ntrig_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-ntrig.c | 173 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_phys_width() local 175 return sprintf(buf, "%d\n", nd->sensor_physical_width); in show_phys_width() 185 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_phys_height() local 187 return sprintf(buf, "%d\n", nd->sensor_physical_height); in show_phys_height() 197 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_log_width() local 199 return sprintf(buf, "%d\n", nd->sensor_logical_width); in show_log_width() 209 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_log_height() local 211 return sprintf(buf, "%d\n", nd->sensor_logical_height); in show_log_height() 221 struct ntrig_data *nd = hid_get_drvdata(hdev); in show_min_width() local 223 return sprintf(buf, "%d\n", nd in show_min_width() 233 struct ntrig_data *nd = hid_get_drvdata(hdev); set_min_width() local 256 struct ntrig_data *nd = hid_get_drvdata(hdev); show_min_height() local 268 struct ntrig_data *nd = hid_get_drvdata(hdev); set_min_height() local 292 struct ntrig_data *nd = hid_get_drvdata(hdev); show_activate_slack() local 302 struct ntrig_data *nd = hid_get_drvdata(hdev); set_activate_slack() local 325 struct ntrig_data *nd = hid_get_drvdata(hdev); show_activation_width() local 337 struct ntrig_data *nd = hid_get_drvdata(hdev); set_activation_width() local 361 struct ntrig_data *nd = hid_get_drvdata(hdev); show_activation_height() local 373 struct ntrig_data *nd = hid_get_drvdata(hdev); set_activation_height() local 397 struct ntrig_data *nd = hid_get_drvdata(hdev); show_deactivate_slack() local 407 struct ntrig_data *nd = hid_get_drvdata(hdev); set_deactivate_slack() local 458 struct ntrig_data *nd = hid_get_drvdata(hdev); ntrig_input_mapping() local 569 struct ntrig_data *nd = hid_get_drvdata(hid); ntrig_event() local 896 struct ntrig_data *nd; ntrig_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/most/net/ |
H A D | net.c | 164 struct net_dev_context *nd = netdev_priv(dev); in most_nd_set_mac_address() local 170 nd->is_mamac = in most_nd_set_mac_address() 178 dev->mtu = nd->is_mamac ? MAMAC_DATA_LEN : ETH_DATA_LEN; in most_nd_set_mac_address() 188 struct net_dev_context *nd = netdev_priv(dev); in most_nd_open() local 193 if (most_start_channel(nd->iface, nd->rx.ch_id, &comp)) { in most_nd_open() 199 if (most_start_channel(nd->iface, nd->tx.ch_id, &comp)) { in most_nd_open() 201 most_stop_channel(nd->iface, nd in most_nd_open() 222 struct net_dev_context *nd = netdev_priv(dev); most_nd_stop() local 236 struct net_dev_context *nd = netdev_priv(dev); most_nd_start_xmit() local 282 struct net_dev_context *nd; get_net_dev() local 292 struct net_dev_context *nd; get_net_dev_hold() local 309 struct net_dev_context *nd; comp_probe_channel() local 365 struct net_dev_context *nd; comp_disconnect_channel() local 412 struct net_dev_context *nd; comp_resume_tx_channel() local 431 struct net_dev_context *nd; comp_rx_data() local 550 struct net_dev_context *nd; on_netinfo() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/most/net/ |
H A D | net.c | 164 struct net_dev_context *nd = netdev_priv(dev); in most_nd_set_mac_address() local 170 nd->is_mamac = in most_nd_set_mac_address() 178 dev->mtu = nd->is_mamac ? MAMAC_DATA_LEN : ETH_DATA_LEN; in most_nd_set_mac_address() 188 struct net_dev_context *nd = netdev_priv(dev); in most_nd_open() local 193 if (most_start_channel(nd->iface, nd->rx.ch_id, &comp)) { in most_nd_open() 199 if (most_start_channel(nd->iface, nd->tx.ch_id, &comp)) { in most_nd_open() 201 most_stop_channel(nd->iface, nd in most_nd_open() 222 struct net_dev_context *nd = netdev_priv(dev); most_nd_stop() local 236 struct net_dev_context *nd = netdev_priv(dev); most_nd_start_xmit() local 282 struct net_dev_context *nd; get_net_dev() local 292 struct net_dev_context *nd; get_net_dev_hold() local 309 struct net_dev_context *nd; comp_probe_channel() local 365 struct net_dev_context *nd; comp_disconnect_channel() local 412 struct net_dev_context *nd; comp_resume_tx_channel() local 431 struct net_dev_context *nd; comp_rx_data() local 549 struct net_dev_context *nd; on_netinfo() local [all...] |
/kernel/linux/linux-6.6/io_uring/ |
H A D | notif.c | 14 struct io_notif_data *nd = io_notif_to_data(notif); in io_notif_complete_tw_ext() local 17 if (nd->zc_report && (nd->zc_copied || !nd->zc_used)) in io_notif_complete_tw_ext() 20 if (nd->account_pages && ctx->user) { in io_notif_complete_tw_ext() 21 __io_unaccount_mem(ctx->user, nd->account_pages); in io_notif_complete_tw_ext() 22 nd->account_pages = 0; in io_notif_complete_tw_ext() 30 struct io_notif_data *nd = container_of(uarg, struct io_notif_data, uarg); in io_tx_ubuf_callback() local 31 struct io_kiocb *notif = cmd_to_io_kiocb(nd); in io_tx_ubuf_callback() 40 struct io_notif_data *nd in io_tx_ubuf_callback_ext() local 53 struct io_notif_data *nd = io_notif_to_data(notif); io_notif_set_extended() local 69 struct io_notif_data *nd; global() variable [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | namei.c | 632 static bool nd_alloc_stack(struct nameidata *nd) in nd_alloc_stack() argument 637 nd->flags & LOOKUP_RCU ? GFP_ATOMIC : GFP_KERNEL); in nd_alloc_stack() 640 memcpy(p, nd->internal, sizeof(nd->internal)); in nd_alloc_stack() 641 nd->stack = p; in nd_alloc_stack() 664 static void drop_links(struct nameidata *nd) in drop_links() argument 666 int i = nd->depth; in drop_links() 668 struct saved *last = nd->stack + i; in drop_links() 674 static void leave_rcu(struct nameidata *nd) in leave_rcu() argument 676 nd in leave_rcu() 681 terminate_walk(struct nameidata *nd) terminate_walk() argument 718 legitimize_path(struct nameidata *nd, struct path *path, unsigned seq) legitimize_path() argument 724 legitimize_links(struct nameidata *nd) legitimize_links() argument 743 legitimize_root(struct nameidata *nd) legitimize_root() argument 774 try_to_unlazy(struct nameidata *nd) try_to_unlazy() argument 810 try_to_unlazy_next(struct nameidata *nd, struct dentry *dentry) try_to_unlazy_next() argument 877 complete_walk(struct nameidata *nd) complete_walk() argument 932 set_root(struct nameidata *nd) set_root() argument 959 nd_jump_root(struct nameidata *nd) nd_jump_root() argument 998 struct nameidata *nd = current->nameidata; nd_jump_link() local 1023 put_link(struct nameidata *nd) put_link() argument 1102 may_follow_link(struct nameidata *nd, const struct inode *inode) may_follow_link() argument 1238 may_create_in_sticky(struct mnt_idmap *idmap, struct nameidata *nd, struct inode *const inode) may_create_in_sticky() argument 1484 __follow_mount_rcu(struct nameidata *nd, struct path *path) __follow_mount_rcu() argument 1528 handle_mounts(struct nameidata *nd, struct dentry *dentry, struct path *path) handle_mounts() argument 1618 lookup_fast(struct nameidata *nd) lookup_fast() argument 1716 may_lookup(struct mnt_idmap *idmap, struct nameidata *nd) may_lookup() argument 1727 reserve_stack(struct nameidata *nd, struct path *link) reserve_stack() argument 1755 pick_link(struct nameidata *nd, struct path *link, struct inode *inode, int flags) pick_link() argument 1835 step_into(struct nameidata *nd, int flags, struct dentry *dentry) step_into() argument 1875 follow_dotdot_rcu(struct nameidata *nd) follow_dotdot_rcu() argument 1915 follow_dotdot(struct nameidata *nd) follow_dotdot() argument 1947 handle_dots(struct nameidata *nd, int type) handle_dots() argument 1985 walk_component(struct nameidata *nd, int flags) walk_component() argument 2247 link_path_walk(const char *name, struct nameidata *nd) link_path_walk() argument 2350 path_init(struct nameidata *nd, unsigned flags) path_init() argument 2454 lookup_last(struct nameidata *nd) lookup_last() argument 2462 handle_lookup_down(struct nameidata *nd) handle_lookup_down() argument 2471 path_lookupat(struct nameidata *nd, unsigned flags, struct path *path) path_lookupat() argument 2508 struct nameidata nd; filename_lookup() local 2526 path_parentat(struct nameidata *nd, unsigned flags, struct path *parent) path_parentat() argument 2549 struct nameidata nd; __filename_parentat() local 3340 atomic_open(struct nameidata *nd, struct dentry *dentry, struct file *file, int open_flag, umode_t mode) atomic_open() argument 3395 lookup_open(struct nameidata *nd, struct file *file, const struct open_flags *op, bool got_write) lookup_open() argument 3506 open_last_lookups(struct nameidata *nd, struct file *file, const struct open_flags *op) open_last_lookups() argument 3590 do_open(struct nameidata *nd, struct file *file, const struct open_flags *op) do_open() argument 3736 do_tmpfile(struct nameidata *nd, unsigned flags, const struct open_flags *op, struct file *file) do_tmpfile() argument 3759 do_o_path(struct nameidata *nd, unsigned flags, struct file *file) do_o_path() argument 3771 path_openat(struct nameidata *nd, const struct open_flags *op, unsigned flags) path_openat() argument 3813 struct nameidata nd; do_filp_open() local 3830 struct nameidata nd; do_file_open_root() local [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | namei.c | 555 static bool nd_alloc_stack(struct nameidata *nd) in nd_alloc_stack() argument 560 nd->flags & LOOKUP_RCU ? GFP_ATOMIC : GFP_KERNEL); in nd_alloc_stack() 563 memcpy(p, nd->internal, sizeof(nd->internal)); in nd_alloc_stack() 564 nd->stack = p; in nd_alloc_stack() 585 static void drop_links(struct nameidata *nd) in drop_links() argument 587 int i = nd->depth; in drop_links() 589 struct saved *last = nd->stack + i; in drop_links() 595 static void terminate_walk(struct nameidata *nd) in terminate_walk() argument 597 drop_links(nd); in terminate_walk() 633 legitimize_path(struct nameidata *nd, struct path *path, unsigned seq) legitimize_path() argument 639 legitimize_links(struct nameidata *nd) legitimize_links() argument 658 legitimize_root(struct nameidata *nd) legitimize_root() argument 696 try_to_unlazy(struct nameidata *nd) try_to_unlazy() argument 734 try_to_unlazy_next(struct nameidata *nd, struct dentry *dentry, unsigned seq) try_to_unlazy_next() argument 797 complete_walk(struct nameidata *nd) complete_walk() argument 852 set_root(struct nameidata *nd) set_root() argument 879 nd_jump_root(struct nameidata *nd) nd_jump_root() argument 918 struct nameidata *nd = current->nameidata; nd_jump_link() local 943 put_link(struct nameidata *nd) put_link() argument 971 may_follow_link(struct nameidata *nd, const struct inode *inode) may_follow_link() argument 1328 __follow_mount_rcu(struct nameidata *nd, struct path *path, struct inode **inode, unsigned *seqp) __follow_mount_rcu() argument 1378 handle_mounts(struct nameidata *nd, struct dentry *dentry, struct path *path, struct inode **inode, unsigned int *seqp) handle_mounts() argument 1471 lookup_fast(struct nameidata *nd, struct inode **inode, unsigned *seqp) lookup_fast() argument 1584 may_lookup(struct nameidata *nd) may_lookup() argument 1594 reserve_stack(struct nameidata *nd, struct path *link, unsigned seq) reserve_stack() argument 1622 pick_link(struct nameidata *nd, struct path *link, struct inode *inode, unsigned seq, int flags) pick_link() argument 1700 step_into(struct nameidata *nd, int flags, struct dentry *dentry, struct inode *inode, unsigned seq) step_into() argument 1733 follow_dotdot_rcu(struct nameidata *nd, struct inode **inodep, unsigned *seqp) follow_dotdot_rcu() argument 1773 follow_dotdot(struct nameidata *nd, struct inode **inodep, unsigned *seqp) follow_dotdot() argument 1810 handle_dots(struct nameidata *nd, int type) handle_dots() argument 1855 walk_component(struct nameidata *nd, int flags) walk_component() argument 2119 link_path_walk(const char *name, struct nameidata *nd) link_path_walk() argument 2218 path_init(struct nameidata *nd, unsigned flags) path_init() argument 2321 lookup_last(struct nameidata *nd) lookup_last() argument 2329 handle_lookup_down(struct nameidata *nd) handle_lookup_down() argument 2338 path_lookupat(struct nameidata *nd, unsigned flags, struct path *path) path_lookupat() argument 2375 struct nameidata nd; filename_lookup() local 2398 path_parentat(struct nameidata *nd, unsigned flags, struct path *parent) path_parentat() argument 2419 struct nameidata nd; filename_parentat() local 3024 atomic_open(struct nameidata *nd, struct dentry *dentry, struct file *file, int open_flag, umode_t mode) atomic_open() argument 3079 lookup_open(struct nameidata *nd, struct file *file, const struct open_flags *op, bool got_write) lookup_open() argument 3186 open_last_lookups(struct nameidata *nd, struct file *file, const struct open_flags *op) open_last_lookups() argument 3272 do_open(struct nameidata *nd, struct file *file, const struct open_flags *op) do_open() argument 3368 do_tmpfile(struct nameidata *nd, unsigned flags, const struct open_flags *op, struct file *file) do_tmpfile() argument 3400 do_o_path(struct nameidata *nd, unsigned flags, struct file *file) do_o_path() argument 3412 path_openat(struct nameidata *nd, const struct open_flags *op, unsigned flags) path_openat() argument 3454 struct nameidata nd; do_filp_open() local 3471 struct nameidata nd; do_file_open_root() local [all...] |
/kernel/linux/linux-6.6/net/ncsi/ |
H A D | ncsi-manage.c | 53 struct ncsi_dev *nd = &ndp->ndev; in ncsi_report_link() local 58 nd->state = ncsi_dev_state_functional; in ncsi_report_link() 60 nd->link_up = 0; in ncsi_report_link() 64 nd->link_up = 0; in ncsi_report_link() 77 nd->link_up = 1; in ncsi_report_link() 86 nd->handler(nd); in ncsi_report_link() 469 struct ncsi_dev *nd = &ndp->ndev; in ncsi_suspend_channel() local 480 switch (nd->state) { in ncsi_suspend_channel() 482 nd in ncsi_suspend_channel() 997 struct ncsi_dev *nd = &ndp->ndev; ncsi_configure_channel() local 1351 struct ncsi_dev *nd = &ndp->ndev; ncsi_probe_channel() local 1537 struct ncsi_dev *nd = &ndp->ndev; ncsi_dev_work() local 1616 struct ncsi_dev *nd = &ndp->ndev; ncsi_kick_channels() local 1669 struct ncsi_dev *nd; ncsi_vlan_rx_add_vid() local 1719 struct ncsi_dev *nd; ncsi_vlan_rx_kill_vid() local 1757 struct ncsi_dev *nd; ncsi_register_dev() local 1815 ncsi_start_dev(struct ncsi_dev *nd) ncsi_start_dev() argument 1834 ncsi_stop_dev(struct ncsi_dev *nd) ncsi_stop_dev() argument 1866 ncsi_reset_dev(struct ncsi_dev *nd) ncsi_reset_dev() argument 1952 ncsi_unregister_dev(struct ncsi_dev *nd) ncsi_unregister_dev() argument [all...] |
/kernel/linux/linux-5.10/net/ncsi/ |
H A D | ncsi-manage.c | 53 struct ncsi_dev *nd = &ndp->ndev; in ncsi_report_link() local 58 nd->state = ncsi_dev_state_functional; in ncsi_report_link() 60 nd->link_up = 0; in ncsi_report_link() 64 nd->link_up = 0; in ncsi_report_link() 77 nd->link_up = 1; in ncsi_report_link() 86 nd->handler(nd); in ncsi_report_link() 469 struct ncsi_dev *nd = &ndp->ndev; in ncsi_suspend_channel() local 480 switch (nd->state) { in ncsi_suspend_channel() 482 nd in ncsi_suspend_channel() 945 struct ncsi_dev *nd = &ndp->ndev; ncsi_configure_channel() local 1299 struct ncsi_dev *nd = &ndp->ndev; ncsi_probe_channel() local 1469 struct ncsi_dev *nd = &ndp->ndev; ncsi_dev_work() local 1548 struct ncsi_dev *nd = &ndp->ndev; ncsi_kick_channels() local 1601 struct ncsi_dev *nd; ncsi_vlan_rx_add_vid() local 1651 struct ncsi_dev *nd; ncsi_vlan_rx_kill_vid() local 1689 struct ncsi_dev *nd; ncsi_register_dev() local 1746 ncsi_start_dev(struct ncsi_dev *nd) ncsi_start_dev() argument 1765 ncsi_stop_dev(struct ncsi_dev *nd) ncsi_stop_dev() argument 1797 ncsi_reset_dev(struct ncsi_dev *nd) ncsi_reset_dev() argument 1883 ncsi_unregister_dev(struct ncsi_dev *nd) ncsi_unregister_dev() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | metricgroup.c | 33 struct rb_node *nd; in metricgroup__lookup() local 41 nd = rblist__find(metric_events, &me); in metricgroup__lookup() 42 if (nd) in metricgroup__lookup() 43 return container_of(nd, struct metric_event, nd); in metricgroup__lookup() 46 nd = rblist__find(metric_events, &me); in metricgroup__lookup() 47 if (nd) in metricgroup__lookup() 48 return container_of(nd, struct metric_event, nd); in metricgroup__lookup() 57 nd); in metric_event_cmp() 120 struct list_head nd; global() member 417 struct rb_node nd; global() member 454 struct rb_node *nd; mep_lookup() local 468 mep_delete(struct rblist *rl __maybe_unused, struct rb_node *nd) mep_delete() argument 1169 struct rb_node *nd; metricgroup__copy_metric_events() local [all...] |
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 | build-id.c | 373 struct rb_node *nd; in perf_session__write_buildid_table() local 379 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__write_buildid_table() 380 nd = rb_next(nd)) { in perf_session__write_buildid_table() 381 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__write_buildid_table() 406 struct rb_node *nd; in dsos__hit_all() local 413 for (nd = rb_first_cached(&session->machines.guests); nd; in dsos__hit_all() 414 nd in dsos__hit_all() 449 struct str_node *nd, *nd2; build_id_cache__list_all() local 526 struct str_node *nd, *cand = NULL; build_id_cache__complement() local 871 struct rb_node *nd; perf_session__cache_build_ids() local 897 struct rb_node *nd; perf_session__read_build_ids() local [all...] |
H A D | symbol_fprintf.c | 66 struct rb_node *nd; in dso__fprintf_symbols_by_name() local 69 for (nd = rb_first_cached(&dso->symbol_names); nd; nd = rb_next(nd)) { in dso__fprintf_symbols_by_name() 70 pos = rb_entry(nd, struct symbol_name_rb_node, rb_node); in dso__fprintf_symbols_by_name()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | ncsi.h | 35 void (*notifier)(struct ncsi_dev *nd)); 36 int ncsi_start_dev(struct ncsi_dev *nd); 37 void ncsi_stop_dev(struct ncsi_dev *nd); 38 void ncsi_unregister_dev(struct ncsi_dev *nd); 51 void (*notifier)(struct ncsi_dev *nd)) in ncsi_register_dev() 56 static inline int ncsi_start_dev(struct ncsi_dev *nd) in ncsi_start_dev() argument 61 static void ncsi_stop_dev(struct ncsi_dev *nd) in ncsi_stop_dev() argument 65 static inline void ncsi_unregister_dev(struct ncsi_dev *nd) in ncsi_unregister_dev() argument 50 ncsi_register_dev(struct net_device *dev, void (*notifier)(struct ncsi_dev *nd)) ncsi_register_dev() argument
|
/kernel/linux/linux-6.6/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)) in ncsi_register_dev() 58 static inline int ncsi_start_dev(struct ncsi_dev *nd) in ncsi_start_dev() argument 63 static void ncsi_stop_dev(struct ncsi_dev *nd) in ncsi_stop_dev() argument 67 static inline void ncsi_unregister_dev(struct ncsi_dev *nd) in ncsi_unregister_dev() argument 52 ncsi_register_dev(struct net_device *dev, void (*notifier)(struct ncsi_dev *nd)) ncsi_register_dev() argument
|
/kernel/linux/linux-6.6/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 | build-id.c | 377 struct rb_node *nd; in perf_session__write_buildid_table() local 383 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__write_buildid_table() 384 nd = rb_next(nd)) { in perf_session__write_buildid_table() 385 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__write_buildid_table() 410 struct rb_node *nd; in dsos__hit_all() local 417 for (nd = rb_first_cached(&session->machines.guests); nd; in dsos__hit_all() 418 nd in dsos__hit_all() 454 struct str_node *nd, *nd2; build_id_cache__list_all() local 531 struct str_node *nd, *cand = NULL; build_id_cache__complement() local 965 struct rb_node *nd; machines__for_each_dso() local 1000 struct rb_node *nd; perf_session__read_build_ids() local [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | devices.c | 34 static int check_cpu_node(phandle nd, int *cur_inst, in check_cpu_node() argument 38 if (!compare(nd, *cur_inst, compare_arg)) { in check_cpu_node() 40 *prom_node = nd; in check_cpu_node() 42 *mid = prom_getintdefault(nd, cpu_mid_prop(), 0); in check_cpu_node() 74 static int cpu_instance_compare(phandle nd, int instance, void *_arg) in cpu_instance_compare() argument 89 static int cpu_mid_compare(phandle nd, int instance, void *_arg) in cpu_mid_compare() argument 94 this_mid = prom_getintdefault(nd, cpu_mid_prop(), 0); in cpu_mid_compare()
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | devices.c | 34 static int check_cpu_node(phandle nd, int *cur_inst, in check_cpu_node() argument 38 if (!compare(nd, *cur_inst, compare_arg)) { in check_cpu_node() 40 *prom_node = nd; in check_cpu_node() 42 *mid = prom_getintdefault(nd, cpu_mid_prop(), 0); in check_cpu_node() 74 static int cpu_instance_compare(phandle nd, int instance, void *_arg) in cpu_instance_compare() argument 89 static int cpu_mid_compare(phandle nd, int instance, void *_arg) in cpu_mid_compare() argument 94 this_mid = prom_getintdefault(nd, cpu_mid_prop(), 0); in cpu_mid_compare()
|
/kernel/linux/linux-5.10/tools/perf/ui/browsers/ |
H A D | hists.c | 53 static struct rb_node *hists__filter_entries(struct rb_node *nd, 63 struct rb_node *nd; in hist_browser__get_folding() local 67 for (nd = rb_first_cached(&hists->entries); in hist_browser__get_folding() 68 (nd = hists__filter_entries(nd, browser->min_pcnt)) != NULL; in hist_browser__get_folding() 69 nd = rb_hierarchy_next(nd)) { in hist_browser__get_folding() 71 rb_entry(nd, struct hist_entry, rb_node); in hist_browser__get_folding() 179 struct rb_node *nd; in callchain_node__count_rows_rb_tree() local 181 for (nd in callchain_node__count_rows_rb_tree() 261 struct rb_node *nd; callchain__count_rows() local 330 struct rb_node *nd = rb_first(&node->rb_root); callchain_node__init_have_children_rb_tree() local 369 struct rb_node *nd = rb_first(root); callchain__init_have_children() local 513 struct rb_node *nd; callchain_node__set_folding_rb_tree() local 553 struct rb_node *nd; callchain__set_folding() local 568 struct rb_node *nd; hierarchy_set_folding() local 604 struct rb_node *nd; __hist_browser__set_folding() local 1816 struct rb_node *nd; hist_browser__refresh() local 1865 hists__filter_entries(struct rb_node *nd, float min_pcnt) hists__filter_entries() argument 1888 hists__filter_prev_entries(struct rb_node *nd, float min_pcnt) hists__filter_prev_entries() argument 1908 struct rb_node *nd; ui_browser__hists_seek() local 2151 struct rb_node *nd = hists__filter_entries(rb_first(browser->b.entries), hist_browser__fprintf() local 2881 struct rb_node *nd = rb_first_cached(&hb->hists->entries); hist_browser__update_nr_entries() local 2901 struct rb_node *nd = rb_first_cached(&hb->hists->entries); hist_browser__update_percent_limit() local [all...] |
H A D | map.c | 25 static void map_browser__write(struct ui_browser *browser, void *nd, int row) in map_browser__write() argument 27 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); in map_browser__write() 116 struct rb_node *nd; in map__browse() local 120 for (nd = rb_first(mb.b.entries); nd; nd = rb_next(nd)) { in map__browse() 121 struct symbol *pos = rb_entry(nd, struct symbol, rb_node); in map__browse()
|
/kernel/linux/linux-6.6/tools/perf/ui/browsers/ |
H A D | hists.c | 53 static struct rb_node *hists__filter_entries(struct rb_node *nd, 63 struct rb_node *nd; in hist_browser__get_folding() local 67 for (nd = rb_first_cached(&hists->entries); in hist_browser__get_folding() 68 (nd = hists__filter_entries(nd, browser->min_pcnt)) != NULL; in hist_browser__get_folding() 69 nd = rb_hierarchy_next(nd)) { in hist_browser__get_folding() 71 rb_entry(nd, struct hist_entry, rb_node); in hist_browser__get_folding() 179 struct rb_node *nd; in callchain_node__count_rows_rb_tree() local 181 for (nd in callchain_node__count_rows_rb_tree() 261 struct rb_node *nd; callchain__count_rows() local 330 struct rb_node *nd = rb_first(&node->rb_root); callchain_node__init_have_children_rb_tree() local 369 struct rb_node *nd = rb_first(root); callchain__init_have_children() local 513 struct rb_node *nd; callchain_node__set_folding_rb_tree() local 553 struct rb_node *nd; callchain__set_folding() local 568 struct rb_node *nd; hierarchy_set_folding() local 604 struct rb_node *nd; __hist_browser__set_folding() local 1817 struct rb_node *nd; hist_browser__refresh() local 1866 hists__filter_entries(struct rb_node *nd, float min_pcnt) hists__filter_entries() argument 1889 hists__filter_prev_entries(struct rb_node *nd, float min_pcnt) hists__filter_prev_entries() argument 1909 struct rb_node *nd; ui_browser__hists_seek() local 2152 struct rb_node *nd = hists__filter_entries(rb_first(browser->b.entries), hist_browser__fprintf() local 2886 struct rb_node *nd = rb_first_cached(&hb->hists->entries); hist_browser__update_nr_entries() local 2906 struct rb_node *nd = rb_first_cached(&hb->hists->entries); hist_browser__update_percent_limit() local [all...] |
H A D | map.c | 25 static void map_browser__write(struct ui_browser *browser, void *nd, int row) in map_browser__write() argument 27 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); in map_browser__write() 116 struct rb_node *nd; in map__browse() local 120 for (nd = rb_first(mb.b.entries); nd; nd = rb_next(nd)) { in map__browse() 121 struct symbol *pos = rb_entry(nd, struct symbol, rb_node); in map__browse()
|
/kernel/linux/linux-5.10/tools/perf/ui/gtk/ |
H A D | hists.c | 100 struct rb_node *nd; in perf_gtk__add_callchain_flat() local 103 for (nd = rb_first(root); nd; nd = rb_next(nd)) { in perf_gtk__add_callchain_flat() 109 node = rb_entry(nd, struct callchain_node, rb_node); in perf_gtk__add_callchain_flat() 163 struct rb_node *nd; in perf_gtk__add_callchain_folded() local 165 for (nd = rb_first(root); nd; nd in perf_gtk__add_callchain_folded() 223 struct rb_node *nd; perf_gtk__add_callchain_graph() local 300 struct rb_node *nd; perf_gtk__show_hists() local [all...] |
/kernel/linux/linux-6.6/tools/perf/ui/gtk/ |
H A D | hists.c | 100 struct rb_node *nd; in perf_gtk__add_callchain_flat() local 103 for (nd = rb_first(root); nd; nd = rb_next(nd)) { in perf_gtk__add_callchain_flat() 109 node = rb_entry(nd, struct callchain_node, rb_node); in perf_gtk__add_callchain_flat() 163 struct rb_node *nd; in perf_gtk__add_callchain_folded() local 165 for (nd = rb_first(root); nd; nd in perf_gtk__add_callchain_folded() 223 struct rb_node *nd; perf_gtk__add_callchain_graph() local 300 struct rb_node *nd; perf_gtk__show_hists() local [all...] |