Home
last modified time | relevance | path

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

/linux-6.15/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()
284 struct afs_volume *root_volume; in afs_do_cell_detect_alias() local
294 root_volume = afs_sample_volume(cell, key, "root.cell", 9); in afs_do_cell_detect_alias()
295 if (!IS_ERR(root_volume)) { in afs_do_cell_detect_alias()
296 cell->root_volume = root_volume; in afs_do_cell_detect_alias()
300 if (PTR_ERR(root_volume) != -ENOMEDIUM) in afs_do_cell_detect_alias()
301 return PTR_ERR(root_volume); in afs_do_cell_detect_alias()
H A Dcell.c843 afs_put_volume(cell->root_volume, afs_volume_trace_put_cell_root); in afs_manage_cell()
844 cell->root_volume = NULL; in afs_manage_cell()
H A Dinternal.h372 struct afs_volume *root_volume; /* The root.cell volume if there is one */ member
/linux-6.15/fs/bcachefs/
H A Dsubvolume.c651 struct bkey_i_subvolume root_volume; in bch2_initialize_subvolumes() local
667 bkey_subvolume_init(&root_volume.k_i); in bch2_initialize_subvolumes()
668 root_volume.k.p.offset = BCACHEFS_ROOT_SUBVOL; in bch2_initialize_subvolumes()
669 root_volume.v.flags = 0; in bch2_initialize_subvolumes()
670 root_volume.v.snapshot = cpu_to_le32(U32_MAX); in bch2_initialize_subvolumes()
671 root_volume.v.inode = cpu_to_le64(BCACHEFS_ROOT_INO); in bch2_initialize_subvolumes()
675 bch2_btree_insert(c, BTREE_ID_subvolumes, &root_volume.k_i, NULL, 0, 0); in bch2_initialize_subvolumes()