Home
last modified time | relevance | path

Searched refs:root_volume (Results 1 – 4 of 4) sorted by relevance

/linux/fs/afs/
H A Dvl_alias.c118 if (!p->root_volume) in afs_compare_cell_roots()
121 if (afs_compare_volume_slists(cell->root_volume, p->root_volume) != 0) in afs_compare_cell_roots()
199 if (p->root_volume) in afs_query_for_alias()
283 struct afs_volume *root_volume; in afs_do_cell_detect_alias() local
293 root_volume = afs_sample_volume(cell, key, "root.cell", 9); in afs_do_cell_detect_alias()
294 if (!IS_ERR(root_volume)) { in afs_do_cell_detect_alias()
295 cell->root_volume = root_volume; in afs_do_cell_detect_alias()
299 if (PTR_ERR(root_volume) != -ENOMEDIUM) in afs_do_cell_detect_alias()
300 return PTR_ERR(root_volume); in afs_do_cell_detect_alias()
H A Dcell.c831 afs_put_volume(cell->root_volume, afs_volume_trace_put_cell_root); in afs_manage_cell()
832 cell->root_volume = NULL; in afs_manage_cell()
H A Dinternal.h383 struct afs_volume *root_volume; /* The root.cell volume if there is one */ member
/linux/fs/bcachefs/
H A Dsubvolume.c649 struct bkey_i_subvolume root_volume; in bch2_initialize_subvolumes() local
665 bkey_subvolume_init(&root_volume.k_i); in bch2_initialize_subvolumes()
666 root_volume.k.p.offset = BCACHEFS_ROOT_SUBVOL; in bch2_initialize_subvolumes()
667 root_volume.v.flags = 0; in bch2_initialize_subvolumes()
668 root_volume.v.snapshot = cpu_to_le32(U32_MAX); in bch2_initialize_subvolumes()
669 root_volume.v.inode = cpu_to_le64(BCACHEFS_ROOT_INO); in bch2_initialize_subvolumes()
673 bch2_btree_insert(c, BTREE_ID_subvolumes, &root_volume.k_i, NULL, 0, 0); in bch2_initialize_subvolumes()