Home
last modified time | relevance | path

Searched refs:root_id (Results 1 – 20 of 20) sorted by relevance

/linux/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c107 static uint64_t root_id, parent_id; variable
184 root_id = get_mnt_id("root", "/", STATX_MNT_ID_UNIQUE); in setup_namespace()
225 if (list[0] != root_id) { in test_listmount_empty_root()
228 (unsigned long long) root_id); in test_listmount_empty_root()
240 ret = statmount(root_id, 0, 0, &sm, sizeof(sm), 0); in test_statmount_zero_mask()
266 ret = statmount(root_id, 0, mask, &sm, sizeof(sm), 0); in test_statmount_mnt_basic()
282 if (sm.mnt_id != root_id) { in test_statmount_mnt_basic()
285 (unsigned long long) root_id); in test_statmount_mnt_basic()
326 ret = statmount(root_id, 0, mask, &sm, sizeof(sm), 0); in test_statmount_sb_basic()
378 sm = statmount_alloc(root_id, STATMOUNT_MNT_POINT, 0); in test_statmount_mnt_point()
[all …]
H A Dstatmount_test_ns.c94 uint64_t root_id; in _test_statmount_mnt_ns_id() local
101 root_id = get_unique_mnt_id("/"); in _test_statmount_mnt_ns_id()
102 if (!root_id) in _test_statmount_mnt_ns_id()
105 ret = statmount(root_id, 0, STATMOUNT_MNT_NS_ID, &sm, sizeof(sm), 0); in _test_statmount_mnt_ns_id()
/linux/tools/testing/selftests/filesystems/mount-notify/
H A Dmount-notify_test.c44 uint64_t root_id; in FIXTURE() local
74 self->root_id = get_unique_mnt_id("/"); in FIXTURE_SETUP()
75 ASSERT_NE(self->root_id, 0); in FIXTURE_SETUP()
255 uint64_t mnts[2] = { self->root_id }; in TEST_F()
279 uint64_t mnts[2] = { self->root_id }; in TEST_F()
313 mnts[0] = self->root_id; in TEST_F()
325 mnts2[0] = self->root_id; in TEST_F()
335 uint64_t mnts[2] = { self->root_id }; in TEST_F()
371 uint64_t mnts[6] = { self->root_id }; in TEST_F()
447 uint64_t mnts[3] = { self->root_id }; in TEST_F()
[all …]
H A Dmount-notify_test_ns.c51 uint64_t root_id; in FIXTURE() local
83 self->root_id = get_unique_mnt_id("/"); in FIXTURE_SETUP()
84 ASSERT_NE(self->root_id, 0); in FIXTURE_SETUP()
282 uint64_t mnts[2] = { self->root_id }; in TEST_F()
306 uint64_t mnts[2] = { self->root_id }; in TEST_F()
340 mnts[0] = self->root_id; in TEST_F()
352 mnts2[0] = self->root_id; in TEST_F()
362 uint64_t mnts[2] = { self->root_id }; in TEST_F()
398 uint64_t mnts[6] = { self->root_id }; in TEST_F()
474 uint64_t mnts[3] = { self->root_id }; in TEST_F()
[all …]
/linux/lib/
H A Dobjagg.c29 unsigned int root_id; member
64 unsigned int root_id; member
229 int root_id; in objagg_obj_root_id_alloc() local
233 objagg_obj->root_id = OBJAGG_OBJ_ROOT_ID_INVALID; in objagg_obj_root_id_alloc()
238 min = hnode->root_id; in objagg_obj_root_id_alloc()
239 max = hnode->root_id; in objagg_obj_root_id_alloc()
248 root_id = ida_alloc_range(&objagg->root_ida, min, max, GFP_KERNEL); in objagg_obj_root_id_alloc()
250 if (root_id < 0) in objagg_obj_root_id_alloc()
251 return root_id; in objagg_obj_root_id_alloc()
252 objagg_obj->root_id = root_id; in objagg_obj_root_id_alloc()
[all …]
/linux/drivers/firewire/
H A Dpacket-serdes-test.c252 unsigned int root_id, bool has_force_root_node, in serialize_phy_packet_phy_config() argument
256 phy_packet_phy_config_set_root_id(quadlet, root_id); in serialize_phy_packet_phy_config()
263 unsigned int *root_id, bool *has_force_root_node, in deserialize_phy_packet_phy_config() argument
268 *root_id = phy_packet_phy_config_get_root_id(quadlet); in deserialize_phy_packet_phy_config()
843 unsigned int root_id; in test_phy_packet_phy_config_force_root_node() local
848 deserialize_phy_packet_phy_config(expected, &packet_identifier, &root_id, in test_phy_packet_phy_config_force_root_node()
853 KUNIT_EXPECT_EQ(test, 0x02, root_id); in test_phy_packet_phy_config_force_root_node()
858 serialize_phy_packet_phy_config(&quadlet, packet_identifier, root_id, has_force_root_node, in test_phy_packet_phy_config_force_root_node()
870 unsigned int root_id; in test_phy_packet_phy_config_gap_count_optimization() local
875 deserialize_phy_packet_phy_config(expected, &packet_identifier, &root_id, in test_phy_packet_phy_config_gap_count_optimization()
[all …]
H A Dcore-card.c389 int root_id, new_root_id, irm_id, local_id; in DEFINE_FREE() local
404 root_id = root_node->node_id; in DEFINE_FREE()
499 new_root_id = root_id; in DEFINE_FREE()
515 if (card->bm_retries++ < 5 && (card->gap_count != expected_gap_count || new_root_id != root_id)) { in DEFINE_FREE()
546 root_id, generation, SCODE_100, in DEFINE_FREE()
H A Dphy-packet-definitions.h40 static inline void phy_packet_phy_config_set_root_id(u32 *quadlet, unsigned int root_id) in phy_packet_phy_config_set_root_id() argument
43 *quadlet |= (root_id << PHY_CONFIG_ROOT_ID_SHIFT) & PHY_CONFIG_ROOT_ID_MASK; in phy_packet_phy_config_set_root_id()
/linux/fs/btrfs/
H A Droot-tree.h21 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
24 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
H A Dsend.c1307 static int iterate_backrefs(u64 ino, u64 offset, u64 num_bytes, u64 root_id, in iterate_backrefs() argument
1314 clone_root = bsearch((void *)(uintptr_t)root_id, bctx->sctx->clone_roots, in iterate_backrefs()
1442 const u64 root_id = node->val; in store_backref_cache() local
1445 root = bsearch((void *)(uintptr_t)root_id, sctx->clone_roots, in store_backref_cache()
1457 new_entry->root_ids[new_entry->num_roots] = root_id; in store_backref_cache()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dqos.c456 u32 root_id; member
490 err = mlx5_qos_create_root_node(mdev, &rl->root_id); in mlx5e_mqprio_rl_init()
494 qos_dbg(mdev, "Root created, id %#x\n", rl->root_id); in mlx5e_mqprio_rl_init()
500 err = mlx5_qos_create_leaf_node(mdev, rl->root_id, 0, max_average_bw, in mlx5e_mqprio_rl_init()
513 mlx5_qos_destroy_node(mdev, rl->root_id); in mlx5e_mqprio_rl_init()
525 mlx5_qos_destroy_node(rl->mdev, rl->root_id); in mlx5e_mqprio_rl_cleanup()
/linux/include/linux/
H A Dobjagg.h13 void * (*root_create)(void *priv, void *obj, unsigned int root_id);
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-btf.rst27 | **bpftool** **btf dump** *BTF_SRC* [**format** *FORMAT*] [**root_id** *ROOT_ID*]
46 bpftool btf dump *BTF_SRC* [format *FORMAT*] [root_id *ROOT_ID*]
70 **root_id** option can be used to filter a dump to a single type and all
/linux/tools/bpf/bpftool/
H A Dbtf.c1003 __u32 root_id; in do_dump() local
1017 root_id = strtoul(*argv, &end, 0); in do_dump()
1024 if (root_type_ids[i] == root_id) { in do_dump()
1026 p_err("duplicate root_id %u supplied", root_id); in do_dump()
1030 root_type_ids[root_type_cnt++] = root_id; in do_dump()
/linux/tools/firewire/
H A Dnosy-dump.h28 uint32_t root_id:6; member
H A Dnosy-dump.c768 printf("ext phy config: phy_id=%02x", pp->phy_config.root_id); in print_packet()
772 printf(" set_root_id=%02x", pp->phy_config.root_id); in print_packet()
/linux/Documentation/crypto/
H A Dasymmetric-keys.rst379 root_id=`keyctl add keyring root-certs "" @s`
380 keyctl padd asymmetric "" $root_id < root1.cert
381 keyctl padd asymmetric "" $root_id < root2.cert
385 keyctl restrict_keyring $chain_id asymmetric key_or_keyring:$root_id:chain
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_erp.c1275 unsigned int root_id) in mlxsw_sp_acl_erp_root_create() argument
1282 root_id != OBJAGG_OBJ_ROOT_ID_INVALID && in mlxsw_sp_acl_erp_root_create()
1283 root_id >= MLXSW_SP_ACL_ERP_MAX_PER_REGION) in mlxsw_sp_acl_erp_root_create()
/linux/include/uapi/linux/
H A Dbtrfs_tree.h832 __le64 root_id; member
/linux/net/bridge/
H A Dbr_sysfs_br.c226 static DEVICE_ATTR_RO(root_id);