Searched refs:parent (Results 1 - 25 of 4944) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/nouveau/include/nvif/
H A Dparent.h15 nvif_parent_dtor(struct nvif_parent *parent) argument
17 parent->func = NULL;
21 nvif_parent_ctor(const struct nvif_parent_func *func, struct nvif_parent *parent) argument
23 parent->func = func;
/linux-master/drivers/edac/
H A Ddebugfs.c57 struct dentry *parent; local
61 parent = debugfs_create_dir(mci->dev.kobj.name, edac_debugfs);
66 debugfs_create_u8(name, S_IRUGO | S_IWUSR, parent,
70 debugfs_create_bool("fake_inject_ue", S_IRUGO | S_IWUSR, parent,
73 debugfs_create_u16("fake_inject_count", S_IRUGO | S_IWUSR, parent,
76 debugfs_create_file("fake_inject", S_IWUSR, parent, &mci->dev,
79 mci->debugfs = parent;
92 /* Create a toplevel dir under EDAC's debugfs hierarchy with parent @parent */
94 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent) argument
110 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops) argument
121 edac_debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, u8 *value) argument
132 edac_debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent, u16 *value) argument
143 edac_debugfs_create_x32(const char *name, umode_t mode, struct dentry *parent, u32 *value) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dpci.c11 struct pci_dev *parent = pdev->bus->self; local
16 if (parent) {
17 pcie_capability_read_word(parent, PCI_EXP_LNKCTL,
22 if (!aspm_conf && (!parent || !parent_aspm_conf)) {
39 /* both device and parent should have the same ASPM setting.
43 if (parent)
44 pcie_capability_clear_word(parent, PCI_EXP_LNKCTL,
/linux-master/lib/
H A Drbtree.c55 * are left undone as of now. Nor did I check for loops involving parent
71 * - old's parent and color get assigned to new
72 * - old gets assigned new as a parent and 'color' as a color.
78 struct rb_node *parent = rb_parent(old); local
81 __rb_change_child(old, new, parent, root);
88 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; local
94 if (unlikely(!parent)) {
105 * If there is a black parent, we are done.
110 if(rb_is_black(parent))
113 gparent = rb_red_parent(parent);
227 ____rb_erase_color(struct rb_node *parent, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) argument
410 __rb_erase_color(struct rb_node *parent, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) argument
494 struct rb_node *parent; local
526 struct rb_node *parent; local
556 struct rb_node *parent = rb_parent(victim); local
573 struct rb_node *parent = rb_parent(victim); local
606 const struct rb_node *parent; local
[all...]
/linux-master/tools/lib/
H A Drbtree.c55 * are left undone as of now. Nor did I check for loops involving parent
71 * - old's parent and color get assigned to new
72 * - old gets assigned new as a parent and 'color' as a color.
78 struct rb_node *parent = rb_parent(old); local
81 __rb_change_child(old, new, parent, root);
88 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; local
94 if (unlikely(!parent)) {
105 * If there is a black parent, we are done.
110 if(rb_is_black(parent))
113 gparent = rb_red_parent(parent);
227 ____rb_erase_color(struct rb_node *parent, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) argument
410 __rb_erase_color(struct rb_node *parent, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) argument
488 struct rb_node *parent; local
519 struct rb_node *parent; local
548 struct rb_node *parent = rb_parent(victim); local
575 const struct rb_node *parent; local
[all...]
/linux-master/drivers/soc/rockchip/
H A Ddtpm.c19 .parent = &rk3399_hierarchy[0] },
22 .parent = &rk3399_hierarchy[1] },
25 .parent = &rk3399_hierarchy[1] },
28 .parent = &rk3399_hierarchy[1] },
31 .parent = &rk3399_hierarchy[1] },
34 .parent = &rk3399_hierarchy[1] },
37 .parent = &rk3399_hierarchy[1] },
40 .parent = &rk3399_hierarchy[1] },
/linux-master/tools/perf/Documentation/
H A Dasciidoctor-extensions.rb11 def process(parent, target, attrs)
12 if parent.document.basebackend? 'html'
14 elsif parent.document.basebackend? 'manpage'
16 elsif parent.document.basebackend? 'docbook'
/linux-master/include/linux/platform_data/
H A Di2c-mux-gpio.h16 * @parent: Parent I2C bus adapter number
25 int parent; member in struct:i2c_mux_gpio_platform_data
H A Dtda9950.h7 struct device *parent; member in struct:tda9950_glue
/linux-master/arch/mips/include/asm/
H A Dirq_cpu.h17 struct device_node *parent);
/linux-master/arch/powerpc/sysdev/
H A Dmpc5xxx_clocks.c18 struct fwnode_handle *parent; local
26 fwnode_for_each_parent_node(fwnode, parent) {
27 ret = fwnode_property_read_u32(parent, "bus-frequency", &bus_freq);
29 fwnode_handle_put(parent);
/linux-master/drivers/gpu/drm/xe/
H A Dxe_guc_debugfs.h12 void xe_guc_debugfs_register(struct xe_guc *guc, struct dentry *parent);
H A Dxe_huc_debugfs.h12 void xe_huc_debugfs_register(struct xe_huc *huc, struct dentry *parent);
H A Dxe_uc_debugfs.h12 void xe_uc_debugfs_register(struct xe_uc *uc, struct dentry *parent);
/linux-master/drivers/md/dm-vdo/
H A Drepair.h12 void vdo_repair(struct vdo_completion *parent);
/linux-master/security/landlock/
H A Dtask.c26 * @parent: Parent domain.
27 * @child: Potential child of @parent.
29 * Checks if the @parent domain is less or equal to (i.e. an ancestor, which
32 static bool domain_scope_le(const struct landlock_ruleset *const parent, argument
37 if (!parent)
41 for (walker = child->hierarchy; walker; walker = walker->parent) {
42 if (walker == parent->hierarchy)
43 /* @parent is in the scoped hierarchy of @child. */
46 /* There is no relationship between @parent and @child. */
50 static bool task_is_scoped(const struct task_struct *const parent, argument
64 task_ptrace(const struct task_struct *const parent, const struct task_struct *const child) argument
106 hook_ptrace_traceme(struct task_struct *const parent) argument
[all...]
/linux-master/include/linux/
H A Dled-class-multicolor.h36 * @parent: the multicolor LED to register
42 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, argument
70 return led_classdev_multicolor_register_ext(parent, mcled_cdev, NULL);
73 static inline int devm_led_classdev_multicolor_register(struct device *parent, argument
76 return devm_led_classdev_multicolor_register_ext(parent, mcled_cdev,
/linux-master/fs/sysfs/
H A Ddir.c21 void sysfs_warn_dup(struct kernfs_node *parent, const char *name) argument
27 kernfs_path(parent, buf, PATH_MAX);
42 struct kernfs_node *parent, *kn; local
49 if (kobj->parent)
50 parent = kobj->parent->sd;
52 parent = sysfs_root_kn;
54 if (!parent)
59 kn = kernfs_create_dir_ns(parent, kobject_name(kobj), 0755, uid, gid,
63 sysfs_warn_dup(parent, kobject_nam
108 struct kernfs_node *parent; local
136 struct kernfs_node *kn, *parent = parent_kobj->sd; local
157 struct kernfs_node *parent = parent_kobj->sd; local
[all...]
H A Dsymlink.c20 static int sysfs_do_create_link_sd(struct kernfs_node *parent, argument
26 if (WARN_ON(!name || !parent))
44 kn = kernfs_create_link(parent, name, target);
51 sysfs_warn_dup(parent, name);
70 struct kernfs_node *parent = NULL; local
73 parent = sysfs_root_kn;
75 parent = kobj->sd;
77 if (!parent)
80 return sysfs_do_create_link_sd(parent, target, name, warn);
145 struct kernfs_node *parent local
169 struct kernfs_node *parent, *kn = NULL; local
[all...]
/linux-master/drivers/pci/hotplug/
H A Dpciehp_pci.c36 struct pci_bus *parent = bridge->subordinate; local
41 dev = pci_get_slot(parent, PCI_DEVFN(0, 0));
48 pci_name(dev), pci_domain_nr(parent), parent->number);
54 num = pci_scan_slot(parent, PCI_DEVFN(0, 0));
61 for_each_pci_bridge(dev, parent)
65 pcie_bus_configure_settings(parent);
72 pci_bus_add_devices(parent);
94 struct pci_bus *parent = ctrl->pcie->port->subordinate; local
98 __func__, pci_domain_nr(parent), paren
[all...]
/linux-master/drivers/vfio/mdev/
H A Dmdev_core.c26 /* Caller must hold parent unreg_sem read or write lock */
29 struct mdev_parent *parent = mdev->type->parent; local
33 lockdep_assert_held(&parent->unreg_sem);
46 * mdev_register_parent: Register a device as parent for mdevs
47 * @parent: parent structure registered
48 * @dev: device structure representing parent device.
53 * Registers the @parent stucture as a parent fo
59 mdev_register_parent(struct mdev_parent *parent, struct device *dev, struct mdev_driver *mdev_driver, struct mdev_type **types, unsigned int nr_types) argument
93 mdev_unregister_parent(struct mdev_parent *parent) argument
113 struct mdev_parent *parent = mdev->type->parent; local
132 struct mdev_parent *parent = type->parent; local
216 struct mdev_parent *parent = mdev->type->parent; local
[all...]
/linux-master/drivers/i2c/
H A Di2c-mux.c44 struct i2c_adapter *parent = muxc->parent; local
51 ret = __i2c_transfer(parent, msgs, num);
63 struct i2c_adapter *parent = muxc->parent; local
70 ret = i2c_transfer(parent, msgs, num);
84 struct i2c_adapter *parent = muxc->parent; local
91 ret = __i2c_smbus_xfer(parent, addr, flags,
106 struct i2c_adapter *parent local
125 struct i2c_adapter *parent = priv->muxc->parent; local
131 i2c_mux_parent_classes(struct i2c_adapter *parent) argument
146 struct i2c_adapter *parent = priv->muxc->parent; local
157 struct i2c_adapter *parent = priv->muxc->parent; local
172 struct i2c_adapter *parent = priv->muxc->parent; local
183 struct i2c_adapter *parent = priv->muxc->parent; local
193 struct i2c_adapter *parent = priv->muxc->parent; local
207 struct i2c_adapter *parent = priv->muxc->parent; local
239 i2c_mux_alloc(struct i2c_adapter *parent, struct device *dev, int max_adapters, int sizeof_priv, u32 flags, int (*select)(struct i2c_mux_core *, u32), int (*deselect)(struct i2c_mux_core *, u32)) argument
287 struct i2c_adapter *parent = muxc->parent; local
[all...]
/linux-master/include/drm/bridge/
H A Daux-bridge.h15 int drm_aux_bridge_register(struct device *parent);
17 static inline int drm_aux_bridge_register(struct device *parent) 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, argument
41 static inline struct device *drm_dp_hpd_bridge_register(struct device *parent, argument
/linux-master/tools/perf/tests/workloads/
H A Dleafloop.c8 noinline void parent(volatile int b);
18 noinline void parent(volatile int b) function
30 parent(c);
/linux-master/kernel/
H A Daudit_watch.c28 * event. Each audit_watch holds a reference to its associated parent.
41 struct audit_parent *parent; /* associated parent */ member in struct:audit_watch
42 struct list_head wlist; /* entry in parent->watches list */
58 static void audit_free_parent(struct audit_parent *parent) argument
60 WARN_ON(!list_empty(&parent->watches));
61 kfree(parent);
66 struct audit_parent *parent; local
68 parent = container_of(entry, struct audit_parent, mark);
69 audit_free_parent(parent);
72 audit_get_parent(struct audit_parent *parent) argument
78 audit_put_parent(struct audit_parent *parent) argument
90 struct audit_parent *parent = NULL; local
139 struct audit_parent *parent; local
245 audit_update_watch(struct audit_parent *parent, const struct qstr *dname, dev_t dev, unsigned long ino, unsigned invalidating) argument
322 audit_remove_parent_watches(struct audit_parent *parent) argument
348 audit_get_nd(struct audit_watch *watch, struct path *parent) argument
365 audit_add_to_parent(struct audit_krule *krule, struct audit_parent *parent) argument
403 struct audit_parent *parent; local
450 struct audit_parent *parent = watch->parent; local
472 struct audit_parent *parent; local
[all...]

Completed in 322 milliseconds

1234567891011>>