Home
last modified time | relevance | path

Searched refs:fsid (Results 1 – 25 of 73) 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
/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
632 fanotify_alloc_name_event(struct inode * dir,__kernel_fsid_t * fsid,const struct qstr * name,struct inode * child,struct dentry * moved,unsigned int * hash,gfp_t gfp) fanotify_alloc_name_event() argument
708 fanotify_alloc_error_event(struct fsnotify_group * group,__kernel_fsid_t * fsid,const void * data,int data_type,unsigned int * hash) fanotify_alloc_error_event() argument
748 fanotify_alloc_event(struct fsnotify_group * group,u32 mask,const void * data,int data_type,struct inode * dir,const struct qstr * file_name,__kernel_fsid_t * fsid,u32 match_mask) fanotify_alloc_event() argument
891 __kernel_fsid_t fsid = {}; fanotify_get_fsid() local
936 __kernel_fsid_t fsid = {}; fanotify_handle_event() local
[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()
1362 /* First mark added will determine if group is single or multi fsid */ in fanotify_set_mark_fsid()
1380 /* Do not allow mixing of marks with weak and strong fsid */ in fanotify_set_mark_fsid()
1384 /* Allow mixing of marks with strong fsid fro in fanotify_set_mark_fsid()
1404 fanotify_add_new_mark(struct fsnotify_group * group,void * obj,unsigned int obj_type,unsigned int fan_flags,struct fan_fsid * fsid) fanotify_add_new_mark() argument
1504 fanotify_add_mark(struct fsnotify_group * group,void * obj,unsigned int obj_type,__u32 mask,unsigned int fan_flags,struct fan_fsid * fsid) fanotify_add_mark() argument
1737 fanotify_test_fsid(struct dentry * dentry,unsigned int flags,struct fan_fsid * fsid) fanotify_test_fsid() argument
1869 struct fan_fsid __fsid, *fsid = NULL; do_fanotify_mark() local
[all...]
H A Dfanotify.h290 __kernel_fsid_t fsid;
303 __kernel_fsid_t fsid;
318 __kernel_fsid_t fsid; /* FSID this error refers to. */
332 return &FANOTIFY_FE(event)->fsid; in fanotify_event_fsid()
334 return &FANOTIFY_NE(event)->fsid; in fanotify_event_fsid()
336 return &FANOTIFY_EE(event)->fsid; in fanotify_event_fsid()
529 __kernel_fsid_t fsid; in FANOTIFY_MARK()
287 __kernel_fsid_t fsid; global() member
300 __kernel_fsid_t fsid; global() member
315 __kernel_fsid_t fsid; /* FSID this error refers to. */ global() member
526 __kernel_fsid_t fsid; global() 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()
H A Dclient.c1218 memcpy(&server->fsid, &fattr->fsid, sizeof(server->fsid)); in nfs_create_server()
1221 (unsigned long long) server->fsid.major, in nfs_create_server()
1222 (unsigned long long) server->fsid.minor); in nfs_create_server()
1259 server->fsid = fattr->fsid; in nfs_clone_server()
1465 char fsid[34]; // 2 * 16 for %llx, 1 for ':', 1 for '\0' in nfs_volume_list_show()
1481 snprintf(fsid, sizeof(fsid), " in nfs_volume_list_show()
1456 char fsid[34]; // 2 * 16 for %llx, 1 for ':', 1 for '\0' nfs_volume_list_show() local
[all...]
/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()
[all...]
/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
122 * overlay st_ino address space. The high bits holds the fsid in ovl_map_dev_ino()
123 * (upper fsid is 0). The lowest xinobit is reserved for mapping in ovl_map_dev_ino()
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()
850 ovl_map_ino(struct inode * inode,unsigned long ino,int fsid) ovl_map_ino() argument
890 ovl_inode_init(struct inode * inode,struct ovl_inode_params * oip,unsigned long ino,int fsid) ovl_inode_init() argument
1223 int fsid = bylower ? lowerpath->layer->fsid : 0; ovl_get_inode() local
[all...]
H A Dsuper.c569 upper_layer->fsid = 0; in ovl_get_upper()
989 /* Get a unique fsid for the layer */ in ovl_get_fsid()
1037 * The fsid after the last lower fsid is used for the data layers. in ovl_set_encoding()
1077 * idx/fsid 0 are reserved for upper fs even with lower only overlay in ovl_get_layers()
1078 * and the last fsid is reserved for "null fs" of the data layers. in ovl_get_layers()
1110 int fsid; in ovl_get_layers()
1113 fsid = ovl_get_fsid(ofs, &l->path); in ovl_get_layers()
1115 fsid = ovl_get_data_fsid(ofs); in ovl_get_layers()
1116 if (fsid < in ovl_get_layers()
1087 int fsid; ovl_get_layers() local
1331 int fsid = lowerpath->layer->fsid; ovl_get_root() local
[all...]
H A Dreaddir.c542 static u64 ovl_remap_lower_ino(u64 ino, int xinobits, int fsid,
559 return ino | ((u64)fsid) << (xinoshift + 1); in ovl_cache_update()
637 ovl_layer_lower(this)->fsid, in ovl_fill_plain()
772 int fsid; in ovl_fill_real()
795 ino = ovl_remap_lower_ino(ino, rdt->xinobits, rdt->fsid, in ovl_iterate_real()
837 rdt.fsid = lower_layer->fsid; in ovl_iterate_merged()
518 ovl_remap_lower_ino(u64 ino,int xinobits,int fsid,const char * name,int namelen,bool warn) ovl_remap_lower_ino() argument
745 int fsid; global() member
/linux/fs/dlm/
H A Dplock.c53 if (iter->info.fsid == info->fsid && in plock_lookup_waiter()
145 op->info.fsid = ls->ls_global_id; in dlm_posix_lock()
322 op->info.fsid = ls->ls_global_id; in dlm_posix_unlock()
381 info.fsid = ls->ls_global_id; in dlm_posix_cancel()
443 op->info.fsid = ls->ls_global_id; in dlm_posix_get()
560 iter->info.fsid == info.fsid) { in dev_write()
592 info.fsid, (unsigned long long)info.number); in dev_poll()
/linux/fs/ceph/
H A Dcache.c90 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs()
96 name = kasprintf(GFP_KERNEL, "ceph,%pU%s%s", fsid, uniq_len ? "," : "", in ceph_fscache_register_fs()
88 const struct ceph_fsid *fsid = &fsc->client->fsid; ceph_fscache_register_fs() local
/linux/fs/nfsd/
H A Dnfsxdr.c116 u32 fsid; in svcxdr_decode_filename()
141 fsid = (u32)fhp->fh_export->ex_fsid;
144 fsid = ((u32 *)fhp->fh_export->ex_uuid)[0]; in svcxdr_decode_sattr()
145 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[1]; in svcxdr_decode_sattr()
146 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[2]; in svcxdr_decode_sattr()
147 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[3]; in svcxdr_decode_sattr()
150 fsid = new_encode_dev(stat->dev); in svcxdr_decode_sattr()
153 *p++ = cpu_to_be32(fsid); in svcxdr_decode_sattr()
236 u32 fsid; svcxdr_encode_fattr() local
H A Dnfsfh.c231 u32 *fsid = fh_fsid(fh); in nfsd_set_fh_dentry()
242 fsid[0] = new_encode_dev(MKDEV(ntohl((__force __be32)fsid[0]), in nfsd_set_fh_dentry()
243 ntohl((__force __be32)fsid[1]))); in nfsd_set_fh_dentry()
244 fsid[1] = fsid[2]; in nfsd_set_fh_dentry()
638 * As the fsid -> filesystem mapping was guided by in set_version_and_fsid_type()
640 * actually supports that fsid type. If it doesn't we in set_version_and_fsid_type()
660 /* for newer device numbers, we must use a newer fsid format */ in set_version_and_fsid_type()
687 /* Choose filehandle version and fsid typ in fh_compose()
229 u32 *fsid = fh_fsid(fh); nfsd_set_fh_dentry() local
[all...]
H A Dnfsfh.h155 u32 fsid, unsigned char *uuid) in mk_fsid()
165 fsidv[0] = fsid; in mk_fsid()
179 /* 4 byte fsid and inode number */ in mk_fsid()
186 /* 8 byte fsid */ in mk_fsid()
193 /* 16 byte fsid - NFSv3+ only */ in mk_fsid()
198 /* 8 byte inode and 16 byte fsid */ in mk_fsid()
150 mk_fsid(int vers,u32 * fsidv,dev_t dev,ino_t ino,u32 fsid,unsigned char * uuid) mk_fsid() argument
/linux/fs/btrfs/
H A Dextent_io.h382 const void *fsid) in write_extent_buffer_fsid()
384 write_extent_buffer(eb, fsid, offsetof(struct btrfs_header, fsid), in write_extent_buffer_fsid()
383 write_extent_buffer_fsid(const struct extent_buffer * eb,const void * fsid) write_extent_buffer_fsid() argument
H A Dvolumes.c373 * Allocate new btrfs_fs_devices structure identified by a fsid.
375 * @fsid: if not NULL, copy the UUID to fs_devices::fsid and to
382 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_device in match_fsid_fs_devices()
462 find_fsid(const u8 * fsid,const u8 * metadata_fsid) find_fsid() argument
7806 open_seed_devices(struct btrfs_fs_info * fs_info,u8 * fsid) open_seed_devices() argument
[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