Lines Matching refs:d_info

126 	struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
129 switch (d_info->dentry_type) {
146 hmdfs_info("Unexpected dentry type %d", d_info->dentry_type);
1411 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
1489 mutex_lock(&d_info->cache_pull_lock);
1491 mutex_unlock(&d_info->cache_pull_lock);
2140 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
2157 mutex_lock(&d_info->cache_pull_lock);
2189 mutex_unlock(&d_info->cache_pull_lock);
2212 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
2214 if (!d_info)
2217 spin_lock(&d_info->cache_list_lock);
2218 list_for_each_entry(item, &(d_info->cache_list_head), list) {
2221 spin_unlock(&d_info->cache_list_lock);
2225 spin_unlock(&d_info->cache_list_lock);
2234 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
2237 if (!d_info)
2241 spin_lock(&d_info->cache_list_lock);
2242 list_for_each_entry(item, &(d_info->cache_list_head), list) {
2249 spin_unlock(&d_info->cache_list_lock);
2257 spin_lock(&item->d_info->cache_list_lock);
2261 spin_unlock(&item->d_info->cache_list_lock);
2280 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
2283 if (!d_info)
2286 spin_lock(&d_info->cache_list_lock);
2287 list_for_each_entry_safe(item, item_temp, &(d_info->cache_list_head),
2291 spin_unlock(&d_info->cache_list_lock);
2297 spin_unlock(&d_info->cache_list_lock);
2304 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
2306 if (!d_info)
2316 item->d_info = d_info;
2318 spin_lock(&d_info->cache_list_lock);
2319 list_add_tail(&(item->list), &(d_info->cache_list_head));
2320 spin_unlock(&d_info->cache_list_lock);
2330 struct hmdfs_dentry_info *d_info = NULL;
2343 d_info = hmdfs_d(path.dentry);
2344 if (!d_info) {
2350 mutex_lock(&d_info->remote_cache_list_lock);
2352 &(d_info->remote_cache_list_head), list) {
2354 mutex_unlock(&d_info->remote_cache_list_lock);
2362 mutex_unlock(&d_info->remote_cache_list_lock);
2368 list_add(&(item->list), &(d_info->remote_cache_list_head));
2369 mutex_unlock(&d_info->remote_cache_list_lock);
2383 struct hmdfs_dentry_info *d_info = NULL;
2391 d_info = hmdfs_d(dentry);
2392 if (!d_info) {
2393 hmdfs_err("d_info null and return");
2414 mutex_lock(&d_info->remote_cache_list_lock);
2416 &(d_info->remote_cache_list_head), list) {
2421 mutex_unlock(&d_info->remote_cache_list_lock);
2423 mutex_lock(&d_info->remote_cache_list_lock);
2427 mutex_unlock(&d_info->remote_cache_list_lock);
2438 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
2441 if (!d_info)
2444 spin_lock(&d_info->cache_list_lock);
2445 list_for_each_entry_safe(item, item_temp, &(d_info->cache_list_head),
2450 spin_unlock(&d_info->cache_list_lock);
2474 struct hmdfs_dentry_info *d_info = NULL;
2476 d_info = hmdfs_d(dentry);
2477 if (!d_info) {
2478 hmdfs_err("d_info null and return");
2482 mutex_lock(&d_info->remote_cache_list_lock);
2483 list_for_each_entry(item, &(d_info->remote_cache_list_head), list) {
2489 mutex_unlock(&d_info->remote_cache_list_lock);
2495 struct hmdfs_dentry_info *d_info = NULL;
2502 d_info = hmdfs_d(dentry);
2503 if (!d_info) {
2504 hmdfs_err("d_info null and return");
2508 mutex_lock(&d_info->remote_cache_list_lock);
2509 list_for_each_entry(item, &(d_info->remote_cache_list_head), list) {
2513 mutex_unlock(&d_info->remote_cache_list_lock);