Searched refs:SMB_DIRCACHE_SIZE (Results 1 – 3 of 3) sorted by relevance
139 #define SMB_DIRCACHE_SIZE ((int)(PAGE_CACHE_SIZE/sizeof(struct dentry *))) macro142 struct dentry *dentry[SMB_DIRCACHE_SIZE];145 #define SMB_FIRSTCACHE_SIZE ((int)((SMB_DIRCACHE_SIZE * \149 #define SMB_DIRCACHE_START (SMB_DIRCACHE_SIZE - SMB_FIRSTCACHE_SIZE)
171 if (ctl.idx >= SMB_DIRCACHE_SIZE) { in smb_fill_cache()179 ctl.idx -= SMB_DIRCACHE_SIZE; in smb_fill_cache()
148 ctl.ofs = ctl.fpos / SMB_DIRCACHE_SIZE; in smb_readdir()149 ctl.idx = ctl.fpos % SMB_DIRCACHE_SIZE; in smb_readdir()160 while (ctl.idx < SMB_DIRCACHE_SIZE) { in smb_readdir()