Lines Matching refs:d_info

127 	struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
130 switch (d_info->dentry_type) {
147 hmdfs_info("Unexpected dentry type %d", d_info->dentry_type);
1412 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
1490 mutex_lock(&d_info->cache_pull_lock);
1492 mutex_unlock(&d_info->cache_pull_lock);
2141 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
2158 mutex_lock(&d_info->cache_pull_lock);
2190 mutex_unlock(&d_info->cache_pull_lock);
2213 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
2215 if (!d_info)
2218 spin_lock(&d_info->cache_list_lock);
2219 list_for_each_entry(item, &(d_info->cache_list_head), list) {
2222 spin_unlock(&d_info->cache_list_lock);
2226 spin_unlock(&d_info->cache_list_lock);
2235 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
2238 if (!d_info)
2242 spin_lock(&d_info->cache_list_lock);
2243 list_for_each_entry(item, &(d_info->cache_list_head), list) {
2250 spin_unlock(&d_info->cache_list_lock);
2258 spin_lock(&item->d_info->cache_list_lock);
2262 spin_unlock(&item->d_info->cache_list_lock);
2281 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
2284 if (!d_info)
2287 spin_lock(&d_info->cache_list_lock);
2288 list_for_each_entry_safe(item, item_temp, &(d_info->cache_list_head),
2292 spin_unlock(&d_info->cache_list_lock);
2298 spin_unlock(&d_info->cache_list_lock);
2305 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
2307 if (!d_info)
2317 item->d_info = d_info;
2319 spin_lock(&d_info->cache_list_lock);
2320 list_add_tail(&(item->list), &(d_info->cache_list_head));
2321 spin_unlock(&d_info->cache_list_lock);
2331 struct hmdfs_dentry_info *d_info = NULL;
2344 d_info = hmdfs_d(path.dentry);
2345 if (!d_info) {
2351 mutex_lock(&d_info->remote_cache_list_lock);
2353 &(d_info->remote_cache_list_head), list) {
2355 mutex_unlock(&d_info->remote_cache_list_lock);
2363 mutex_unlock(&d_info->remote_cache_list_lock);
2369 list_add(&(item->list), &(d_info->remote_cache_list_head));
2370 mutex_unlock(&d_info->remote_cache_list_lock);
2384 struct hmdfs_dentry_info *d_info = NULL;
2392 d_info = hmdfs_d(dentry);
2393 if (!d_info) {
2394 hmdfs_err("d_info null and return");
2415 mutex_lock(&d_info->remote_cache_list_lock);
2417 &(d_info->remote_cache_list_head), list) {
2422 mutex_unlock(&d_info->remote_cache_list_lock);
2424 mutex_lock(&d_info->remote_cache_list_lock);
2428 mutex_unlock(&d_info->remote_cache_list_lock);
2439 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry);
2442 if (!d_info)
2445 spin_lock(&d_info->cache_list_lock);
2446 list_for_each_entry_safe(item, item_temp, &(d_info->cache_list_head),
2451 spin_unlock(&d_info->cache_list_lock);
2475 struct hmdfs_dentry_info *d_info = NULL;
2477 d_info = hmdfs_d(dentry);
2478 if (!d_info) {
2479 hmdfs_err("d_info null and return");
2483 mutex_lock(&d_info->remote_cache_list_lock);
2484 list_for_each_entry(item, &(d_info->remote_cache_list_head), list) {
2490 mutex_unlock(&d_info->remote_cache_list_lock);
2496 struct hmdfs_dentry_info *d_info = NULL;
2503 d_info = hmdfs_d(dentry);
2504 if (!d_info) {
2505 hmdfs_err("d_info null and return");
2509 mutex_lock(&d_info->remote_cache_list_lock);
2510 list_for_each_entry(item, &(d_info->remote_cache_list_head), list) {
2514 mutex_unlock(&d_info->remote_cache_list_lock);