/fs/autofs4/ |
D | dev-ioctl.c | 180 static int autofs_dev_ioctl_protover(struct file *fp, in autofs_dev_ioctl_protover() argument 189 static int autofs_dev_ioctl_protosubver(struct file *fp, in autofs_dev_ioctl_protosubver() argument 330 static int autofs_dev_ioctl_openmount(struct file *fp, in autofs_dev_ioctl_openmount() argument 360 static int autofs_dev_ioctl_closemount(struct file *fp, in autofs_dev_ioctl_closemount() argument 371 static int autofs_dev_ioctl_ready(struct file *fp, in autofs_dev_ioctl_ready() argument 385 static int autofs_dev_ioctl_fail(struct file *fp, in autofs_dev_ioctl_fail() argument 409 static int autofs_dev_ioctl_setpipefd(struct file *fp, in autofs_dev_ioctl_setpipefd() argument 446 static int autofs_dev_ioctl_catatonic(struct file *fp, in autofs_dev_ioctl_catatonic() argument 455 static int autofs_dev_ioctl_timeout(struct file *fp, in autofs_dev_ioctl_timeout() argument 475 static int autofs_dev_ioctl_requester(struct file *fp, in autofs_dev_ioctl_requester() argument [all …]
|
/fs/ocfs2/ |
D | locks.c | 43 struct ocfs2_file_private *fp = file->private_data; in ocfs2_do_flock() local 44 struct ocfs2_lock_res *lockres = &fp->fp_flock; in ocfs2_do_flock() 51 mutex_lock(&fp->fp_mutex); in ocfs2_do_flock() 88 mutex_unlock(&fp->fp_mutex); in ocfs2_do_flock() 96 struct ocfs2_file_private *fp = file->private_data; in ocfs2_do_funlock() local 98 mutex_lock(&fp->fp_mutex); in ocfs2_do_funlock() 101 mutex_unlock(&fp->fp_mutex); in ocfs2_do_funlock()
|
D | file.c | 73 struct ocfs2_file_private *fp; in ocfs2_init_file_private() local 75 fp = kzalloc(sizeof(struct ocfs2_file_private), GFP_KERNEL); in ocfs2_init_file_private() 76 if (!fp) in ocfs2_init_file_private() 79 fp->fp_file = file; in ocfs2_init_file_private() 80 mutex_init(&fp->fp_mutex); in ocfs2_init_file_private() 81 ocfs2_file_lock_res_init(&fp->fp_flock, fp); in ocfs2_init_file_private() 82 file->private_data = fp; in ocfs2_init_file_private() 89 struct ocfs2_file_private *fp = file->private_data; in ocfs2_free_file_private() local 92 if (fp) { in ocfs2_free_file_private() 93 ocfs2_simple_drop_lockres(osb, &fp->fp_flock); in ocfs2_free_file_private() [all …]
|
D | dlmglue.h | 84 struct ocfs2_file_private *fp);
|
D | dlmglue.c | 540 struct ocfs2_file_private *fp = lockres->l_priv; in ocfs2_get_file_osb() local 542 return OCFS2_SB(fp->fp_file->f_mapping->host->i_sb); in ocfs2_get_file_osb() 626 struct ocfs2_file_private *fp) in ocfs2_file_lock_res_init() argument 628 struct inode *inode = fp->fp_file->f_mapping->host; in ocfs2_file_lock_res_init() 636 fp); in ocfs2_file_lock_res_init() 1676 struct ocfs2_file_private *fp = file->private_data; in ocfs2_file_lock() local 1677 struct ocfs2_lock_res *lockres = &fp->fp_flock; in ocfs2_file_lock() 1773 struct ocfs2_file_private *fp = file->private_data; in ocfs2_file_unlock() local 1774 struct ocfs2_lock_res *lockres = &fp->fp_flock; in ocfs2_file_unlock()
|
D | alloc.c | 1704 struct find_path_data *fp = data; in find_path_ins() local 1707 ocfs2_path_insert_eb(fp->path, fp->index, bh); in find_path_ins() 1708 fp->index++; in find_path_ins()
|
/fs/freevxfs/ |
D | vxfs_lookup.c | 241 vxfs_readdir(struct file *fp, void *retp, filldir_t filler) in vxfs_readdir() argument 243 struct inode *ip = fp->f_path.dentry->d_inode; in vxfs_readdir() 251 switch ((long)fp->f_pos) { in vxfs_readdir() 253 if (filler(retp, ".", 1, fp->f_pos, ip->i_ino, DT_DIR) < 0) in vxfs_readdir() 255 fp->f_pos++; in vxfs_readdir() 258 if (filler(retp, "..", 2, fp->f_pos, VXFS_INO(ip)->vii_dotdot, DT_DIR) < 0) in vxfs_readdir() 260 fp->f_pos++; in vxfs_readdir() 264 pos = fp->f_pos - 2; in vxfs_readdir() 326 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/nfsd/ |
D | nfs4state.c | 135 struct nfs4_file *fp = container_of(kref, struct nfs4_file, fi_ref); in free_nfs4_file() local 136 list_del(&fp->fi_hash); in free_nfs4_file() 137 iput(fp->fi_inode); in free_nfs4_file() 138 kmem_cache_free(file_slab, fp); in free_nfs4_file() 194 struct nfs4_file *fp = stp->st_file; in alloc_init_deleg() local 198 if (fp->fi_had_conflict) in alloc_init_deleg() 210 get_nfs4_file(fp); in alloc_init_deleg() 211 dp->dl_file = fp; in alloc_init_deleg() 228 list_add(&dp->dl_perfile, &fp->fi_delegations); in alloc_init_deleg() 921 struct nfs4_file *fp; in alloc_init_file() local [all …]
|
/fs/gfs2/ |
D | ops_file.c | 461 struct gfs2_file *fp; in gfs2_open() local 464 fp = kzalloc(sizeof(struct gfs2_file), GFP_KERNEL); in gfs2_open() 465 if (!fp) in gfs2_open() 468 mutex_init(&fp->f_fl_mutex); in gfs2_open() 471 file->private_data = fp; in gfs2_open() 494 kfree(fp); in gfs2_open() 509 struct gfs2_file *fp; in gfs2_close() local 511 fp = file->private_data; in gfs2_close() 514 if (gfs2_assert_warn(sdp, fp)) in gfs2_close() 517 kfree(fp); in gfs2_close() [all …]
|
/fs/ocfs2/dlm/ |
D | dlmfs.c | 113 struct dlmfs_filp_private *fp = NULL; in dlmfs_file_open() local 130 fp = kmalloc(sizeof(*fp), GFP_NOFS); in dlmfs_file_open() 131 if (!fp) { in dlmfs_file_open() 135 fp->fp_lock_level = level; in dlmfs_file_open() 147 kfree(fp); in dlmfs_file_open() 151 file->private_data = fp; in dlmfs_file_open() 161 struct dlmfs_filp_private *fp = in dlmfs_file_release() local 170 if (fp) { in dlmfs_file_release() 171 level = fp->fp_lock_level; in dlmfs_file_release() 175 kfree(fp); in dlmfs_file_release()
|
/fs/xfs/support/ |
D | debug.c | 42 char *fp = fmt; in cmn_err() local 52 if (*fmt == '!') fp++; in cmn_err() 53 len = vsnprintf(message, sizeof(message), fp, ap); in cmn_err()
|
/fs/ |
D | fcntl.c | 525 struct fasync_struct *fa, **fp; in fasync_helper() local 535 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) { in fasync_helper() 541 *fp = fa->fa_next; in fasync_helper() 585 void kill_fasync(struct fasync_struct **fp, int sig, int band) in kill_fasync() argument 590 if (*fp) { in kill_fasync() 593 __kill_fasync(*fp, sig, band); in kill_fasync()
|
D | compat_ioctl.c | 198 compat_uptr_t fp; in do_video_stillpicture() local 203 err = get_user(fp, &up->iFrame); in do_video_stillpicture() 211 err = put_user(compat_ptr(fp), &up_native->iFrame); in do_video_stillpicture()
|
/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); 2672 struct metapage * fmp, xtpage_t * fp, struct btstack * btstack) in xtDeleteUp() argument 2687 if (fp->header.flag & BT_ROOT) { in xtDeleteUp() 2689 fp->header.flag &= ~BT_INTERNAL; in xtDeleteUp() 2690 fp->header.flag |= BT_LEAF; in xtDeleteUp() 2691 fp->header.nextindex = cpu_to_le16(XTENTRYSTART); in xtDeleteUp() 2701 if ((rc = xtRelink(tid, ip, fp))) { in xtDeleteUp() 2706 xaddr = addressPXD(&fp->header.self); in xtDeleteUp() 2707 xlen = lengthPXD(&fp->header.self); in xtDeleteUp()
|
D | jfs_dtree.c | 164 dtpage_t * fp, struct btstack * btstack); 2235 struct metapage * fmp, dtpage_t * fp, struct btstack * btstack) in dtDeleteUp() argument 2278 pxdlock->pxd = fp->header.self; in dtDeleteUp() 2282 if ((rc = dtRelink(tid, ip, fp))) { in dtDeleteUp() 2287 xlen = lengthPXD(&fp->header.self); in dtDeleteUp()
|
D | jfs_metapage.c | 481 static int metapage_readpage(struct file *fp, struct page *page) in metapage_readpage() argument
|