Home
last modified time | relevance | path

Searched refs:qname (Results 1 – 8 of 8) sorted by relevance

/fs/ncpfs/
Ddir.c585 struct qstr qname; in ncp_fill_cache() local
591 qname.len = sizeof(__name); in ncp_fill_cache()
592 if (ncp_vol2io(NCP_SERVER(dir), __name, &qname.len, in ncp_fill_cache()
597 qname.name = __name; in ncp_fill_cache()
599 newdent = d_hash_and_lookup(dentry, &qname); in ncp_fill_cache()
603 newdent = d_alloc(dentry, &qname); in ncp_fill_cache()
621 dentry_update_name_case(newdent, &qname); in ncp_fill_cache()
677 ctl.filled = !dir_emit(ctx, qname.name, qname.len, in ncp_fill_cache()
/fs/proc/
Dproc_sysctl.c675 struct qstr qname; in proc_sys_fill_cache() local
679 qname.name = table->procname; in proc_sys_fill_cache()
680 qname.len = strlen(table->procname); in proc_sys_fill_cache()
681 qname.hash = full_name_hash(dir, qname.name, qname.len); in proc_sys_fill_cache()
683 child = d_lookup(dir, &qname); in proc_sys_fill_cache()
686 child = d_alloc_parallel(dir, &qname, &wq); in proc_sys_fill_cache()
704 return dir_emit(ctx, qname.name, qname.len, ino, type); in proc_sys_fill_cache()
Dbase.c1893 struct qstr qname = QSTR_INIT(name, len); in proc_fill_cache() local
1898 child = d_hash_and_lookup(dir, &qname); in proc_fill_cache()
1901 child = d_alloc_parallel(dir, &qname, &wq); in proc_fill_cache()
/fs/fat/
Dnamei_vfat.c655 static int vfat_add_entry(struct inode *dir, const struct qstr *qname, in vfat_add_entry() argument
663 len = vfat_striptail_len(qname); in vfat_add_entry()
671 err = vfat_build_slots(dir, qname->name, len, is_dir, cluster, ts, in vfat_add_entry()
691 static int vfat_find(struct inode *dir, const struct qstr *qname, in vfat_find() argument
694 unsigned int len = vfat_striptail_len(qname); in vfat_find()
697 return fat_search_long(dir, qname->name, len, sinfo); in vfat_find()
/fs/crypto/
Dfname.c259 const struct qstr qname = FSTR_TO_QSTR(iname); in fscrypt_fname_disk_to_usr() local
262 if (fscrypt_is_dot_dotdot(&qname)) { in fscrypt_fname_disk_to_usr()
/fs/f2fs/
Dsuper.c253 char *qname; in f2fs_set_qf_name() local
268 qname = match_strdup(args); in f2fs_set_qf_name()
269 if (!qname) { in f2fs_set_qf_name()
275 if (strcmp(F2FS_OPTION(sbi).s_qf_names[qtype], qname) == 0) in f2fs_set_qf_name()
283 if (strchr(qname, '/')) { in f2fs_set_qf_name()
288 F2FS_OPTION(sbi).s_qf_names[qtype] = qname; in f2fs_set_qf_name()
292 kvfree(qname); in f2fs_set_qf_name()
/fs/ext4/
Dsuper.c1523 char *qname, *old_qname = get_qf_name(sb, sbi, qtype); in set_qf_name() local
1537 qname = match_strdup(args); in set_qf_name()
1538 if (!qname) { in set_qf_name()
1544 if (strcmp(old_qname, qname) == 0) in set_qf_name()
1552 if (strchr(qname, '/')) { in set_qf_name()
1557 rcu_assign_pointer(sbi->s_qf_names[qtype], qname); in set_qf_name()
1561 kfree(qname); in set_qf_name()
/fs/ocfs2/dlm/
Ddlmmaster.c549 char *qname; in dlm_init_lockres() local
555 qname = (char *) res->lockname.name; in dlm_init_lockres()
556 memcpy(qname, name, namelen); in dlm_init_lockres()