Home
last modified time | relevance | path

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

123

/linux/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.h190 struct ceph_fsid fsid; member
201 struct ceph_fsid fsid; member
208 struct ceph_fsid fsid; member
216 struct ceph_fsid fsid; member
222 struct ceph_fsid fsid; member
238 struct ceph_fsid fsid; member
H A Dmon_client.h19 struct ceph_fsid fsid; member
/linux/fs/notify/fanotify/
H A Dfanotify.c32 static unsigned int fanotify_hash_fsid(__kernel_fsid_t *fsid) in fanotify_hash_fsid() argument
34 return hash_32(fsid->val[0], FANOTIFY_EVENT_HASH_BITS) ^ in fanotify_hash_fsid()
35 hash_32(fsid->val[1], FANOTIFY_EVENT_HASH_BITS); in fanotify_hash_fsid()
65 return fanotify_fsid_equal(&ffe1->fsid, &ffe2->fsid) && in fanotify_fid_event_equal()
114 if (!fanotify_fsid_equal(&fne1->fsid, &fne2->fsid)) in fanotify_name_event_equal()
124 return fanotify_fsid_equal(&fee1->fsid, &fee2->fsid); in fanotify_error_event_equal()
612 __kernel_fsid_t *fsid, in fanotify_alloc_fid_event() argument
623 ffe->fsid = *fsid; in fanotify_alloc_fid_event()
624 *hash ^= fanotify_hash_fsid(fsid); in fanotify_alloc_fid_event()
632 __kernel_fsid_t *fsid, in fanotify_alloc_name_event() argument
[all …]
H A Dfanotify_user.c553 static int copy_fid_info_to_user(__kernel_fsid_t *fsid, struct fanotify_fh *fh, in copy_fid_info_to_user() argument
593 info.fsid = *fsid; in copy_fid_info_to_user()
1351 struct fan_fsid *fsid) in fanotify_set_mark_fsid() argument
1357 FANOTIFY_MARK(mark)->fsid = fsid->id; in fanotify_set_mark_fsid()
1359 if (fsid->weak) in fanotify_set_mark_fsid()
1385 if (!fsid->weak) in fanotify_set_mark_fsid()
1389 if (old_sb != fsid->sb) in fanotify_set_mark_fsid()
1393 if (!fanotify_fsid_equal(&FANOTIFY_MARK(old)->fsid, in fanotify_set_mark_fsid()
1394 &FANOTIFY_MARK(mark)->fsid)) in fanotify_set_mark_fsid()
1404 struct fan_fsid *fsid) in fanotify_add_new_mark() argument
[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()
526 __kernel_fsid_t fsid; member
/linux/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()
24 fsid = op->upcall.req.lookup.parent_refn.fs_id; in fsid_of_op()
27 fsid = op->upcall.req.create.parent_refn.fs_id; in fsid_of_op()
30 fsid = op->upcall.req.getattr.refn.fs_id; in fsid_of_op()
33 fsid = op->upcall.req.remove.parent_refn.fs_id; in fsid_of_op()
36 fsid = op->upcall.req.mkdir.parent_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()
45 fsid = op->upcall.req.sym.parent_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/fs/nfs/
H A Dnfs4getroot.c35 memcpy(&server->fsid, &fattr->fsid, sizeof(server->fsid)); in nfs4_get_rootfh()
/linux/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()
442 err = ceph_parse_fsid(param->string, &opt->fsid); in ceph_parse_param()
656 seq_printf(m, "fsid=%pU,", &opt->fsid); in ceph_print_client_options()
836 &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 %u\n", __func__, &fsid, epoch, in ceph_monmap_decode()
125 monmap->fsid = fsid; in ceph_monmap_decode()
562 if (ceph_check_fsid(client, &monmap->fsid) < 0) { in ceph_monc_handle_map()
805 h->fsid = monc->monmap->fsid; in ceph_monc_do_statfs()
1002 h->fsid = monc->monmap->fsid; in do_mon_command_vargs()
/linux/fs/overlayfs/
H A Dinode.c103 static void ovl_map_dev_ino(struct dentry *dentry, struct kstat *stat, int fsid) in ovl_map_dev_ino() argument
129 stat->ino |= ((u64)fsid) << (xinoshift + 1); in ovl_map_dev_ino()
158 stat->dev = ofs->fs[fsid].pseudo_dev; in ovl_map_dev_ino()
180 int fsid = 0; in ovl_getattr() local
207 fsid = ovl_layer_lower(dentry)->fsid; in ovl_getattr()
236 fsid = ovl_layer_lower(dentry)->fsid; in ovl_getattr()
278 ovl_map_dev_ino(dentry, stat, fsid); in ovl_getattr()
851 static void ovl_map_ino(struct inode *inode, unsigned long ino, int fsid) in ovl_map_ino() argument
868 inode->i_ino |= (unsigned long)fsid << (xinoshift + 1); in ovl_map_ino()
891 unsigned long ino, int fsid) in ovl_inode_init() argument
[all …]
H A Dreaddir.c518 static u64 ovl_remap_lower_ino(u64 ino, int xinobits, int fsid, in ovl_remap_lower_ino() argument
535 return ino | ((u64)fsid) << (xinoshift + 1); in ovl_remap_lower_ino()
613 ovl_layer_lower(this)->fsid, in ovl_cache_update()
745 int fsid; member
768 ino = ovl_remap_lower_ino(ino, rdt->xinobits, rdt->fsid, in ovl_fill_real()
809 rdt.fsid = lower_layer->fsid; in ovl_iterate_real()
/linux/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/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/fs/nfsd/
H A Dnfsxdr.c236 u32 fsid; in svcxdr_encode_fattr() local
261 fsid = (u32)fhp->fh_export->ex_fsid; in svcxdr_encode_fattr()
264 fsid = ((u32 *)fhp->fh_export->ex_uuid)[0]; in svcxdr_encode_fattr()
265 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[1]; in svcxdr_encode_fattr()
266 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[2]; in svcxdr_encode_fattr()
267 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[3]; in svcxdr_encode_fattr()
270 fsid = new_encode_dev(stat->dev); in svcxdr_encode_fattr()
273 *p++ = cpu_to_be32(fsid); in svcxdr_encode_fattr()
H A Dnfsfh.c229 u32 *fsid = fh_fsid(fh); in nfsd_set_fh_dentry() local
240 fsid[0] = new_encode_dev(MKDEV(ntohl((__force __be32)fsid[0]), in nfsd_set_fh_dentry()
241 ntohl((__force __be32)fsid[1]))); in nfsd_set_fh_dentry()
242 fsid[1] = fsid[2]; in nfsd_set_fh_dentry()
H A Dnfsfh.h150 u32 fsid, unsigned char *uuid) in mk_fsid() argument
160 fsidv[0] = fsid; in mk_fsid()
H A Dnfs3xdr.c340 u64 fsid; in svcxdr_encode_fattr3() local
365 fsid = (u64)fhp->fh_export->ex_fsid; in svcxdr_encode_fattr3()
368 fsid = ((u64 *)fhp->fh_export->ex_uuid)[0]; in svcxdr_encode_fattr3()
369 fsid ^= ((u64 *)fhp->fh_export->ex_uuid)[1]; in svcxdr_encode_fattr3()
372 fsid = (u64)huge_encode_dev(fhp->fh_dentry->d_sb->s_dev); in svcxdr_encode_fattr3()
374 p = xdr_encode_hyper(p, fsid); in svcxdr_encode_fattr3()
/linux/fs/btrfs/
H A Dextent_io.h383 const void *fsid) in write_extent_buffer_fsid() argument
385 write_extent_buffer(eb, fsid, offsetof(struct btrfs_header, fsid), in write_extent_buffer_fsid()
H A Dvolumes.c382 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid) in alloc_fs_devices() argument
398 if (fsid) { in alloc_fs_devices()
399 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
400 memcpy(fs_devs->metadata_uuid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
447 const u8 *fsid, const u8 *metadata_fsid) in match_fsid_fs_devices() argument
449 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) != 0) in match_fsid_fs_devices()
462 const u8 *fsid, const u8 *metadata_fsid) in find_fsid() argument
466 ASSERT(fsid); in find_fsid()
470 if (match_fsid_fs_devices(fs_devices, fsid, metadata_fsid)) in find_fsid()
600 fsid_fs_devices = find_fsid(disk_super->fsid, in find_fsid_by_device()
[all …]
/linux/include/uapi/linux/
H A Ddlm_plock.h39 __u32 fsid; member
H A Dcramfs_fs.h61 struct cramfs_info fsid; /* unique filesystem info */ member
/linux/include/linux/
H A Dstatfs.h47 extern int vfs_get_fsid(struct dentry *dentry, __kernel_fsid_t *fsid);

123