Home
last modified time | relevance | path

Searched refs:fsid (Results 1 – 25 of 93) sorted by relevance

1234

/linux-6.15/include/linux/ceph/
H A Dceph_debug.h26 &client->fsid, client->monc.auth->global_id, \
34 &client->fsid, \
46 pr_debug(" [%pU %llu] %s: " fmt, &client->fsid, \
52 pr_notice("[%pU %llu]: " fmt, &client->fsid, \
55 pr_info("[%pU %llu]: " fmt, &client->fsid, \
58 pr_warn("[%pU %llu]: " fmt, &client->fsid, \
61 pr_warn_once("[%pU %llu]: " fmt, &client->fsid, \
64 pr_err("[%pU %llu]: " fmt, &client->fsid, \
67 pr_warn_ratelimited("[%pU %llu]: " fmt, &client->fsid, \
70 pr_err_ratelimited("[%pU %llu]: " fmt, &client->fsid, \
H A Dlibceph.h49 struct ceph_fsid fsid; member
116 struct ceph_fsid fsid; member
289 extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid);
290 extern int ceph_parse_fsid(const char *str, struct ceph_fsid *fsid);
H A Dceph_fs.h183 struct ceph_fsid fsid; member
194 struct ceph_fsid fsid; member
201 struct ceph_fsid fsid; member
209 struct ceph_fsid fsid; member
215 struct ceph_fsid fsid; member
231 struct ceph_fsid fsid; member
/linux-6.15/fs/notify/fanotify/
H A Dfanotify.c64 return fanotify_fsid_equal(&ffe1->fsid, &ffe2->fsid) && in fanotify_fid_event_equal()
113 if (!fanotify_fsid_equal(&fne1->fsid, &fne2->fsid)) in fanotify_name_event_equal()
123 if (!fanotify_fsid_equal(&fee1->fsid, &fee2->fsid)) in fanotify_error_event_equal()
619 ffe->fsid = *fsid; in fanotify_alloc_fid_event()
660 fne->fsid = *fsid; in fanotify_alloc_name_event()
724 fee->fsid = *fsid; in fanotify_alloc_error_event()
883 __kernel_fsid_t fsid = {}; in fanotify_get_fsid() local
888 fsid = FANOTIFY_MARK(mark)->fsid; in fanotify_get_fsid()
890 WARN_ON_ONCE(!fsid.val[0] && !fsid.val[1])) in fanotify_get_fsid()
892 return fsid; in fanotify_get_fsid()
[all …]
H A Dfanotify_user.c493 info.fsid = *fsid; in copy_fid_info_to_user()
1278 FANOTIFY_MARK(mark)->fsid = fsid->id; in fanotify_set_mark_fsid()
1280 if (fsid->weak) in fanotify_set_mark_fsid()
1306 if (!fsid->weak) in fanotify_set_mark_fsid()
1353 if (fsid) { in fanotify_add_new_mark()
1358 fan_mark->fsid.val[0] = fan_mark->fsid.val[1] = 0; in fanotify_add_new_mark()
1695 if (!fsid->id.val[0] && !fsid->id.val[1]) { in fanotify_test_fsid()
1713 fsid->weak = false; in fanotify_test_fsid()
1718 fsid->weak = true; in fanotify_test_fsid()
1988 fsid = &__fsid; in do_fanotify_mark()
[all …]
H A Dfanotify.h287 __kernel_fsid_t fsid; member
300 __kernel_fsid_t fsid; member
315 __kernel_fsid_t fsid; /* FSID this error refers to. */ member
329 return &FANOTIFY_FE(event)->fsid; in fanotify_event_fsid()
331 return &FANOTIFY_NE(event)->fsid; in fanotify_event_fsid()
333 return &FANOTIFY_EE(event)->fsid; in fanotify_event_fsid()
522 __kernel_fsid_t fsid; member
/linux-6.15/fs/orangefs/
H A Dorangefs-utils.c16 __s32 fsid = ORANGEFS_FS_ID_NULL; in fsid_of_op() local
21 fsid = op->upcall.req.io.refn.fs_id; in fsid_of_op()
30 fsid = op->upcall.req.getattr.refn.fs_id; in fsid_of_op()
39 fsid = op->upcall.req.readdir.refn.fs_id; in fsid_of_op()
42 fsid = op->upcall.req.setattr.refn.fs_id; in fsid_of_op()
51 fsid = op->upcall.req.statfs.fs_id; in fsid_of_op()
54 fsid = op->upcall.req.truncate.refn.fs_id; in fsid_of_op()
60 fsid = op->upcall.req.fs_umount.fs_id; in fsid_of_op()
63 fsid = op->upcall.req.getxattr.refn.fs_id; in fsid_of_op()
75 fsid = op->upcall.req.fsync.refn.fs_id; in fsid_of_op()
[all …]
H A Ddevorangefs-req.c105 static int fs_mount_pending(__s32 fsid) in fs_mount_pending() argument
112 if (orangefs_sb->fs_id == fsid) { in fs_mount_pending()
193 __s32 fsid; in orangefs_devreq_read() local
201 fsid = fsid_of_op(op); in orangefs_devreq_read()
202 if (fsid != ORANGEFS_FS_ID_NULL) { in orangefs_devreq_read()
205 ret = fs_mount_pending(fsid); in orangefs_devreq_read()
235 fsid); in orangefs_devreq_read()
/linux-6.15/fs/nfs/
H A Dnfs4getroot.c37 memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); in nfs4_get_rootfh()
H A Dclient.c1119 memcpy(&server->fsid, &fattr->fsid, sizeof(server->fsid)); in nfs_create_server()
1122 (unsigned long long) server->fsid.major, in nfs_create_server()
1123 (unsigned long long) server->fsid.minor); in nfs_create_server()
1160 server->fsid = fattr->fsid; in nfs_clone_server()
1364 char fsid[34]; // 2 * 16 for %llx, 1 for ':', 1 for '\0' in nfs_volume_list_show() local
1380 snprintf(fsid, sizeof(fsid), "%llx:%llx", in nfs_volume_list_show()
1381 (unsigned long long) server->fsid.major, in nfs_volume_list_show()
1382 (unsigned long long) server->fsid.minor); in nfs_volume_list_show()
1390 fsid, in nfs_volume_list_show()
/linux-6.15/net/ceph/
H A Dceph_common.c105 int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid) in ceph_check_fsid() argument
108 if (ceph_fsid_compare(&client->fsid, fsid)) { in ceph_check_fsid()
110 &client->fsid, fsid); in ceph_check_fsid()
114 memcpy(&client->fsid, fsid, sizeof(*fsid)); in ceph_check_fsid()
193 int ceph_parse_fsid(const char *str, struct ceph_fsid *fsid) in ceph_parse_fsid() argument
213 fsid->fsid[i] = d & 0xff; in ceph_parse_fsid()
220 dout("%s ret %d got fsid %pU\n", __func__, err, fsid); in ceph_parse_fsid()
443 err = ceph_parse_fsid(param->string, &opt->fsid); in ceph_parse_param()
657 seq_printf(m, "fsid=%pU,", &opt->fsid); in ceph_print_client_options()
826 &client->fsid); in __ceph_open_session()
H A Dmon_client.c73 struct ceph_fsid fsid; in ceph_monmap_decode() local
90 ceph_decode_copy_safe(p, end, &fsid, sizeof(fsid), e_inval); in ceph_monmap_decode()
115 dout("%s fsid %pU epoch %u num_mon %d\n", __func__, &fsid, epoch, in ceph_monmap_decode()
125 monmap->fsid = fsid; in ceph_monmap_decode()
560 if (ceph_check_fsid(client, &monmap->fsid) < 0) { in ceph_monc_handle_map()
803 h->fsid = monc->monmap->fsid; in ceph_monc_do_statfs()
1000 h->fsid = monc->monmap->fsid; in do_mon_command_vargs()
/linux-6.15/fs/overlayfs/
H A Dinode.c123 stat->ino |= ((u64)fsid) << (xinoshift + 1); in ovl_map_dev_ino()
152 stat->dev = ofs->fs[fsid].pseudo_dev; in ovl_map_dev_ino()
165 int fsid = 0; in ovl_getattr() local
191 fsid = ovl_layer_lower(dentry)->fsid; in ovl_getattr()
221 fsid = ovl_layer_lower(dentry)->fsid; in ovl_getattr()
263 ovl_map_dev_ino(dentry, stat, fsid); in ovl_getattr()
892 unsigned long ino, int fsid) in ovl_inode_init() argument
905 ovl_map_ino(inode, ino, fsid); in ovl_inode_init()
1225 int fsid = bylower ? lowerpath->layer->fsid : 0; in ovl_get_inode() local
1279 fsid = lowerpath->layer->fsid; in ovl_get_inode()
[all …]
H A Dsuper.c526 upper_layer->fsid = 0; in ovl_get_upper()
1034 int fsid; in ovl_get_layers() local
1037 fsid = ovl_get_fsid(ofs, &l->path); in ovl_get_layers()
1039 fsid = ovl_get_data_fsid(ofs); in ovl_get_layers()
1040 if (fsid < 0) in ovl_get_layers()
1041 return fsid; in ovl_get_layers()
1079 layers[ofs->numlayer].fsid = fsid; in ovl_get_layers()
1080 layers[ofs->numlayer].fs = &ofs->fs[fsid]; in ovl_get_layers()
1085 ofs->fs[fsid].is_lower = true; in ovl_get_layers()
1265 int fsid = lowerpath->layer->fsid; in ovl_get_root() local
[all …]
/linux-6.15/Documentation/filesystems/
H A Dcramfs.rst102 >32 ulelong x fsid.crc 0x%x
103 >36 ulelong x fsid.edition %d
104 >40 ulelong x fsid.blocks %d
105 >44 ulelong x fsid.files %d
112 >544 ulelong x fsid.crc 0x%x
113 >548 ulelong x fsid.edition %d
114 >552 ulelong x fsid.blocks %d
115 >556 ulelong x fsid.files %d
/linux-6.15/fs/ceph/
H A Dcache.c88 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs() local
94 name = kasprintf(GFP_KERNEL, "ceph,%pU%s%s", fsid, uniq_len ? "," : "", in ceph_fscache_register_fs()
/linux-6.15/fs/dlm/
H A Dplock.c52 if (iter->info.fsid == info->fsid && in plock_lookup_waiter()
144 op->info.fsid = ls->ls_global_id; in dlm_posix_lock()
321 op->info.fsid = ls->ls_global_id; in dlm_posix_unlock()
380 info.fsid = ls->ls_global_id; in dlm_posix_cancel()
442 op->info.fsid = ls->ls_global_id; in dlm_posix_get()
550 iter->info.fsid == info.fsid) { in dev_write()
582 info.fsid, (unsigned long long)info.number); in dev_write()
/linux-6.15/fs/nfsd/
H A Dnfsxdr.c222 u32 fsid; in svcxdr_encode_fattr() local
247 fsid = (u32)fhp->fh_export->ex_fsid; in svcxdr_encode_fattr()
250 fsid = ((u32 *)fhp->fh_export->ex_uuid)[0]; in svcxdr_encode_fattr()
251 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[1]; in svcxdr_encode_fattr()
252 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[2]; in svcxdr_encode_fattr()
253 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[3]; in svcxdr_encode_fattr()
256 fsid = new_encode_dev(stat->dev); in svcxdr_encode_fattr()
259 *p++ = cpu_to_be32(fsid); in svcxdr_encode_fattr()
H A Dnfsfh.h145 u32 fsid, unsigned char *uuid) in mk_fsid() argument
155 fsidv[0] = fsid; in mk_fsid()
/linux-6.15/fs/erofs/
H A Dsuper.c482 kfree(sbi->fsid); in erofs_fc_parse_param()
483 sbi->fsid = kstrdup(param->string, GFP_KERNEL); in erofs_fc_parse_param()
484 if (!sbi->fsid) in erofs_fc_parse_param()
558 sbi->fsid); in erofs_set_sysfs_name()
559 else if (sbi->fsid) in erofs_set_sysfs_name()
560 super_set_sysfs_name_generic(sb, "%s", sbi->fsid); in erofs_set_sysfs_name()
684 if (IS_ENABLED(CONFIG_EROFS_FS_ONDEMAND) && sbi->fsid) in erofs_fc_get_tree()
717 if (new_sbi->fsid || new_sbi->domain_id) in erofs_fc_reconfigure()
757 kfree(sbi->fsid); in erofs_sb_free()
945 if (sbi->fsid) in erofs_show_options()
[all …]
/linux-6.15/samples/fanotify/
H A Dfs-monitor.c98 fid->fsid.val[0], fid->fsid.val[1]); in handle_notifications()
/linux-6.15/Documentation/filesystems/nfs/
H A Dreexport.rst14 "fsid=" required, crossmnt broken
17 We require the "fsid=" export option on any reexport of an NFS
20 The "crossmnt" export does not propagate "fsid=", so it will not allow
23 them explicitly, assigning each its own unique "fsid= option.
/linux-6.15/fs/btrfs/
H A Dextent_io.h333 const void *fsid) in write_extent_buffer_fsid() argument
335 write_extent_buffer(eb, fsid, offsetof(struct btrfs_header, fsid), in write_extent_buffer_fsid()
/linux-6.15/include/uapi/linux/
H A Ddlm_plock.h39 __u32 fsid; member
/linux-6.15/include/linux/
H A Dstatfs.h47 extern int vfs_get_fsid(struct dentry *dentry, __kernel_fsid_t *fsid);

1234