Home
last modified time | relevance | path

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

/fs/btrfs/
Dcheck-integrity.c303 static void btrfsic_stack_frame_free(struct btrfsic_stack_frame *sf);
943 struct btrfsic_stack_frame *sf; in btrfsic_stack_frame_alloc() local
945 sf = kzalloc(sizeof(*sf), GFP_NOFS); in btrfsic_stack_frame_alloc()
946 if (NULL == sf) in btrfsic_stack_frame_alloc()
949 sf->magic = BTRFSIC_BLOCK_STACK_FRAME_MAGIC_NUMBER; in btrfsic_stack_frame_alloc()
950 return sf; in btrfsic_stack_frame_alloc()
953 static void btrfsic_stack_frame_free(struct btrfsic_stack_frame *sf) in btrfsic_stack_frame_free() argument
955 BUG_ON(!(NULL == sf || in btrfsic_stack_frame_free()
956 BTRFSIC_BLOCK_STACK_FRAME_MAGIC_NUMBER == sf->magic)); in btrfsic_stack_frame_free()
957 kfree(sf); in btrfsic_stack_frame_free()
[all …]
/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.c34 static int kernfs_sop_show_options(struct seq_file *sf, struct dentry *dentry) in kernfs_sop_show_options() argument
40 return scops->show_options(sf, root); in kernfs_sop_show_options()
44 static int kernfs_sop_show_path(struct seq_file *sf, struct dentry *dentry) in kernfs_sop_show_path() argument
51 return scops->show_path(sf, node, root); in kernfs_sop_show_path()
53 seq_dentry(sf, dentry, " \t\n\\"); in kernfs_sop_show_path()
/fs/xfs/
Dxfs_attr_list.c73 xfs_attr_shortform_t *sf; in xfs_attr_shortform_list() local
83 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_list()
84 ASSERT(sf != NULL); in xfs_attr_shortform_list()
85 if (!sf->hdr.count) in xfs_attr_shortform_list()
103 (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { in xfs_attr_shortform_list()
104 for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) { in xfs_attr_shortform_list()
131 sbsize = sf->hdr.count * sizeof(*sbuf); in xfs_attr_shortform_list()
139 for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) { in xfs_attr_shortform_list()
141 ((char *)sfe < (char *)sf) || in xfs_attr_shortform_list()
142 ((char *)sfe >= ((char *)sf + dp->i_afp->if_bytes)))) { in xfs_attr_shortform_list()
/fs/pstore/
Dinode.c139 struct seq_file *sf = file->private_data; in pstore_file_read() local
140 struct pstore_private *ps = sf->private; in pstore_file_read()
150 struct seq_file *sf; in pstore_file_open() local
165 sf = file->private_data; in pstore_file_open()
166 sf->private = ps; in pstore_file_open()
173 struct seq_file *sf = file->private_data; in pstore_file_llseek() local
175 if (sf->op) in pstore_file_llseek()
/fs/xfs/libxfs/
Dxfs_attr_leaf.c536 xfs_attr_shortform_t *sf; in xfs_attr_shortform_add() local
551 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_add()
552 sfe = &sf->list[0]; in xfs_attr_shortform_add()
553 for (i = 0; i < sf->hdr.count; sfe = XFS_ATTR_SF_NEXTENTRY(sfe), i++) { in xfs_attr_shortform_add()
565 offset = (char *)sfe - (char *)sf; in xfs_attr_shortform_add()
568 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_add()
569 sfe = (xfs_attr_sf_entry_t *)((char *)sf + offset); in xfs_attr_shortform_add()
576 sf->hdr.count++; in xfs_attr_shortform_add()
577 be16_add_cpu(&sf->hdr.totsize, size); in xfs_attr_shortform_add()
608 xfs_attr_shortform_t *sf; in xfs_attr_shortform_remove() local
[all …]
/fs/hostfs/
Dhostfs_kern.c193 static int hostfs_statfs(struct dentry *dentry, struct kstatfs *sf) in hostfs_statfs() argument
208 &sf->f_bsize, &f_blocks, &f_bfree, &f_bavail, &f_files, in hostfs_statfs()
209 &f_ffree, &sf->f_fsid, sizeof(sf->f_fsid), in hostfs_statfs()
210 &sf->f_namelen); in hostfs_statfs()
213 sf->f_blocks = f_blocks; in hostfs_statfs()
214 sf->f_bfree = f_bfree; in hostfs_statfs()
215 sf->f_bavail = f_bavail; in hostfs_statfs()
216 sf->f_files = f_files; in hostfs_statfs()
217 sf->f_ffree = f_ffree; in hostfs_statfs()
218 sf->f_type = HOSTFS_SUPER_MAGIC; in hostfs_statfs()
/fs/sysfs/
Dfile.c42 static int sysfs_kf_seq_show(struct seq_file *sf, void *v) in sysfs_kf_seq_show() argument
44 struct kernfs_open_file *of = sf->private; in sysfs_kf_seq_show()
51 count = seq_get_buf(sf, &buf); in sysfs_kf_seq_show()
53 seq_commit(sf, -1); in sysfs_kf_seq_show()
78 seq_commit(sf, count); in sysfs_kf_seq_show()
/fs/ntfs/
Dinode.c2312 int ntfs_show_options(struct seq_file *sf, struct dentry *root) in ntfs_show_options() argument
2317 seq_printf(sf, ",uid=%i", from_kuid_munged(&init_user_ns, vol->uid)); in ntfs_show_options()
2318 seq_printf(sf, ",gid=%i", from_kgid_munged(&init_user_ns, vol->gid)); in ntfs_show_options()
2320 seq_printf(sf, ",umask=0%o", vol->fmask); in ntfs_show_options()
2322 seq_printf(sf, ",fmask=0%o", vol->fmask); in ntfs_show_options()
2323 seq_printf(sf, ",dmask=0%o", vol->dmask); in ntfs_show_options()
2325 seq_printf(sf, ",nls=%s", vol->nls_map->charset); in ntfs_show_options()
2327 seq_printf(sf, ",case_sensitive"); in ntfs_show_options()
2329 seq_printf(sf, ",show_sys_files"); in ntfs_show_options()
2331 seq_printf(sf, ",disable_sparse"); in ntfs_show_options()
[all …]
Dinode.h301 extern int ntfs_show_options(struct seq_file *sf, struct dentry *root);
/fs/ecryptfs/
DKconfig11 obtained from <http://ecryptfs.sf.net>.
/fs/9p/
DKconfig8 See <http://v9fs.sf.net> for more information.