Home
last modified time | relevance | path

Searched refs:sf (Results 1 – 13 of 13) sorted by relevance

/fs/btrfs/
Dcheck-integrity.c866 struct btrfsic_stack_frame *sf; in btrfsic_stack_frame_alloc() local
868 sf = kzalloc(sizeof(*sf), GFP_NOFS); in btrfsic_stack_frame_alloc()
869 if (sf) in btrfsic_stack_frame_alloc()
870 sf->magic = BTRFSIC_BLOCK_STACK_FRAME_MAGIC_NUMBER; in btrfsic_stack_frame_alloc()
871 return sf; in btrfsic_stack_frame_alloc()
874 static void btrfsic_stack_frame_free(struct btrfsic_stack_frame *sf) in btrfsic_stack_frame_free() argument
876 BUG_ON(!(NULL == sf || in btrfsic_stack_frame_free()
877 BTRFSIC_BLOCK_STACK_FRAME_MAGIC_NUMBER == sf->magic)); in btrfsic_stack_frame_free()
878 kfree(sf); in btrfsic_stack_frame_free()
888 struct btrfsic_stack_frame *sf; in btrfsic_process_metablock() local
[all …]
/fs/xfs/
Dxfs_attr_list.c58 struct xfs_attr_shortform *sf; in xfs_attr_shortform_list() local
64 sf = (struct xfs_attr_shortform *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_list()
65 ASSERT(sf != NULL); in xfs_attr_shortform_list()
66 if (!sf->hdr.count) in xfs_attr_shortform_list()
82 (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { in xfs_attr_shortform_list()
83 for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) { in xfs_attr_shortform_list()
112 sbsize = sf->hdr.count * sizeof(*sbuf); in xfs_attr_shortform_list()
120 for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) { in xfs_attr_shortform_list()
122 ((char *)sfe < (char *)sf) || in xfs_attr_shortform_list()
123 ((char *)sfe >= ((char *)sf + dp->i_afp->if_bytes)))) { in xfs_attr_shortform_list()
/fs/kernfs/
Dfile.c93 static void kernfs_seq_stop_active(struct seq_file *sf, void *v) in kernfs_seq_stop_active() argument
95 struct kernfs_open_file *of = sf->private; in kernfs_seq_stop_active()
99 ops->seq_stop(sf, v); in kernfs_seq_stop_active()
103 static void *kernfs_seq_start(struct seq_file *sf, loff_t *ppos) in kernfs_seq_start() argument
105 struct kernfs_open_file *of = sf->private; in kernfs_seq_start()
118 void *next = ops->seq_start(sf, ppos); in kernfs_seq_start()
121 kernfs_seq_stop_active(sf, next); in kernfs_seq_start()
132 static void *kernfs_seq_next(struct seq_file *sf, void *v, loff_t *ppos) in kernfs_seq_next() argument
134 struct kernfs_open_file *of = sf->private; in kernfs_seq_next()
138 void *next = ops->seq_next(sf, v, ppos); in kernfs_seq_next()
[all …]
Dmount.c24 static int kernfs_sop_show_options(struct seq_file *sf, struct dentry *dentry) in kernfs_sop_show_options() argument
30 return scops->show_options(sf, root); in kernfs_sop_show_options()
34 static int kernfs_sop_show_path(struct seq_file *sf, struct dentry *dentry) in kernfs_sop_show_path() argument
41 return scops->show_path(sf, node, root); in kernfs_sop_show_path()
43 seq_dentry(sf, dentry, " \t\n\\"); in kernfs_sop_show_path()
/fs/pstore/
Dinode.c131 struct seq_file *sf = file->private_data; in pstore_file_read() local
132 struct pstore_private *ps = sf->private; in pstore_file_read()
143 struct seq_file *sf; in pstore_file_open() local
154 sf = file->private_data; in pstore_file_open()
155 sf->private = ps; in pstore_file_open()
162 struct seq_file *sf = file->private_data; in pstore_file_llseek() local
164 if (sf->op) in pstore_file_llseek()
/fs/xfs/libxfs/
Dxfs_attr_leaf.c685 struct xfs_attr_shortform *sf; in xfs_attr_sf_findname() local
692 sf = (struct xfs_attr_shortform *)args->dp->i_afp->if_u1.if_data; in xfs_attr_sf_findname()
693 sfe = &sf->list[0]; in xfs_attr_sf_findname()
694 end = sf->hdr.count; in xfs_attr_sf_findname()
724 struct xfs_attr_shortform *sf; in xfs_attr_shortform_add() local
739 sf = (struct xfs_attr_shortform *)ifp->if_u1.if_data; in xfs_attr_shortform_add()
743 offset = (char *)sfe - (char *)sf; in xfs_attr_shortform_add()
746 sf = (struct xfs_attr_shortform *)ifp->if_u1.if_data; in xfs_attr_shortform_add()
747 sfe = (struct xfs_attr_sf_entry *)((char *)sf + offset); in xfs_attr_shortform_add()
754 sf->hdr.count++; in xfs_attr_shortform_add()
[all …]
Dxfs_attr.c838 struct xfs_attr_shortform *sf; in xfs_attr_sf_totsize() local
840 sf = (struct xfs_attr_shortform *)dp->i_afp->if_u1.if_data; in xfs_attr_sf_totsize()
841 return be16_to_cpu(sf->hdr.totsize); in xfs_attr_sf_totsize()
/fs/hostfs/
Dhostfs_kern.c192 static int hostfs_statfs(struct dentry *dentry, struct kstatfs *sf) in hostfs_statfs() argument
207 &sf->f_bsize, &f_blocks, &f_bfree, &f_bavail, &f_files, in hostfs_statfs()
208 &f_ffree, &sf->f_fsid, sizeof(sf->f_fsid), in hostfs_statfs()
209 &sf->f_namelen); in hostfs_statfs()
212 sf->f_blocks = f_blocks; in hostfs_statfs()
213 sf->f_bfree = f_bfree; in hostfs_statfs()
214 sf->f_bavail = f_bavail; in hostfs_statfs()
215 sf->f_files = f_files; in hostfs_statfs()
216 sf->f_ffree = f_ffree; in hostfs_statfs()
217 sf->f_type = HOSTFS_SUPER_MAGIC; in hostfs_statfs()
/fs/sysfs/
Dfile.c40 static int sysfs_kf_seq_show(struct seq_file *sf, void *v) in sysfs_kf_seq_show() argument
42 struct kernfs_open_file *of = sf->private; in sysfs_kf_seq_show()
49 count = seq_get_buf(sf, &buf); in sysfs_kf_seq_show()
51 seq_commit(sf, -1); in sysfs_kf_seq_show()
76 seq_commit(sf, count); in sysfs_kf_seq_show()
/fs/ntfs/
Dinode.c2304 int ntfs_show_options(struct seq_file *sf, struct dentry *root) in ntfs_show_options() argument
2309 seq_printf(sf, ",uid=%i", from_kuid_munged(&init_user_ns, vol->uid)); in ntfs_show_options()
2310 seq_printf(sf, ",gid=%i", from_kgid_munged(&init_user_ns, vol->gid)); in ntfs_show_options()
2312 seq_printf(sf, ",umask=0%o", vol->fmask); in ntfs_show_options()
2314 seq_printf(sf, ",fmask=0%o", vol->fmask); in ntfs_show_options()
2315 seq_printf(sf, ",dmask=0%o", vol->dmask); in ntfs_show_options()
2317 seq_printf(sf, ",nls=%s", vol->nls_map->charset); in ntfs_show_options()
2319 seq_printf(sf, ",case_sensitive"); in ntfs_show_options()
2321 seq_printf(sf, ",show_sys_files"); in ntfs_show_options()
2323 seq_printf(sf, ",disable_sparse"); in ntfs_show_options()
[all …]
Dinode.h285 extern int ntfs_show_options(struct seq_file *sf, struct dentry *root);
/fs/ecryptfs/
DKconfig12 obtained from <http://ecryptfs.sf.net>.
/fs/9p/
DKconfig9 See <http://v9fs.sf.net> for more information.