/fs/autofs4/ |
D | dev-ioctl.c | 169 static int autofs_dev_ioctl_protover(struct file *fp, in autofs_dev_ioctl_protover() argument 178 static int autofs_dev_ioctl_protosubver(struct file *fp, in autofs_dev_ioctl_protosubver() argument 278 static int autofs_dev_ioctl_openmount(struct file *fp, in autofs_dev_ioctl_openmount() argument 308 static int autofs_dev_ioctl_closemount(struct file *fp, in autofs_dev_ioctl_closemount() argument 319 static int autofs_dev_ioctl_ready(struct file *fp, in autofs_dev_ioctl_ready() argument 333 static int autofs_dev_ioctl_fail(struct file *fp, in autofs_dev_ioctl_fail() argument 357 static int autofs_dev_ioctl_setpipefd(struct file *fp, in autofs_dev_ioctl_setpipefd() argument 398 static int autofs_dev_ioctl_catatonic(struct file *fp, in autofs_dev_ioctl_catatonic() argument 407 static int autofs_dev_ioctl_timeout(struct file *fp, in autofs_dev_ioctl_timeout() argument 427 static int autofs_dev_ioctl_requester(struct file *fp, in autofs_dev_ioctl_requester() argument [all …]
|
/fs/ocfs2/ |
D | locks.c | 42 struct ocfs2_file_private *fp = file->private_data; in ocfs2_do_flock() local 43 struct ocfs2_lock_res *lockres = &fp->fp_flock; in ocfs2_do_flock() 50 mutex_lock(&fp->fp_mutex); in ocfs2_do_flock() 87 mutex_unlock(&fp->fp_mutex); in ocfs2_do_flock() 95 struct ocfs2_file_private *fp = file->private_data; in ocfs2_do_funlock() local 97 mutex_lock(&fp->fp_mutex); in ocfs2_do_funlock() 100 mutex_unlock(&fp->fp_mutex); in ocfs2_do_funlock()
|
D | file.c | 69 struct ocfs2_file_private *fp; in ocfs2_init_file_private() local 71 fp = kzalloc(sizeof(struct ocfs2_file_private), GFP_KERNEL); in ocfs2_init_file_private() 72 if (!fp) in ocfs2_init_file_private() 75 fp->fp_file = file; in ocfs2_init_file_private() 76 mutex_init(&fp->fp_mutex); in ocfs2_init_file_private() 77 ocfs2_file_lock_res_init(&fp->fp_flock, fp); in ocfs2_init_file_private() 78 file->private_data = fp; in ocfs2_init_file_private() 85 struct ocfs2_file_private *fp = file->private_data; in ocfs2_free_file_private() local 88 if (fp) { in ocfs2_free_file_private() 89 ocfs2_simple_drop_lockres(osb, &fp->fp_flock); in ocfs2_free_file_private() [all …]
|
D | dlmglue.h | 101 struct ocfs2_file_private *fp);
|
D | dlmglue.c | 580 struct ocfs2_file_private *fp = lockres->l_priv; in ocfs2_get_file_osb() local 582 return OCFS2_SB(fp->fp_file->f_mapping->host->i_sb); in ocfs2_get_file_osb() 686 struct ocfs2_file_private *fp) in ocfs2_file_lock_res_init() argument 688 struct inode *inode = fp->fp_file->f_mapping->host; in ocfs2_file_lock_res_init() 696 fp); in ocfs2_file_lock_res_init() 1845 struct ocfs2_file_private *fp = file->private_data; in ocfs2_file_lock() local 1846 struct ocfs2_lock_res *lockres = &fp->fp_flock; in ocfs2_file_lock() 1941 struct ocfs2_file_private *fp = file->private_data; in ocfs2_file_unlock() local 1942 struct ocfs2_lock_res *lockres = &fp->fp_flock; in ocfs2_file_unlock()
|
D | alloc.c | 1879 struct find_path_data *fp = data; in find_path_ins() local 1882 ocfs2_path_insert_eb(fp->path, fp->index, bh); in find_path_ins() 1883 fp->index++; in find_path_ins()
|
/fs/nfsd/ |
D | nfs4state.c | 189 static void __nfs4_file_get_access(struct nfs4_file *fp, int oflag) in __nfs4_file_get_access() argument 191 BUG_ON(!(fp->fi_fds[oflag] || fp->fi_fds[O_RDWR])); in __nfs4_file_get_access() 192 atomic_inc(&fp->fi_access[oflag]); in __nfs4_file_get_access() 195 static void nfs4_file_get_access(struct nfs4_file *fp, int oflag) in nfs4_file_get_access() argument 198 __nfs4_file_get_access(fp, O_RDONLY); in nfs4_file_get_access() 199 __nfs4_file_get_access(fp, O_WRONLY); in nfs4_file_get_access() 201 __nfs4_file_get_access(fp, oflag); in nfs4_file_get_access() 204 static void nfs4_file_put_fd(struct nfs4_file *fp, int oflag) in nfs4_file_put_fd() argument 206 if (fp->fi_fds[oflag]) { in nfs4_file_put_fd() 207 fput(fp->fi_fds[oflag]); in nfs4_file_put_fd() [all …]
|
D | export.c | 1135 static int show_secinfo_run(struct seq_file *m, struct exp_flavor_info **fp, struct exp_flavor_info… in show_secinfo_run() argument 1139 flags = (*fp)->flags; in show_secinfo_run() 1140 seq_printf(m, ",sec=%d", (*fp)->pseudoflavor); in show_secinfo_run() 1141 (*fp)++; in show_secinfo_run() 1142 while (*fp != end && secinfo_flags_equal(flags, (*fp)->flags)) { in show_secinfo_run() 1143 seq_printf(m, ":%d", (*fp)->pseudoflavor); in show_secinfo_run() 1144 (*fp)++; in show_secinfo_run()
|
/fs/freevxfs/ |
D | vxfs_lookup.c | 238 vxfs_readdir(struct file *fp, void *retp, filldir_t filler) in vxfs_readdir() argument 240 struct inode *ip = fp->f_path.dentry->d_inode; in vxfs_readdir() 246 switch ((long)fp->f_pos) { in vxfs_readdir() 248 if (filler(retp, ".", 1, fp->f_pos, ip->i_ino, DT_DIR) < 0) in vxfs_readdir() 250 fp->f_pos++; in vxfs_readdir() 253 if (filler(retp, "..", 2, fp->f_pos, VXFS_INO(ip)->vii_dotdot, DT_DIR) < 0) in vxfs_readdir() 255 fp->f_pos++; in vxfs_readdir() 259 pos = fp->f_pos - 2; in vxfs_readdir() 319 fp->f_pos = ((page << PAGE_CACHE_SHIFT) | offset) + 2; in vxfs_readdir()
|
D | vxfs_immed.c | 100 vxfs_immed_readpage(struct file *fp, struct page *pp) in vxfs_immed_readpage() argument
|
/fs/gfs2/ |
D | file.c | 523 struct gfs2_file *fp; in gfs2_open() local 526 fp = kzalloc(sizeof(struct gfs2_file), GFP_KERNEL); in gfs2_open() 527 if (!fp) in gfs2_open() 530 mutex_init(&fp->f_fl_mutex); in gfs2_open() 533 file->private_data = fp; in gfs2_open() 556 kfree(fp); in gfs2_open() 571 struct gfs2_file *fp; in gfs2_close() local 573 fp = file->private_data; in gfs2_close() 576 if (gfs2_assert_warn(sdp, fp)) in gfs2_close() 579 kfree(fp); in gfs2_close() [all …]
|
/fs/ocfs2/dlmfs/ |
D | dlmfs.c | 137 struct dlmfs_filp_private *fp = NULL; in dlmfs_file_open() local 154 fp = kmalloc(sizeof(*fp), GFP_NOFS); in dlmfs_file_open() 155 if (!fp) { in dlmfs_file_open() 159 fp->fp_lock_level = level; in dlmfs_file_open() 171 kfree(fp); in dlmfs_file_open() 175 file->private_data = fp; in dlmfs_file_open() 185 struct dlmfs_filp_private *fp = file->private_data; in dlmfs_file_release() local 193 if (fp) { in dlmfs_file_release() 194 level = fp->fp_lock_level; in dlmfs_file_release() 198 kfree(fp); in dlmfs_file_release()
|
/fs/ |
D | fcntl.c | 672 struct fasync_struct *fa, **fp; in fasync_remove_entry() local 677 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_remove_entry() 685 *fp = fa->fa_next; in fasync_remove_entry() 720 struct fasync_struct *fa, **fp; in fasync_insert_entry() local 724 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_insert_entry() 818 void kill_fasync(struct fasync_struct **fp, int sig, int band) in kill_fasync() argument 823 if (*fp) { in kill_fasync() 825 kill_fasync_rcu(rcu_dereference(*fp), sig, band); in kill_fasync()
|
D | compat_ioctl.c | 177 compat_uptr_t fp; in do_video_stillpicture() local 181 err = get_user(fp, &up->iFrame); in do_video_stillpicture() 189 err = put_user(compat_ptr(fp), &up_native->iFrame); in do_video_stillpicture()
|
D | namei.c | 1610 struct nameidata *nd, struct file **fp) in path_init() argument 1691 *fp = file; in path_init()
|
/fs/xfs/ |
D | xfs_ialloc.h | 52 static inline int xfs_ialloc_find_free(xfs_inofree_t *fp) in xfs_ialloc_find_free() argument 54 return xfs_lowbit64(*fp); in xfs_ialloc_find_free()
|
/fs/jfs/ |
D | jfs_xtree.c | 131 xtpage_t * fp, struct btstack * btstack); 137 static int xtRelink(tid_t tid, struct inode *ip, xtpage_t * fp); 2412 struct metapage * fmp, xtpage_t * fp, struct btstack * btstack) in xtDeleteUp() argument 2427 if (fp->header.flag & BT_ROOT) { in xtDeleteUp() 2429 fp->header.flag &= ~BT_INTERNAL; in xtDeleteUp() 2430 fp->header.flag |= BT_LEAF; in xtDeleteUp() 2431 fp->header.nextindex = cpu_to_le16(XTENTRYSTART); in xtDeleteUp() 2441 if ((rc = xtRelink(tid, ip, fp))) { in xtDeleteUp() 2446 xaddr = addressPXD(&fp->header.self); in xtDeleteUp() 2447 xlen = lengthPXD(&fp->header.self); in xtDeleteUp()
|
D | jfs_dtree.c | 165 dtpage_t * fp, struct btstack * btstack); 2238 struct metapage * fmp, dtpage_t * fp, struct btstack * btstack) in dtDeleteUp() argument 2281 pxdlock->pxd = fp->header.self; in dtDeleteUp() 2285 if ((rc = dtRelink(tid, ip, fp))) { in dtDeleteUp() 2290 xlen = lengthPXD(&fp->header.self); in dtDeleteUp()
|
D | jfs_metapage.c | 490 static int metapage_readpage(struct file *fp, struct page *page) in metapage_readpage() argument
|