Home
last modified time | relevance | path

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

/openbmc/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 …]
/openbmc/linux/fs/btrfs/
H A Droot-tree.h9 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
12 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
H A Droot-tree.c334 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id, in btrfs_del_root_ref() argument
350 key.objectid = root_id; in btrfs_del_root_ref()
382 key.offset = root_id; in btrfs_del_root_ref()
406 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id, in btrfs_add_root_ref() argument
422 key.objectid = root_id; in btrfs_add_root_ref()
447 key.offset = root_id; in btrfs_add_root_ref()
H A Dbackref.c232 if (ref1->root_id < ref2->root_id) in prelim_ref_compare()
234 if (ref1->root_id > ref2->root_id) in prelim_ref_compare()
267 if (newref->root_id == sc->root->root_key.objectid && in update_share_count()
392 struct preftree *preftree, u64 root_id, in add_prelim_ref() argument
399 if (root_id == BTRFS_DATA_RELOC_TREE_OBJECTID) in add_prelim_ref()
406 ref->root_id = root_id; in add_prelim_ref()
433 struct preftrees *preftrees, u64 root_id, in add_indirect_ref() argument
442 return add_prelim_ref(fs_info, tree, root_id, key, level, 0, in add_indirect_ref()
511 ref->root_id != btrfs_header_owner(eb)) { in add_all_parents()
535 ref->root_id != btrfs_header_owner(eb))) { in add_all_parents()
[all …]
H A Dextent-tree.h118 u64 root_id,
H A Dbackref.h248 u64 root_id; member
H A Dextent-tree.c3299 u64 root_id, in btrfs_free_tree_block() argument
3310 root_id, 0, false); in btrfs_free_tree_block()
3312 if (root_id != BTRFS_TREE_LOG_OBJECTID) { in btrfs_free_tree_block()
3323 if (root_id != BTRFS_TREE_LOG_OBJECTID) { in btrfs_free_tree_block()
H A Dsend.c1343 static int iterate_backrefs(u64 ino, u64 offset, u64 num_bytes, u64 root_id, in iterate_backrefs() argument
1350 clone_root = bsearch((void *)(uintptr_t)root_id, bctx->sctx->clone_roots, in iterate_backrefs()
1478 const u64 root_id = node->val; in store_backref_cache() local
1481 root = bsearch((void *)(uintptr_t)root_id, sctx->clone_roots, in store_backref_cache()
1493 new_entry->root_ids[new_entry->num_roots] = root_id; in store_backref_cache()
H A Ddisk-io.c1142 u64 root_id) in btrfs_lookup_fs_root() argument
1148 (unsigned long)root_id); in btrfs_lookup_fs_root()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dqos.c444 u32 root_id; member
478 err = mlx5_qos_create_root_node(mdev, &rl->root_id); in mlx5e_mqprio_rl_init()
482 qos_dbg(mdev, "Root created, id %#x\n", rl->root_id); in mlx5e_mqprio_rl_init()
488 err = mlx5_qos_create_leaf_node(mdev, rl->root_id, 0, max_average_bw, in mlx5e_mqprio_rl_init()
501 mlx5_qos_destroy_node(mdev, rl->root_id); in mlx5e_mqprio_rl_init()
513 mlx5_qos_destroy_node(rl->mdev, rl->root_id); in mlx5e_mqprio_rl_cleanup()
/openbmc/linux/drivers/firewire/
H A Dcore-card.c292 int root_id, new_root_id, irm_id, bm_id, local_id; in bm_work() local
325 root_id = root_node->node_id; in bm_work()
466 new_root_id = root_id; in bm_work()
494 (card->gap_count != gap_count || new_root_id != root_id)) in bm_work()
526 root_id, generation, SCODE_100, in bm_work()
/openbmc/linux/include/linux/
H A Dobjagg.h13 void * (*root_create)(void *priv, void *obj, unsigned int root_id);
/openbmc/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()
/openbmc/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
/openbmc/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()
/openbmc/linux/include/trace/events/
H A Dbtrfs.h1962 __field( u64, root_id )
1975 __entry->root_id = oldref->root_id;
1988 __entry->root_id,
/openbmc/linux/net/bridge/
H A Dbr_sysfs_br.c226 static DEVICE_ATTR_RO(root_id);