Home
last modified time | relevance | path

Searched refs:st (Results 1 – 25 of 26) sorted by relevance

12

/fs/
A Dstatfs.c74 struct kstatfs st; in vfs_get_fsid() local
81 *fsid = st.f_fsid; in vfs_get_fsid()
129 memcpy(&buf, st, sizeof(*st)); in do_statfs_native()
133 if ((st->f_blocks | st->f_bfree | st->f_bavail | in do_statfs_native()
134 st->f_bsize | st->f_frsize) & in do_statfs_native()
149 buf.f_type = st->f_type; in do_statfs_native()
170 memcpy(&buf, st, sizeof(*st)); in do_statfs64()
192 struct kstatfs st; in SYSCALL_DEFINE2() local
201 struct kstatfs st; in SYSCALL_DEFINE3() local
213 struct kstatfs st; in SYSCALL_DEFINE2() local
[all …]
A Dstat.c467 # define INIT_STRUCT_STAT_PADDING(st) memset(&st, 0, sizeof(st)) argument
621 # define INIT_STRUCT_STAT64_PADDING(st) memset(&st, 0, sizeof(st)) argument
/fs/udf/
A Dpartition.c111 struct sparingTable *st = NULL; in udf_get_pblock_spar15() local
123 st = (struct sparingTable *) in udf_get_pblock_spar15()
129 if (st) { in udf_get_pblock_spar15()
150 struct sparingTable *st = NULL; in udf_relocate_blocks() local
170 st = (struct sparingTable *) in udf_relocate_blocks()
175 if (!st) { in udf_relocate_blocks()
193 st = (struct sparingTable *) in udf_relocate_blocks()
236 mapEntry = st->mapEntry[l]; in udf_relocate_blocks()
240 &st->mapEntry[k], in udf_relocate_blocks()
243 st->mapEntry[k] = mapEntry; in udf_relocate_blocks()
[all …]
A Dsuper.c1385 struct sparingTable *st; in udf_load_sparable_map() local
1417 st = (struct sparingTable *)bh->b_data; in udf_load_sparable_map()
1419 strncmp(st->sparingIdent.ident, UDF_ID_SPARING, in udf_load_sparable_map()
1421 sizeof(*st) + le16_to_cpu(st->reallocationTableLen) > in udf_load_sparable_map()
/fs/9p/
A Dvfs_inode_dotl.c91 memcpy(&v9inode->qid, &st->qid, sizeof(st->qid)); in v9fs_set_inode_dotl()
124 st->st_mode, new_decode_dev(st->st_rdev)); in v9fs_qid_iget_dotl()
151 if (IS_ERR(st)) in v9fs_inode_from_fid_dotl()
152 return ERR_CAST(st); in v9fs_inode_from_fid_dotl()
154 inode = v9fs_qid_iget_dotl(sb, &st->qid, fid, st, new); in v9fs_inode_from_fid_dotl()
155 kfree(st); in v9fs_inode_from_fid_dotl()
458 if (IS_ERR(st)) in v9fs_vfs_getattr_dotl()
459 return PTR_ERR(st); in v9fs_vfs_getattr_dotl()
466 kfree(st); in v9fs_vfs_getattr_dotl()
900 if (IS_ERR(st)) in v9fs_refresh_inode_dotl()
[all …]
A Dvfs_inode.c401 memcpy(&v9inode->qid, &st->qid, sizeof(st->qid)); in v9fs_set_inode()
457 if (IS_ERR(st)) in v9fs_inode_from_fid()
460 inode = v9fs_qid_iget(sb, &st->qid, st, new); in v9fs_inode_from_fid()
461 p9stat_free(st); in v9fs_inode_from_fid()
462 kfree(st); in v9fs_inode_from_fid()
1003 if (IS_ERR(st)) in v9fs_vfs_getattr()
1010 kfree(st); in v9fs_vfs_getattr()
1193 if (IS_ERR(st)) in v9fs_vfs_get_link()
1198 kfree(st); in v9fs_vfs_get_link()
1207 kfree(st); in v9fs_vfs_get_link()
[all …]
A Dvfs_dir.c87 struct p9_wstat st; in v9fs_dir_readdir() local
123 rdir->tail - rdir->head, &st); in v9fs_dir_readdir()
129 over = !dir_emit(ctx, st.name, strlen(st.name), in v9fs_dir_readdir()
130 QID2INO(&st.qid), dt_type(&st)); in v9fs_dir_readdir()
131 p9stat_free(&st); in v9fs_dir_readdir()
/fs/smb/server/
A Dtransport_rdma.c747 put_recvmsg(st, recvmsg); in smb_direct_read()
764 if (is_receive_credit_post_required(st->recv_credits, st->count_avail_recvmsg)) { in smb_direct_read()
776 st->first_entry_offset); in smb_direct_read()
1492 free_transport(st); in smb_direct_disconnect()
1959 st->max_recv_size = min_t(int, st->max_recv_size, in smb_direct_prepare()
1961 st->max_send_size = min_t(int, st->max_send_size, in smb_direct_prepare()
1963 st->max_fragmented_send_size = in smb_direct_prepare()
1965 st->max_fragmented_recv_size = in smb_direct_prepare()
1966 (st->recv_credit_max * st->max_recv_size) / 2; in smb_direct_prepare()
1971 st->reassembly_queue_length--; in smb_direct_prepare()
[all …]
A Dmisc.c200 int get_nlink(struct kstat *st) in get_nlink() argument
204 nlink = st->nlink; in get_nlink()
205 if (S_ISDIR(st->mode)) in get_nlink()
A Dmisc.h19 int get_nlink(struct kstat *st);
/fs/hostfs/
A Dhostfs_kern.c506 st->atime.tv_sec, in hostfs_inode_update()
507 st->atime.tv_nsec, in hostfs_inode_update()
510 st->mtime.tv_sec, in hostfs_inode_update()
511 st->mtime.tv_nsec, in hostfs_inode_update()
513 inode_set_ctime(ino, st->ctime.tv_sec, st->ctime.tv_nsec); in hostfs_inode_update()
525 rdev = MKDEV(st->rdev.maj, st->rdev.min); in hostfs_inode_set()
526 dev = MKDEV(st->dev.maj, st->dev.min); in hostfs_inode_set()
554 ino->i_ino = st->ino; in hostfs_inode_set()
562 dev_t dev = MKDEV(st->dev.maj, st->dev.min); in hostfs_inode_test()
573 struct hostfs_stat st; in hostfs_iget() local
[all …]
A Dhostfs_user.c207 struct hostfs_stat st; in set_attr() local
251 err = stat_file(file, &st, fd); in set_attr()
255 times[0].tv_sec = st.atime.tv_sec; in set_attr()
256 times[0].tv_usec = st.atime.tv_nsec / 1000; in set_attr()
257 times[1].tv_sec = st.mtime.tv_sec; in set_attr()
258 times[1].tv_usec = st.mtime.tv_nsec / 1000; in set_attr()
279 err = stat_file(file, &st, fd); in set_attr()
280 attrs->ia_atime = st.atime; in set_attr()
281 attrs->ia_mtime = st.mtime; in set_attr()
/fs/ocfs2/dlm/
A Ddlmapi.h72 #define dlm_error(st) do { \ argument
73 if ((st) != DLM_RECOVERING && \
74 (st) != DLM_MIGRATING && \
75 (st) != DLM_FORWARD) \
76 mlog(ML_ERROR, "dlm status = %s\n", dlm_errname((st))); \
A Ddlmrecovery.c73 static void dlm_reco_unlock_ast(void *astdata, enum dlm_status st);
239 char *st = "unknown"; in dlm_print_reco_node_status() local
242 st = "init"; in dlm_print_reco_node_status()
245 st = "requesting"; in dlm_print_reco_node_status()
248 st = "dead"; in dlm_print_reco_node_status()
251 st = "receiving"; in dlm_print_reco_node_status()
254 st = "requested"; in dlm_print_reco_node_status()
257 st = "done"; in dlm_print_reco_node_status()
260 st = "finalize-sent"; in dlm_print_reco_node_status()
263 st = "bad"; in dlm_print_reco_node_status()
[all …]
/fs/xfs/
A Dxfs_super.c876 struct kstatfs *st) in xfs_statfs_data() argument
882 st->f_bfree = max(0LL, in xfs_statfs_data()
900 struct kstatfs *st) in xfs_statfs_rt() argument
911 struct kstatfs *st) in xfs_statfs_inodes() argument
919 st->f_files = min_t(typeof(st->f_files), st->f_files, in xfs_statfs_inodes()
923 st->f_files = max_t(typeof(st->f_files), st->f_files, in xfs_statfs_inodes()
927 st->f_ffree = max_t(int64_t, 0, st->f_files - (icount - ifree)); in xfs_statfs_inodes()
933 struct kstatfs *st) in xfs_fs_statfs() argument
949 xfs_statfs_data(mp, st); in xfs_fs_statfs()
954 xfs_statfs_rt(mp, st); in xfs_fs_statfs()
[all …]
/fs/ocfs2/cluster/
A Dmasklog.h174 #define mlog_errno(st) ({ \ argument
175 int _st = (st); \
/fs/nfsd/
A Dnfs4state.c731 if (st->st_openstp) in nfs4_resolve_deny_conflicts_locked()
733 if (st == stp && new_stp) in nfs4_resolve_deny_conflicts_locked()
736 bmap = share_access ? st->st_deny_bmap : st->st_access_bmap; in nfs4_resolve_deny_conflicts_locked()
2875 nf = st->sc_file; in nfs4_show_open()
2919 nf = st->sc_file; in nfs4_show_lock()
2970 ds = delegstateid(st); in nfs4_show_deleg()
2971 nf = st->sc_file; in nfs4_show_deleg()
3027 struct nfs4_stid *st = v; in states_show() local
3029 switch (st->sc_type) { in states_show()
5023 struct nfs4_stid *st; in nfsd40_drop_revoked_stid() local
[all …]
A Dnfs4proc.c1146 struct nfs4_stid *st = NULL; in nfsd4_setattr() local
1162 flags, NULL, &st); in nfsd4_setattr()
1169 if (st->sc_type & SC_TYPE_DELEG) { in nfsd4_setattr()
1170 struct nfs4_delegation *dp = delegstateid(st); in nfsd4_setattr()
1177 if (st) in nfsd4_setattr()
1178 nfs4_put_stid(st); in nfsd4_setattr()
A Dstate.h822 extern __be32 manage_cpntf_state(struct nfsd_net *nn, stateid_t *st,
/fs/smb/client/
A Dnetmisc.c983 SMB_TIME *st = (SMB_TIME *)&time; in cnvrtDosUnixTm() local
988 sec = 2 * st->TwoSeconds; in cnvrtDosUnixTm()
989 min = st->Minutes; in cnvrtDosUnixTm()
993 sec += 60 * 60 * st->Hours; in cnvrtDosUnixTm()
994 if (st->Hours > 24) in cnvrtDosUnixTm()
995 cifs_dbg(VFS, "Invalid hours %d\n", st->Hours); in cnvrtDosUnixTm()
/fs/bcachefs/
A Dsnapshot.c481 struct bkey_s_c_snapshot_tree st; in check_snapshot_tree() local
492 st = bkey_s_c_to_snapshot_tree(k); in check_snapshot_tree()
493 root_id = le32_to_cpu(st.v->root_snapshot); in check_snapshot_tree()
507 st.k->p.offset != le32_to_cpu(s.tree), in check_snapshot_tree()
510 (bch2_bkey_val_to_text(&buf, c, st.s_c), in check_snapshot_tree()
520 if (!st.v->master_subvol) in check_snapshot_tree()
523 ret = bch2_subvolume_get(trans, le32_to_cpu(st.v->master_subvol), false, &subvol); in check_snapshot_tree()
531 bch2_bkey_val_to_text(&buf, c, st.s_c), buf.buf)) || in check_snapshot_tree()
538 bch2_bkey_val_to_text(&buf, c, st.s_c), buf.buf)) || in check_snapshot_tree()
543 bch2_bkey_val_to_text(&buf, c, st.s_c), buf.buf))) { in check_snapshot_tree()
[all …]
A Dsubvolume.c156 struct bch_snapshot_tree st; in check_subvol() local
157 ret = bch2_snapshot_tree_lookup(trans, snapshot_tree, &st); in check_subvol()
165 if (fsck_err_on(le32_to_cpu(st.master_subvol) != subvol.k->p.offset, in check_subvol()
A Dfsck.c175 struct bch_snapshot_tree st; in lookup_lostfound() local
177 bch2_snapshot_tree(c, snapshot), &st); in lookup_lostfound()
251 snapshot = le32_to_cpu(st.root_snapshot); in lookup_lostfound()
271 lostfound->bi_snapshot = le32_to_cpu(st.root_snapshot); in lookup_lostfound()
627 struct bkey_i_snapshot_tree *st = bch2_bkey_get_mut_typed(trans, &iter, in reconstruct_subvol() local
630 ret = PTR_ERR_OR_ZERO(st); in reconstruct_subvol()
635 if (!st->v.master_subvol) in reconstruct_subvol()
636 st->v.master_subvol = cpu_to_le32(subvolid); in reconstruct_subvol()
/fs/ceph/
A Dsuper.c59 struct ceph_statfs st; in ceph_statfs() local
70 err = ceph_monc_do_statfs(monc, data_pool, &st); in ceph_statfs()
90 buf->f_blocks = le64_to_cpu(st.kb) >> (CEPH_BLOCK_SHIFT-10); in ceph_statfs()
91 buf->f_bfree = le64_to_cpu(st.kb_avail) >> (CEPH_BLOCK_SHIFT-10); in ceph_statfs()
92 buf->f_bavail = le64_to_cpu(st.kb_avail) >> (CEPH_BLOCK_SHIFT-10); in ceph_statfs()
103 buf->f_files = le64_to_cpu(st.num_objects); in ceph_statfs()
/fs/gfs2/
A Drgrp.c1927 struct gfs2_lkstats *st; in gfs2_rgrp_congested() local
1937 st = &per_cpu_ptr(sdp->sd_lkstats, cpu)->lkstats[LM_TYPE_RGRP]; in gfs2_rgrp_congested()
1938 if (st->stats[GFS2_LKS_SRTTB]) { in gfs2_rgrp_congested()
1939 a_srttb += st->stats[GFS2_LKS_SRTTB]; in gfs2_rgrp_congested()
1943 st = &this_cpu_ptr(sdp->sd_lkstats)->lkstats[LM_TYPE_RGRP]; in gfs2_rgrp_congested()
1946 r_dcount = st->stats[GFS2_LKS_DCOUNT]; in gfs2_rgrp_congested()
1947 var = st->stats[GFS2_LKS_SRTTVARB] + in gfs2_rgrp_congested()

Completed in 97 milliseconds

12