Searched refs:ctl (Results 1 – 6 of 6) sorted by relevance
/fs/smbfs/ |
D | cache.c | 129 struct smb_cache_control ctl = *ctrl; in smb_fill_cache() local 167 newdent->d_fsdata = (void *) ctl.fpos; in smb_fill_cache() 171 if (ctl.idx >= SMB_DIRCACHE_SIZE) { in smb_fill_cache() 172 if (ctl.page) { in smb_fill_cache() 173 kunmap(ctl.page); in smb_fill_cache() 174 SetPageUptodate(ctl.page); in smb_fill_cache() 175 unlock_page(ctl.page); in smb_fill_cache() 176 page_cache_release(ctl.page); in smb_fill_cache() 178 ctl.cache = NULL; in smb_fill_cache() 179 ctl.idx -= SMB_DIRCACHE_SIZE; in smb_fill_cache() [all …]
|
D | dir.c | 86 struct smb_cache_control ctl; in smb_readdir() local 90 ctl.page = NULL; in smb_readdir() 91 ctl.cache = NULL; in smb_readdir() 124 ctl.cache = cache = kmap(page); in smb_readdir() 125 ctl.head = cache->head; in smb_readdir() 127 if (!PageUptodate(page) || !ctl.head.eof) { in smb_readdir() 129 DENTRY_PATH(dentry), PageUptodate(page),ctl.head.eof); in smb_readdir() 134 if (jiffies - ctl.head.time >= SMB_MAX_AGE(server)) in smb_readdir() 148 if (filp->f_pos > ctl.head.end) in smb_readdir() 151 ctl.fpos = filp->f_pos + (SMB_DIRCACHE_START - 2); in smb_readdir() [all …]
|
D | proc.c | 1939 struct smb_cache_control *ctl) in smb_proc_readdir_short() argument 2060 if (!smb_fill_cache(filp, dirent, filldir, ctl, in smb_proc_readdir_short() 2291 struct smb_cache_control *ctl) in smb_proc_readdir_long() argument 2451 if (!smb_fill_cache(filp, dirent, filldir, ctl, in smb_proc_readdir_long() 2859 struct smb_cache_control *ctl) in smb_proc_readdir_null() argument 2866 return server->ops->readdir(filp, dirent, filldir, ctl); in smb_proc_readdir_null()
|
/fs/ncpfs/ |
D | dir.c | 410 struct ncp_cache_control ctl; in ncp_readdir() local 416 ctl.page = NULL; in ncp_readdir() 417 ctl.cache = NULL; in ncp_readdir() 443 ctl.cache = cache = kmap(page); in ncp_readdir() 444 ctl.head = cache->head; in ncp_readdir() 446 if (!PageUptodate(page) || !ctl.head.eof) in ncp_readdir() 450 if (jiffies - ctl.head.time >= NCP_MAX_AGE(server)) in ncp_readdir() 455 if ((!mtime) || (mtime != ctl.head.mtime)) in ncp_readdir() 459 if (filp->f_pos > ctl.head.end) in ncp_readdir() 462 ctl.fpos = filp->f_pos + (NCP_DIRCACHE_START - 2); in ncp_readdir() [all …]
|
/fs/xfs/linux-2.6/ |
D | xfs_sysctl.c | 27 ctl_table *ctl, in xfs_stats_clear_proc_handler() argument 34 int c, ret, *valp = ctl->data; in xfs_stats_clear_proc_handler() 37 ret = proc_dointvec_minmax(ctl, write, filp, buffer, lenp, ppos); in xfs_stats_clear_proc_handler()
|
/fs/ocfs2/ |
D | dlmglue.c | 3165 struct ocfs2_unblock_ctl *ctl) in ocfs2_unblock_lock() argument 3208 ctl->requeue = 1; in ocfs2_unblock_lock() 3258 ctl->unblock_action = lockres->l_ops->downconvert_worker(lockres, blocking); in ocfs2_unblock_lock() 3260 if (ctl->unblock_action == UNBLOCK_STOP_POST) in ocfs2_unblock_lock() 3271 ctl->requeue = 0; in ocfs2_unblock_lock() 3298 ctl->requeue = 1; in ocfs2_unblock_lock() 3644 struct ocfs2_unblock_ctl ctl = {0, 0,}; in ocfs2_process_blocked_lock() local 3668 status = ocfs2_unblock_lock(osb, lockres, &ctl); in ocfs2_process_blocked_lock() 3674 if (lockres->l_flags & OCFS2_LOCK_FREEING || !ctl.requeue) { in ocfs2_process_blocked_lock() 3680 ctl.requeue ? "yes" : "no"); in ocfs2_process_blocked_lock() [all …]
|