/third_party/eudev/src/udev/ |
H A D | udev-builtin-path_id.c | 78 struct udev_device *parent = dev; in skip_subsystem() local 80 while (parent != NULL) { in skip_subsystem() 83 subsystem = udev_device_get_subsystem(parent); in skip_subsystem() 86 dev = parent; in skip_subsystem() 87 parent = udev_device_get_parent(parent); in skip_subsystem() 92 static struct udev_device *handle_scsi_fibre_channel(struct udev_device *parent, char **path) { in handle_scsi_fibre_channel() argument 93 struct udev *udev = udev_device_get_udev(parent); in handle_scsi_fibre_channel() 99 targetdev = udev_device_get_parent_with_subsystem_devtype(parent, "scsi", "scsi_target"); in handle_scsi_fibre_channel() 108 parent in handle_scsi_fibre_channel() 121 handle_scsi_sas_wide_port(struct udev_device *parent, char **path) handle_scsi_sas_wide_port() argument 157 handle_scsi_sas(struct udev_device *parent, char **path) handle_scsi_sas() argument 251 handle_scsi_iscsi(struct udev_device *parent, char **path) handle_scsi_iscsi() argument 309 handle_scsi_default(struct udev_device *parent, char **path) handle_scsi_default() argument 393 handle_scsi_hyperv(struct udev_device *parent, char **path) handle_scsi_hyperv() argument 429 handle_scsi(struct udev_device *parent, char **path, bool *supported_parent) handle_scsi() argument 494 handle_cciss(struct udev_device *parent, char **path) handle_cciss() argument 521 handle_usb(struct udev_device *parent, char **path) handle_usb() argument 543 handle_bcma(struct udev_device *parent, char **path) handle_bcma() argument 555 handle_ccw(struct udev_device *parent, struct udev_device *dev, char **path) handle_ccw() argument 580 struct udev_device *parent; builtin_path_id() local [all...] |
/third_party/ltp/testcases/kernel/fs/fs_bind/rbind/ |
H A D | fs_bind_rbind35.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir private parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent/child1 20 EXPECT_PASS mount --rbind parent parent/child2/ 21 fs_bind_check parent parent/child2/ 22 fs_bind_check parent/child1 parent/child [all...] |
H A D | fs_bind_rbind34.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir rshared parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent/child1 20 EXPECT_PASS mount --rbind parent parent/child2/ 21 fs_bind_check parent parent/child2/ 22 fs_bind_check parent/child1 parent/child [all...] |
H A D | fs_bind_rbind36.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir runbindable parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent/child1 20 EXPECT_PASS mount --rbind parent parent/child2/ 21 fs_bind_check parent parent/child2/ 22 fs_bind_check -n parent/child1 parent/child [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | rbtree.c | 55 * 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); in __rb_rotate_set_parents() local 81 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents() 88 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local 94 if (unlikely(!parent)) { in __rb_insert() 105 * If there is a black parent, we are done. in __rb_insert() 110 if(rb_is_black(parent)) in __rb_insert() 113 gparent = rb_red_parent(parent); in __rb_insert() 227 ____rb_erase_color(struct rb_node *parent, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) ____rb_erase_color() argument 410 __rb_erase_color(struct rb_node *parent, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) __rb_erase_color() argument 494 struct rb_node *parent; rb_next() local 526 struct rb_node *parent; rb_prev() local 556 struct rb_node *parent = rb_parent(victim); rb_replace_node() local 573 struct rb_node *parent = rb_parent(victim); rb_replace_node_rcu() local 606 const struct rb_node *parent; rb_next_postorder() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | rbtree.c | 55 * 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); in __rb_rotate_set_parents() local 81 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents() 88 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local 94 if (unlikely(!parent)) { in __rb_insert() 105 * If there is a black parent, we are done. in __rb_insert() 110 if(rb_is_black(parent)) in __rb_insert() 113 gparent = rb_red_parent(parent); in __rb_insert() 227 ____rb_erase_color(struct rb_node *parent, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) ____rb_erase_color() argument 410 __rb_erase_color(struct rb_node *parent, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) __rb_erase_color() argument 494 struct rb_node *parent; rb_next() local 526 struct rb_node *parent; rb_prev() local 556 struct rb_node *parent = rb_parent(victim); rb_replace_node() local 573 struct rb_node *parent = rb_parent(victim); rb_replace_node_rcu() local 606 const struct rb_node *parent; rb_next_postorder() local [all...] |
/kernel/linux/linux-5.10/tools/lib/ |
H A D | rbtree.c | 55 * 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); in __rb_rotate_set_parents() local 81 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents() 88 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local 94 if (unlikely(!parent)) { in __rb_insert() 105 * If there is a black parent, we are done. in __rb_insert() 110 if(rb_is_black(parent)) in __rb_insert() 113 gparent = rb_red_parent(parent); in __rb_insert() 227 ____rb_erase_color(struct rb_node *parent, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) ____rb_erase_color() argument 410 __rb_erase_color(struct rb_node *parent, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) __rb_erase_color() argument 488 struct rb_node *parent; rb_next() local 519 struct rb_node *parent; rb_prev() local 548 struct rb_node *parent = rb_parent(victim); rb_replace_node() local 575 const struct rb_node *parent; rb_next_postorder() local [all...] |
/kernel/linux/linux-6.6/tools/lib/ |
H A D | rbtree.c | 55 * 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); in __rb_rotate_set_parents() local 81 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents() 88 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local 94 if (unlikely(!parent)) { in __rb_insert() 105 * If there is a black parent, we are done. in __rb_insert() 110 if(rb_is_black(parent)) in __rb_insert() 113 gparent = rb_red_parent(parent); in __rb_insert() 227 ____rb_erase_color(struct rb_node *parent, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) ____rb_erase_color() argument 410 __rb_erase_color(struct rb_node *parent, struct rb_root *root, void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) __rb_erase_color() argument 488 struct rb_node *parent; rb_next() local 519 struct rb_node *parent; rb_prev() local 548 struct rb_node *parent = rb_parent(victim); rb_replace_node() local 575 const struct rb_node *parent; rb_next_postorder() local [all...] |
/kernel/linux/linux-5.10/drivers/vfio/mdev/ |
H A D | mdev_core.c | 32 return mdev->parent->dev; in mdev_parent_dev() 69 struct mdev_parent *parent; in __find_parent_device() local 71 list_for_each_entry(parent, &parent_list, next) { in __find_parent_device() 72 if (parent->dev == dev) in __find_parent_device() 73 return parent; in __find_parent_device() 80 struct mdev_parent *parent = container_of(kref, struct mdev_parent, in mdev_release_parent() local 82 struct device *dev = parent->dev; in mdev_release_parent() 84 kfree(parent); in mdev_release_parent() 88 static struct mdev_parent *mdev_get_parent(struct mdev_parent *parent) in mdev_get_parent() argument 90 if (parent) in mdev_get_parent() 96 mdev_put_parent(struct mdev_parent *parent) mdev_put_parent() argument 105 struct mdev_parent *parent; mdev_device_remove_common() local 145 struct mdev_parent *parent; mdev_register_device() local 223 struct mdev_parent *parent; mdev_unregister_device() local 277 struct mdev_parent *parent; mdev_device_create() local 356 struct mdev_parent *parent; mdev_device_remove() local [all...] |
/third_party/ltp/testcases/kernel/fs/fs_bind/cloneNS/ |
H A D | fs_bind_cloneNS05.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir rshared parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" parent/child1 19 EXPECT_PASS mount --rbind parent parent/child2 23 EXPECT_PASS mount --bind "$FS_BIND_DISK2" parent/child1/a 24 fs_bind_check parent/child1/a parent/child2/child1/a 26 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent/child [all...] |
/third_party/ltp/testcases/kernel/fs/fs_bind/bind/ |
H A D | fs_bind22.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir rshared parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --bind parent parent/child2/ 19 fs_bind_check parent parent/child2/ 21 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent/child2/child1 22 fs_bind_check parent/child1 parent/child [all...] |
/third_party/libuv/src/ |
H A D | heap-inl.h | 31 struct heap_node* parent; member 72 /* Swap parent with child. Child moves closer to the root, parent moves away. */ 74 struct heap_node* parent, in heap_node_swap() 79 t = *parent; in heap_node_swap() 80 *parent = *child; in heap_node_swap() 83 parent->parent = child; in heap_node_swap() 85 child->left = parent; in heap_node_swap() 88 child->right = parent; in heap_node_swap() 73 heap_node_swap(struct heap* heap, struct heap_node* parent, struct heap_node* child) heap_node_swap() argument 110 struct heap_node** parent; HEAP_EXPORT() local [all...] |
/third_party/node/deps/uv/src/ |
H A D | heap-inl.h | 30 struct heap_node* parent; member 71 /* Swap parent with child. Child moves closer to the root, parent moves away. */ 73 struct heap_node* parent, in heap_node_swap() 78 t = *parent; in heap_node_swap() 79 *parent = *child; in heap_node_swap() 82 parent->parent = child; in heap_node_swap() 84 child->left = parent; in heap_node_swap() 87 child->right = parent; in heap_node_swap() 72 heap_node_swap(struct heap* heap, struct heap_node* parent, struct heap_node* child) heap_node_swap() argument 109 struct heap_node** parent; HEAP_EXPORT() local [all...] |
/kernel/linux/linux-6.6/drivers/vfio/mdev/ |
H A D | mdev_core.c | 26 /* Caller must hold parent unreg_sem read or write lock */ 29 struct mdev_parent *parent = mdev->type->parent; in mdev_device_remove_common() local 33 lockdep_assert_held(&parent->unreg_sem); in mdev_device_remove_common() 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) mdev_register_parent() argument 93 mdev_unregister_parent(struct mdev_parent *parent) mdev_unregister_parent() argument 113 struct mdev_parent *parent = mdev->type->parent; mdev_device_release() local 132 struct mdev_parent *parent = type->parent; mdev_device_create() local 216 struct mdev_parent *parent = mdev->type->parent; mdev_device_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk-gate_test.c | 31 struct clk_hw *parent; in clk_gate_register_test_parent_names() local 34 parent = clk_hw_register_fixed_rate(NULL, "test_parent", NULL, 0, in clk_gate_register_test_parent_names() 36 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_gate_register_test_parent_names() 41 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret)); in clk_gate_register_test_parent_names() 44 clk_hw_unregister_fixed_rate(parent); in clk_gate_register_test_parent_names() 49 struct clk_hw *parent; in clk_gate_register_test_parent_data() local 53 parent = clk_hw_register_fixed_rate(NULL, "test_parent", NULL, 0, in clk_gate_register_test_parent_data() 55 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent); in clk_gate_register_test_parent_data() 56 pdata.hw = parent; in clk_gate_register_test_parent_data() 61 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_paren in clk_gate_register_test_parent_data() 69 struct clk_hw *parent; clk_gate_register_test_parent_data_legacy() local 89 struct clk_hw *parent; clk_gate_register_test_parent_hw() local 133 struct clk_hw *parent; global() member 151 struct clk_hw *parent = ctx->parent; clk_gate_test_parent_rate() local 162 struct clk_hw *parent = ctx->parent; clk_gate_test_enable() local 179 struct clk_hw *parent = ctx->parent; clk_gate_test_disable() local 205 struct clk_hw *parent; clk_gate_test_init() local 242 struct clk_hw *parent = ctx->parent; clk_gate_test_invert_enable() local 259 struct clk_hw *parent = ctx->parent; clk_gate_test_invert_disable() local 284 struct clk_hw *parent; clk_gate_test_invert_init() local 315 struct clk_hw *parent = ctx->parent; clk_gate_test_hiword_enable() local 332 struct clk_hw *parent = ctx->parent; clk_gate_test_hiword_disable() local 357 struct clk_hw *parent; clk_gate_test_hiword_init() local [all...] |
/kernel/linux/linux-5.10/drivers/i2c/ |
H A D | i2c-mux.c | 44 struct i2c_adapter *parent = muxc->parent; in __i2c_mux_master_xfer() local 51 ret = __i2c_transfer(parent, msgs, num); in __i2c_mux_master_xfer() 63 struct i2c_adapter *parent = muxc->parent; in i2c_mux_master_xfer() local 70 ret = i2c_transfer(parent, msgs, num); in i2c_mux_master_xfer() 84 struct i2c_adapter *parent = muxc->parent; in __i2c_mux_smbus_xfer() local 91 ret = __i2c_smbus_xfer(parent, addr, flags, in __i2c_mux_smbus_xfer() 106 struct i2c_adapter *parent in i2c_mux_smbus_xfer() local 125 struct i2c_adapter *parent = priv->muxc->parent; i2c_mux_functionality() local 131 i2c_mux_parent_classes(struct i2c_adapter *parent) i2c_mux_parent_classes() argument 146 struct i2c_adapter *parent = priv->muxc->parent; i2c_mux_lock_bus() local 157 struct i2c_adapter *parent = priv->muxc->parent; i2c_mux_trylock_bus() local 172 struct i2c_adapter *parent = priv->muxc->parent; i2c_mux_unlock_bus() local 183 struct i2c_adapter *parent = priv->muxc->parent; i2c_parent_lock_bus() local 193 struct i2c_adapter *parent = priv->muxc->parent; i2c_parent_trylock_bus() local 207 struct i2c_adapter *parent = priv->muxc->parent; i2c_parent_unlock_bus() 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)) i2c_mux_alloc() argument 286 struct i2c_adapter *parent = muxc->parent; i2c_mux_add_adapter() local [all...] |
/kernel/linux/linux-6.6/drivers/i2c/ |
H A D | i2c-mux.c | 44 struct i2c_adapter *parent = muxc->parent; in __i2c_mux_master_xfer() local 51 ret = __i2c_transfer(parent, msgs, num); in __i2c_mux_master_xfer() 63 struct i2c_adapter *parent = muxc->parent; in i2c_mux_master_xfer() local 70 ret = i2c_transfer(parent, msgs, num); in i2c_mux_master_xfer() 84 struct i2c_adapter *parent = muxc->parent; in __i2c_mux_smbus_xfer() local 91 ret = __i2c_smbus_xfer(parent, addr, flags, in __i2c_mux_smbus_xfer() 106 struct i2c_adapter *parent in i2c_mux_smbus_xfer() local 125 struct i2c_adapter *parent = priv->muxc->parent; i2c_mux_functionality() local 131 i2c_mux_parent_classes(struct i2c_adapter *parent) i2c_mux_parent_classes() argument 146 struct i2c_adapter *parent = priv->muxc->parent; i2c_mux_lock_bus() local 157 struct i2c_adapter *parent = priv->muxc->parent; i2c_mux_trylock_bus() local 172 struct i2c_adapter *parent = priv->muxc->parent; i2c_mux_unlock_bus() local 183 struct i2c_adapter *parent = priv->muxc->parent; i2c_parent_lock_bus() local 193 struct i2c_adapter *parent = priv->muxc->parent; i2c_parent_trylock_bus() local 207 struct i2c_adapter *parent = priv->muxc->parent; i2c_parent_unlock_bus() 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)) i2c_mux_alloc() argument 287 struct i2c_adapter *parent = muxc->parent; i2c_mux_add_adapter() local [all...] |
/foundation/resourceschedule/ffrt/src/tm/ |
H A D | scpu_task.cpp | 39 SCPUEUTask::SCPUEUTask(const task_attr_private *attr, CPUEUTask *parent, const uint64_t &id, in SCPUEUTask() argument 41 : CPUEUTask(attr, parent, id, qos) in SCPUEUTask() 57 SCPUEUTask* parent = reinterpret_cast<SCPUEUTask*>(this->parent); in DecChildRef() local 58 FFRT_LOGD("DecChildRef parent task:%s, childRefCnt=%u, task[%lu], name[%s]", in DecChildRef() 59 parent->label.c_str(), parent->childRefCnt.load(), gid, label.c_str()); in DecChildRef() 61 std::unique_lock<decltype(parent->mutex_)> lck(parent->mutex_); in DecChildRef() 62 parent in DecChildRef() [all...] |
/foundation/arkui/ui_lite/frameworks/dock/ |
H A D | pointer_input_device.cpp | 86 UIView* parent = touchableView_->GetParent(); in DispatchPressEvent() local 88 while (parent != nullptr) { in DispatchPressEvent() 90 if (parent->OnPressEvent(evtParent)) { in DispatchPressEvent() 93 parent = parent->GetParent(); in DispatchPressEvent() 105 UIView* parent = touchableView_->GetParent(); in ProcessReleaseEvent() local 110 while (parent != nullptr) { in ProcessReleaseEvent() 112 if (parent->OnPressEvent(evtPressParent)) { in ProcessReleaseEvent() 115 parent = parent in ProcessReleaseEvent() 199 UIView* parent = draggableView_->GetParent(); DispatchDragStartEvent() local 222 UIView* parent = draggableView_->GetParent(); DispatchDragEvent() local 243 UIView* parent = draggableView_->GetParent(); DispatchDragEndEvent() local 272 UIView* parent = touchableView_->GetParent(); DispatchLongPressEvent() local 298 UIView* parent = touchableView_->GetParent(); DispatchCancelEvent() local [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | audit_watch.c | 28 * event. Each audit_watch holds a reference to its associated parent. 41 struct audit_parent *parent; /* associated parent */ member 42 struct list_head wlist; /* entry in parent->watches list */ 58 static void audit_free_parent(struct audit_parent *parent) in audit_free_parent() argument 60 WARN_ON(!list_empty(&parent->watches)); in audit_free_parent() 61 kfree(parent); in audit_free_parent() 66 struct audit_parent *parent; in audit_watch_free_mark() local 68 parent = container_of(entry, struct audit_parent, mark); in audit_watch_free_mark() 69 audit_free_parent(parent); in audit_watch_free_mark() 72 audit_get_parent(struct audit_parent *parent) audit_get_parent() argument 78 audit_put_parent(struct audit_parent *parent) audit_put_parent() argument 90 struct audit_parent *parent = NULL; audit_find_parent() local 139 struct audit_parent *parent; audit_init_parent() local 244 audit_update_watch(struct audit_parent *parent, const struct qstr *dname, dev_t dev, unsigned long ino, unsigned invalidating) audit_update_watch() argument 321 audit_remove_parent_watches(struct audit_parent *parent) audit_remove_parent_watches() argument 347 audit_get_nd(struct audit_watch *watch, struct path *parent) audit_get_nd() argument 364 audit_add_to_parent(struct audit_krule *krule, struct audit_parent *parent) audit_add_to_parent() argument 402 struct audit_parent *parent; audit_add_watch() local 449 struct audit_parent *parent = watch->parent; audit_remove_watch_rule() local 471 struct audit_parent *parent; audit_watch_handle_event() local [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | audit_watch.c | 28 * event. Each audit_watch holds a reference to its associated parent. 41 struct audit_parent *parent; /* associated parent */ member 42 struct list_head wlist; /* entry in parent->watches list */ 58 static void audit_free_parent(struct audit_parent *parent) in audit_free_parent() argument 60 WARN_ON(!list_empty(&parent->watches)); in audit_free_parent() 61 kfree(parent); in audit_free_parent() 66 struct audit_parent *parent; in audit_watch_free_mark() local 68 parent = container_of(entry, struct audit_parent, mark); in audit_watch_free_mark() 69 audit_free_parent(parent); in audit_watch_free_mark() 72 audit_get_parent(struct audit_parent *parent) audit_get_parent() argument 78 audit_put_parent(struct audit_parent *parent) audit_put_parent() argument 90 struct audit_parent *parent = NULL; audit_find_parent() local 139 struct audit_parent *parent; audit_init_parent() local 245 audit_update_watch(struct audit_parent *parent, const struct qstr *dname, dev_t dev, unsigned long ino, unsigned invalidating) audit_update_watch() argument 322 audit_remove_parent_watches(struct audit_parent *parent) audit_remove_parent_watches() argument 348 audit_get_nd(struct audit_watch *watch, struct path *parent) audit_get_nd() argument 365 audit_add_to_parent(struct audit_krule *krule, struct audit_parent *parent) audit_add_to_parent() argument 403 struct audit_parent *parent; audit_add_watch() local 450 struct audit_parent *parent = watch->parent; audit_remove_watch_rule() local 472 struct audit_parent *parent; audit_watch_handle_event() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sch_offload.sh | 44 sed s/root/parent\ root/ | 129 local parent=$1; shift 136 $cmd $(printf %x: $parent) "$@" 138 if ((parent == 0)); then 141 locus=$(printf "parent %x:1" $parent) 151 local parent=$1; shift 154 if ((parent != 0)); then 155 kind=$(qdisc_stats_get $h1 $parent: .kind) 167 local parent [all...] |
/third_party/mesa3d/src/util/ |
H A D | slab.c | 75 slab_get_element(struct slab_parent_pool *parent, in slab_get_element() argument 79 ((uint8_t*)&page[1] + (parent->element_size * index)); in slab_get_element() 99 * Create a parent pool for the allocation of same-sized objects. 105 slab_create_parent(struct slab_parent_pool *parent, in slab_create_parent() argument 109 simple_mtx_init(&parent->mutex, mtx_plain); in slab_create_parent() 110 parent->element_size = ALIGN_POT(sizeof(struct slab_element_header) + item_size, in slab_create_parent() 112 parent->num_elements = num_items; in slab_create_parent() 113 parent->item_size = item_size; in slab_create_parent() 117 slab_destroy_parent(struct slab_parent_pool *parent) in slab_destroy_parent() argument 119 simple_mtx_destroy(&parent in slab_destroy_parent() 125 slab_create_child(struct slab_child_pool *pool, struct slab_parent_pool *parent) slab_create_child() argument [all...] |
/kernel/linux/linux-5.10/drivers/edac/ |
H A D | debugfs.c | 57 struct dentry *parent; in edac_create_debugfs_nodes() local 61 parent = debugfs_create_dir(mci->dev.kobj.name, edac_debugfs); in edac_create_debugfs_nodes() 66 debugfs_create_u8(name, S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes() 70 debugfs_create_bool("fake_inject_ue", S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes() 73 debugfs_create_u16("fake_inject_count", S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes() 76 debugfs_create_file("fake_inject", S_IWUSR, parent, &mci->dev, in edac_create_debugfs_nodes() 79 mci->debugfs = parent; in edac_create_debugfs_nodes() 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) in edac_debugfs_create_dir_at() argument 110 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops) edac_debugfs_create_file() argument 121 edac_debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, u8 *value) edac_debugfs_create_x8() argument 132 edac_debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent, u16 *value) edac_debugfs_create_x16() argument 143 edac_debugfs_create_x32(const char *name, umode_t mode, struct dentry *parent, u32 *value) edac_debugfs_create_x32() argument [all...] |
/kernel/linux/linux-6.6/drivers/edac/ |
H A D | debugfs.c | 57 struct dentry *parent; in edac_create_debugfs_nodes() local 61 parent = debugfs_create_dir(mci->dev.kobj.name, edac_debugfs); in edac_create_debugfs_nodes() 66 debugfs_create_u8(name, S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes() 70 debugfs_create_bool("fake_inject_ue", S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes() 73 debugfs_create_u16("fake_inject_count", S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes() 76 debugfs_create_file("fake_inject", S_IWUSR, parent, &mci->dev, in edac_create_debugfs_nodes() 79 mci->debugfs = parent; in edac_create_debugfs_nodes() 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) in edac_debugfs_create_dir_at() argument 110 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops) edac_debugfs_create_file() argument 121 edac_debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, u8 *value) edac_debugfs_create_x8() argument 132 edac_debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent, u16 *value) edac_debugfs_create_x16() argument 143 edac_debugfs_create_x32(const char *name, umode_t mode, struct dentry *parent, u32 *value) edac_debugfs_create_x32() argument [all...] |