Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 244) sorted by relevance

12345678910

/include/linux/
Ddebugfs.h72 struct dentry *debugfs_lookup(const char *name, struct dentry *parent);
75 struct dentry *parent, void *data,
78 struct dentry *parent, void *data,
82 struct dentry *parent, void *data,
86 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
88 struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent,
92 struct dentry *parent,
99 void debugfs_lookup_and_remove(const char *name, struct dentry *parent);
116 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent,
118 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent,
[all …]
Dproc_fs.h98 struct proc_dir_entry *parent, const struct seq_operations *ops,
100 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument
101 proc_create_seq_private(name, mode, parent, ops, 0, data)
102 #define proc_create_seq(name, mode, parent, ops) \ argument
103 proc_create_seq_private(name, mode, parent, ops, 0, NULL)
105 struct proc_dir_entry *parent,
107 #define proc_create_single(name, mode, parent, show) \ argument
108 proc_create_single_data(name, mode, parent, show, NULL)
115 struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, c…
134 struct proc_dir_entry *parent, const struct seq_operations *ops,
[all …]
Drbtree.h59 static inline void rb_link_node(struct rb_node *node, struct rb_node *parent, in rb_link_node() argument
62 node->__rb_parent_color = (unsigned long)parent; in rb_link_node()
68 static inline void rb_link_node_rcu(struct rb_node *node, struct rb_node *parent, in rb_link_node_rcu() argument
71 node->__rb_parent_color = (unsigned long)parent; in rb_link_node_rcu()
169 struct rb_node *parent = NULL; in rb_add_cached() local
173 parent = *link; in rb_add_cached()
174 if (less(node, parent)) { in rb_add_cached()
175 link = &parent->rb_left; in rb_add_cached()
177 link = &parent->rb_right; in rb_add_cached()
182 rb_link_node(node, parent, link); in rb_add_cached()
[all …]
Drbtree_augmented.h69 struct rb_node *parent = NULL; in rb_add_augmented_cached() local
73 parent = *link; in rb_add_augmented_cached()
74 if (less(node, parent)) { in rb_add_augmented_cached()
75 link = &parent->rb_left; in rb_add_augmented_cached()
77 link = &parent->rb_right; in rb_add_augmented_cached()
82 rb_link_node(node, parent, link); in rb_add_augmented_cached()
83 augment->propagate(parent, NULL); /* suboptimal */ in rb_add_augmented_cached()
196 struct rb_node *parent, struct rb_root *root) in __rb_change_child() argument
198 if (parent) { in __rb_change_child()
199 if (parent->rb_left == old) in __rb_change_child()
[all …]
Dled-class-multicolor.h42 int led_classdev_multicolor_register_ext(struct device *parent,
60 int devm_led_classdev_multicolor_register_ext(struct device *parent,
64 void devm_led_classdev_multicolor_unregister(struct device *parent,
67 static inline int led_classdev_multicolor_register(struct device *parent, in led_classdev_multicolor_register() argument
70 return led_classdev_multicolor_register_ext(parent, mcled_cdev, NULL); in led_classdev_multicolor_register()
73 static inline int devm_led_classdev_multicolor_register(struct device *parent, in devm_led_classdev_multicolor_register() argument
76 return devm_led_classdev_multicolor_register_ext(parent, mcled_cdev, in devm_led_classdev_multicolor_register()
Dbpf_mprog.h116 for (fp = &entry->fp_items[0], cp = &entry->parent->cp_items[0];\
141 struct bpf_mprog_bundle *parent; member
161 if (entry == &entry->parent->a) in bpf_mprog_peer()
162 return &entry->parent->b; in bpf_mprog_peer()
164 return &entry->parent->a; in bpf_mprog_peer()
175 bundle->a.parent = bundle; in bpf_mprog_bundle_init()
176 bundle->b.parent = bundle; in bpf_mprog_bundle_init()
181 entry->parent->count++; in bpf_mprog_inc()
186 entry->parent->count--; in bpf_mprog_dec()
196 int total = entry->parent->count; in bpf_mprog_total()
[all …]
Dof_platform.h55 struct device *parent);
72 struct device *parent);
78 struct device *parent);
85 struct device *parent);
88 struct device *parent);
89 extern void of_platform_depopulate(struct device *parent);
98 struct device *parent) in of_platform_device_create() argument
110 struct device *parent) in of_platform_populate() argument
116 struct device *parent) in of_platform_default_populate() argument
120 static inline void of_platform_depopulate(struct device *parent) { } in of_platform_depopulate() argument
Dcomponent.h41 int component_bind_all(struct device *parent, void *data);
42 void component_unbind_all(struct device *parent, void *data);
98 void component_match_add_release(struct device *parent,
102 void component_match_add_typed(struct device *parent,
123 static inline void component_match_add(struct device *parent, in component_match_add() argument
127 component_match_add_release(parent, matchptr, NULL, compare, in component_match_add()
Dtracefs.h82 struct eventfs_inode *eventfs_create_events_dir(const char *name, struct dentry *parent,
86 struct eventfs_inode *eventfs_create_dir(const char *name, struct eventfs_inode *parent,
94 struct dentry *parent, void *data,
97 struct dentry *tracefs_create_dir(const char *name, struct dentry *parent);
101 struct dentry *tracefs_create_instance_dir(const char *name, struct dentry *parent,
Dof_graph.h36 #define for_each_endpoint_of_node(parent, child) \ argument
37 for (child = of_graph_get_next_endpoint(parent, NULL); child != NULL; \
38 child = of_graph_get_next_endpoint(parent, child))
46 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent,
49 const struct device_node *parent, int port_reg, int reg);
83 const struct device_node *parent, in of_graph_get_next_endpoint() argument
90 const struct device_node *parent, int port_reg, int reg) in of_graph_get_endpoint_by_regs() argument
Dled-class-flash.h97 int led_classdev_flash_register_ext(struct device *parent,
110 int devm_led_classdev_flash_register_ext(struct device *parent,
115 void devm_led_classdev_flash_unregister(struct device *parent,
118 static inline int led_classdev_flash_register(struct device *parent, in led_classdev_flash_register() argument
121 return led_classdev_flash_register_ext(parent, fled_cdev, NULL); in led_classdev_flash_register()
124 static inline int devm_led_classdev_flash_register(struct device *parent, in devm_led_classdev_flash_register() argument
127 return devm_led_classdev_flash_register_ext(parent, fled_cdev, NULL); in devm_led_classdev_flash_register()
Dunion_find.h15 struct uf_node *parent; member
20 #define UF_INIT_NODE(node) {.parent = &node, .rank = 0}
31 node->parent = node; in uf_node_init()
Duio_driver.h127 struct device *parent,
139 #define uio_register_device(parent, info) \ argument
140 __uio_register_device(THIS_MODULE, parent, info)
147 struct device *parent,
159 #define devm_uio_register_device(parent, info) \ argument
160 __devm_uio_register_device(THIS_MODULE, parent, info)
Dwwan.h102 struct wwan_port *wwan_create_port(struct device *parent,
192 int wwan_register_ops(struct device *parent, const struct wwan_ops *ops,
195 void wwan_unregister_ops(struct device *parent);
198 struct dentry *wwan_get_debugfs_dir(struct device *parent);
201 static inline struct dentry *wwan_get_debugfs_dir(struct device *parent) in wwan_get_debugfs_dir() argument
Dinterval_tree_generic.h43 ITSTRUCT *parent; \
48 parent = rb_entry(rb_parent, ITSTRUCT, ITRB); \
49 if (parent->ITSUBTREE < last) \
50 parent->ITSUBTREE = last; \
51 if (start < ITSTART(parent)) \
52 link = &parent->ITRB.rb_left; \
54 link = &parent->ITRB.rb_right; \
Dkernfs.h203 struct kernfs_node *parent; member
242 int (*mkdir)(struct kernfs_node *parent, const char *name,
415 struct kernfs_node *kernfs_find_and_get_ns(struct kernfs_node *parent,
417 struct kernfs_node *kernfs_walk_and_get_ns(struct kernfs_node *parent,
432 struct kernfs_node *kernfs_create_dir_ns(struct kernfs_node *parent,
436 struct kernfs_node *kernfs_create_empty_dir(struct kernfs_node *parent,
438 struct kernfs_node *__kernfs_create_file(struct kernfs_node *parent,
445 struct kernfs_node *kernfs_create_link(struct kernfs_node *parent,
454 int kernfs_remove_by_name_ns(struct kernfs_node *parent, const char *name,
502 kernfs_find_and_get_ns(struct kernfs_node *parent, const char *name, in kernfs_find_and_get_ns() argument
[all …]
Drbtree_latch.h82 struct rb_node *parent = NULL; in __lt_insert() local
86 parent = *link; in __lt_insert()
87 ltp = __lt_from_rb(parent, idx); in __lt_insert()
90 link = &parent->rb_left; in __lt_insert()
92 link = &parent->rb_right; in __lt_insert()
95 rb_link_node_rcu(node, parent, link); in __lt_insert()
/include/trace/events/
Dqdisc.h28 __field( u32, parent )
40 __entry->parent = qdisc->parent;
45 __entry->ifindex, __entry->handle, __entry->parent,
61 __field(u32, parent)
70 __entry->parent = qdisc->parent;
74 __entry->ifindex, __entry->handle, __entry->parent, __entry->skbaddr)
86 __field( u32, parent )
93 __entry->parent = q->parent;
98 __get_str(kind), TC_H_MAJ(__entry->parent) >> 16, TC_H_MIN(__entry->parent),
111 __field( u32, parent )
[all …]
Dtimer_migration.h42 __field( void *, parent )
51 __entry->parent = child->parent;
52 __entry->lvl = child->parent->level;
53 __entry->numa_node = child->parent->numa_node;
54 __entry->num_children = child->parent->num_children;
59 __entry->child, __entry->groupmask, __entry->parent,
70 __field( void *, parent )
79 __entry->parent = tmc->tmgroup;
88 __entry->cpu, __entry->groupmask, __entry->parent,
100 __field( void *, parent )
[all …]
Dobjagg.h134 const struct objagg_obj *parent,
137 TP_ARGS(objagg, obj, parent, parent_refcount),
142 __field(const void *, parent)
149 __entry->parent = parent;
155 __entry->parent, __entry->parent_refcount)
161 const struct objagg_obj *parent,
164 TP_ARGS(objagg, obj, parent, parent_refcount),
169 __field(const void *, parent)
176 __entry->parent = parent;
182 __entry->parent, __entry->parent_refcount)
/include/drm/bridge/
Daux-bridge.h15 int drm_aux_bridge_register(struct device *parent);
17 static inline int drm_aux_bridge_register(struct device *parent) in drm_aux_bridge_register() argument
24 struct auxiliary_device *devm_drm_dp_hpd_bridge_alloc(struct device *parent, struct device_node *np…
26 struct device *drm_dp_hpd_bridge_register(struct device *parent,
30 static inline struct auxiliary_device *devm_drm_dp_hpd_bridge_alloc(struct device *parent, in devm_drm_dp_hpd_bridge_alloc() argument
41 static inline struct device *drm_dp_hpd_bridge_register(struct device *parent, in drm_dp_hpd_bridge_register() argument
/include/linux/fpga/
Dfpga-region.h63 #define fpga_region_register_full(parent, info) \ argument
64 __fpga_region_register_full(parent, info, THIS_MODULE)
66 __fpga_region_register_full(struct device *parent, const struct fpga_region_info *info,
69 #define fpga_region_register(parent, mgr, get_bridges) \ argument
70 __fpga_region_register(parent, mgr, get_bridges, THIS_MODULE)
72 __fpga_region_register(struct device *parent, struct fpga_manager *mgr,
Dfpga-mgr.h235 #define fpga_mgr_register_full(parent, info) \ argument
236 __fpga_mgr_register_full(parent, info, THIS_MODULE)
238 __fpga_mgr_register_full(struct device *parent, const struct fpga_manager_info *info,
241 #define fpga_mgr_register(parent, name, mops, priv) \ argument
242 __fpga_mgr_register(parent, name, mops, priv, THIS_MODULE)
244 __fpga_mgr_register(struct device *parent, const char *name,
249 #define devm_fpga_mgr_register_full(parent, info) \ argument
250 __devm_fpga_mgr_register_full(parent, info, THIS_MODULE)
252 __devm_fpga_mgr_register_full(struct device *parent, const struct fpga_manager_info *info,
254 #define devm_fpga_mgr_register(parent, name, mops, priv) \ argument
[all …]
/include/linux/platform_data/x86/
Dintel_scu_ipc.h21 __intel_scu_ipc_register(struct device *parent,
25 #define intel_scu_ipc_register(parent, scu_data) \ argument
26 __intel_scu_ipc_register(parent, scu_data, THIS_MODULE)
31 __devm_intel_scu_ipc_register(struct device *parent,
35 #define devm_intel_scu_ipc_register(parent, scu_data) \ argument
36 __devm_intel_scu_ipc_register(parent, scu_data, THIS_MODULE)
/include/linux/rpmsg/
Dqcom_smd.h12 struct qcom_smd_edge *qcom_smd_register_edge(struct device *parent,
19 qcom_smd_register_edge(struct device *parent, in qcom_smd_register_edge() argument

12345678910