Searched refs:cur_file (Results 1 – 4 of 4) sorted by relevance
22 struct file *cur_file = file; in hmdfs_is_share_file() local26 while (cur_file->f_inode->i_sb->s_magic == HMDFS_SUPER_MAGIC) { in hmdfs_is_share_file()27 gdi = hmdfs_d(cur_file->f_path.dentry); in hmdfs_is_share_file()28 gfi = hmdfs_f(cur_file); in hmdfs_is_share_file()32 cur_file = gfi->lower_file; in hmdfs_is_share_file()
90 unsigned cur_file; member158 f = &s->files[s->cur_file]; in init_io()160 s->cur_file++; in init_io()161 if (s->cur_file == s->nr_files) in init_io()162 s->cur_file = 0; in init_io()163 f = &s->files[s->cur_file]; in init_io()
1620 struct ucma_file *cur_file; in ucma_migrate_id() local1634 cur_file = f.file->private_data; in ucma_migrate_id()1637 ctx = ucma_get_ctx(cur_file, cmd.id); in ucma_migrate_id()1650 if (_ucma_find_context(cmd.id, cur_file) != ctx) { in ucma_migrate_id()1658 mutex_lock(&cur_file->mut); in ucma_migrate_id()1664 list_for_each_entry_safe(uevent, tmp, &cur_file->event_list, list) in ucma_migrate_id()1668 mutex_unlock(&cur_file->mut); in ucma_migrate_id()
85 int cur_file; member1300 int n = rec->switch_output.cur_file + 1; in record__switch_output()1304 rec->switch_output.cur_file = n; in record__switch_output()