/fs/ |
D | statfs.c | 72 struct kstatfs st; in vfs_get_fsid() local 75 error = statfs_by_dentry(dentry, &st); in vfs_get_fsid() 79 *fsid = st.f_fsid; in vfs_get_fsid() 95 int user_statfs(const char __user *pathname, struct kstatfs *st) in user_statfs() argument 103 error = vfs_statfs(&path, st); in user_statfs() 113 int fd_statfs(int fd, struct kstatfs *st) in fd_statfs() argument 118 error = vfs_statfs(&f.file->f_path, st); in fd_statfs() 124 static int do_statfs_native(struct kstatfs *st, struct statfs __user *p) in do_statfs_native() argument 128 if (sizeof(buf) == sizeof(*st)) in do_statfs_native() 129 memcpy(&buf, st, sizeof(*st)); in do_statfs_native() [all …]
|
D | stat.c | 297 # define INIT_STRUCT_STAT_PADDING(st) memset(&st, 0, sizeof(st)) argument 440 # define INIT_STRUCT_STAT64_PADDING(st) memset(&st, 0, sizeof(st)) argument
|
/fs/udf/ |
D | partition.c | 116 struct sparingTable *st = NULL; in udf_get_pblock_spar15() local 128 st = (struct sparingTable *) in udf_get_pblock_spar15() 134 if (st) { in udf_get_pblock_spar15() 135 for (i = 0; i < le16_to_cpu(st->reallocationTableLen); i++) { in udf_get_pblock_spar15() 136 struct sparingEntry *entry = &st->mapEntry[i]; in udf_get_pblock_spar15() 155 struct sparingTable *st = NULL; in udf_relocate_blocks() local 175 st = (struct sparingTable *) in udf_relocate_blocks() 180 if (!st) { in udf_relocate_blocks() 186 le16_to_cpu(st->reallocationTableLen); in udf_relocate_blocks() 188 struct sparingEntry *entry = &st->mapEntry[k]; in udf_relocate_blocks() [all …]
|
D | super.c | 1337 struct sparingTable *st; in udf_load_sparable_map() local 1363 st = (struct sparingTable *)bh->b_data; in udf_load_sparable_map() 1365 strncmp(st->sparingIdent.ident, UDF_ID_SPARING, in udf_load_sparable_map() 1367 sizeof(*st) + le16_to_cpu(st->reallocationTableLen) > in udf_load_sparable_map()
|
/fs/9p/ |
D | vfs_inode.c | 450 struct p9_wstat *st = (struct p9_wstat *)data; in v9fs_test_inode() local 453 umode = p9mode2unixmode(v9ses, st, &rdev); in v9fs_test_inode() 460 &st->qid.version, sizeof(v9inode->qid.version))) in v9fs_test_inode() 463 if (v9inode->qid.type != st->qid.type) in v9fs_test_inode() 466 if (v9inode->qid.path != st->qid.path) in v9fs_test_inode() 479 struct p9_wstat *st = (struct p9_wstat *)data; in v9fs_set_inode() local 481 memcpy(&v9inode->qid, &st->qid, sizeof(st->qid)); in v9fs_set_inode() 487 struct p9_wstat *st, in v9fs_qid_iget() argument 504 inode = iget5_locked(sb, i_ino, test, v9fs_set_inode, st); in v9fs_qid_iget() 515 umode = p9mode2unixmode(v9ses, st, &rdev); in v9fs_qid_iget() [all …]
|
D | vfs_inode_dotl.c | 59 struct p9_stat_dotl *st = (struct p9_stat_dotl *)data; in v9fs_test_inode_dotl() local 62 if ((inode->i_mode & S_IFMT) != (st->st_mode & S_IFMT)) in v9fs_test_inode_dotl() 65 if (inode->i_generation != st->st_gen) in v9fs_test_inode_dotl() 70 &st->qid.version, sizeof(v9inode->qid.version))) in v9fs_test_inode_dotl() 73 if (v9inode->qid.type != st->qid.type) in v9fs_test_inode_dotl() 76 if (v9inode->qid.path != st->qid.path) in v9fs_test_inode_dotl() 90 struct p9_stat_dotl *st = (struct p9_stat_dotl *)data; in v9fs_set_inode_dotl() local 92 memcpy(&v9inode->qid, &st->qid, sizeof(st->qid)); in v9fs_set_inode_dotl() 93 inode->i_generation = st->st_gen; in v9fs_set_inode_dotl() 100 struct p9_stat_dotl *st, in v9fs_qid_iget_dotl() argument [all …]
|
D | vfs_super.c | 157 struct p9_stat_dotl *st = NULL; in v9fs_mount() local 158 st = p9_client_getattr_dotl(fid, P9_STATS_BASIC); in v9fs_mount() 159 if (IS_ERR(st)) { in v9fs_mount() 160 retval = PTR_ERR(st); in v9fs_mount() 163 d_inode(root)->i_ino = v9fs_qid2ino(&st->qid); in v9fs_mount() 164 v9fs_stat2inode_dotl(st, d_inode(root), 0); in v9fs_mount() 165 kfree(st); in v9fs_mount() 167 struct p9_wstat *st = NULL; in v9fs_mount() local 168 st = p9_client_stat(fid); in v9fs_mount() 169 if (IS_ERR(st)) { in v9fs_mount() [all …]
|
D | vfs_dir.c | 89 struct p9_wstat st; in v9fs_dir_readdir() local 124 rdir->tail - rdir->head, &st); in v9fs_dir_readdir() 130 over = !dir_emit(ctx, st.name, strlen(st.name), in v9fs_dir_readdir() 131 v9fs_qid2ino(&st.qid), dt_type(&st)); in v9fs_dir_readdir() 132 p9stat_free(&st); in v9fs_dir_readdir()
|
/fs/hostfs/ |
D | hostfs_user.c | 196 struct hostfs_stat st; in set_attr() local 240 err = stat_file(file, &st, fd); in set_attr() 244 times[0].tv_sec = st.atime.tv_sec; in set_attr() 245 times[0].tv_usec = st.atime.tv_nsec / 1000; in set_attr() 246 times[1].tv_sec = st.mtime.tv_sec; in set_attr() 247 times[1].tv_usec = st.mtime.tv_nsec / 1000; in set_attr() 268 err = stat_file(file, &st, fd); in set_attr() 269 attrs->ia_atime = st.atime; in set_attr() 270 attrs->ia_mtime = st.mtime; in set_attr()
|
D | hostfs_kern.c | 515 struct hostfs_stat st; in read_name() local 516 int err = stat_file(name, &st, -1); in read_name() 521 rdev = MKDEV(st.maj, st.min); in read_name() 523 switch (st.mode & S_IFMT) { in read_name() 535 init_special_inode(ino, st.mode & S_IFMT, rdev); in read_name() 547 ino->i_ino = st.ino; in read_name() 548 ino->i_mode = st.mode; in read_name() 549 set_nlink(ino, st.nlink); in read_name() 550 i_uid_write(ino, st.uid); in read_name() 551 i_gid_write(ino, st.gid); in read_name() [all …]
|
/fs/ocfs2/dlm/ |
D | dlmapi.h | 76 #define dlm_error(st) do { \ argument 77 if ((st) != DLM_RECOVERING && \ 78 (st) != DLM_MIGRATING && \ 79 (st) != DLM_FORWARD) \ 80 mlog(ML_ERROR, "dlm status = %s\n", dlm_errname((st))); \
|
D | dlmrecovery.c | 75 static void dlm_reco_unlock_ast(void *astdata, enum dlm_status st); 248 char *st = "unknown"; in dlm_print_reco_node_status() local 251 st = "init"; in dlm_print_reco_node_status() 254 st = "requesting"; in dlm_print_reco_node_status() 257 st = "dead"; in dlm_print_reco_node_status() 260 st = "receiving"; in dlm_print_reco_node_status() 263 st = "requested"; in dlm_print_reco_node_status() 266 st = "done"; in dlm_print_reco_node_status() 269 st = "finalize-sent"; in dlm_print_reco_node_status() 272 st = "bad"; in dlm_print_reco_node_status() [all …]
|
/fs/ocfs2/cluster/ |
D | masklog.h | 176 #define mlog_errno(st) ({ \ argument 177 int _st = (st); \
|
/fs/nfsd/ |
D | nfs3acl.c | 16 #define RETURN_STATUS(st) { resp->status = (st); return (st); } argument
|
D | nfs2acl.c | 17 #define RETURN_STATUS(st) { resp->status = (st); return (st); } argument
|
D | nfs4state.c | 2365 static int nfs4_show_open(struct seq_file *s, struct nfs4_stid *st) in nfs4_show_open() argument 2373 if (st->sc_type != NFS4_OPEN_STID && st->sc_type != NFS4_LOCK_STID) in nfs4_show_open() 2375 ols = openlockstateid(st); in nfs4_show_open() 2377 nf = st->sc_file; in nfs4_show_open() 2380 seq_printf(s, "- 0x%16phN: { type: open, ", &st->sc_stateid); in nfs4_show_open() 2401 static int nfs4_show_lock(struct seq_file *s, struct nfs4_stid *st) in nfs4_show_lock() argument 2408 ols = openlockstateid(st); in nfs4_show_lock() 2410 nf = st->sc_file; in nfs4_show_lock() 2413 seq_printf(s, "- 0x%16phN: { type: lock, ", &st->sc_stateid); in nfs4_show_lock() 2432 static int nfs4_show_deleg(struct seq_file *s, struct nfs4_stid *st) in nfs4_show_deleg() argument [all …]
|
D | nfs3proc.c | 18 #define RETURN_STATUS(st) { resp->status = (st); return (st); } argument
|
/fs/affs/ |
D | affs.h | 17 #define GET_END_PTR(st,p,sz) ((st *)((char *)(p)+((sz)-sizeof(st)))) argument
|
/fs/ceph/ |
D | super.c | 50 struct ceph_statfs st; in ceph_statfs() local 62 err = ceph_monc_do_statfs(monc, data_pool, &st); in ceph_statfs() 88 buf->f_blocks = le64_to_cpu(st.kb) >> (CEPH_BLOCK_SHIFT-10); in ceph_statfs() 89 buf->f_bfree = le64_to_cpu(st.kb_avail) >> (CEPH_BLOCK_SHIFT-10); in ceph_statfs() 90 buf->f_bavail = le64_to_cpu(st.kb_avail) >> (CEPH_BLOCK_SHIFT-10); in ceph_statfs() 93 buf->f_files = le64_to_cpu(st.num_objects); in ceph_statfs()
|
/fs/cifs/ |
D | netmisc.c | 952 SMB_TIME *st = (SMB_TIME *)&time; in cnvrtDosUnixTm() local 957 sec = 2 * st->TwoSeconds; in cnvrtDosUnixTm() 958 min = st->Minutes; in cnvrtDosUnixTm() 962 sec += 60 * 60 * st->Hours; in cnvrtDosUnixTm() 963 if (st->Hours > 24) in cnvrtDosUnixTm() 964 cifs_dbg(VFS, "illegal hours %d\n", st->Hours); in cnvrtDosUnixTm()
|
/fs/gfs2/ |
D | rgrp.c | 1921 struct gfs2_lkstats *st; in gfs2_rgrp_congested() local 1931 st = &per_cpu_ptr(sdp->sd_lkstats, cpu)->lkstats[LM_TYPE_RGRP]; in gfs2_rgrp_congested() 1932 if (st->stats[GFS2_LKS_SRTTB]) { in gfs2_rgrp_congested() 1933 a_srttb += st->stats[GFS2_LKS_SRTTB]; in gfs2_rgrp_congested() 1937 st = &this_cpu_ptr(sdp->sd_lkstats)->lkstats[LM_TYPE_RGRP]; in gfs2_rgrp_congested() 1940 r_dcount = st->stats[GFS2_LKS_DCOUNT]; in gfs2_rgrp_congested() 1941 var = st->stats[GFS2_LKS_SRTTVARB] + in gfs2_rgrp_congested()
|
/fs/fuse/ |
D | inode.c | 433 convert_fuse_statfs(buf, &outarg.st); in fuse_statfs()
|