Home
last modified time | relevance | path

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

/fs/ncpfs/
Ddir.c583 struct qstr qname; in ncp_fill_cache() local
589 qname.len = sizeof(__name); in ncp_fill_cache()
590 if (ncp_vol2io(NCP_SERVER(dir), __name, &qname.len, in ncp_fill_cache()
595 qname.name = __name; in ncp_fill_cache()
596 qname.hash = full_name_hash(qname.name, qname.len); in ncp_fill_cache()
599 if (dentry->d_op->d_hash(dentry, dentry->d_inode, &qname) != 0) in ncp_fill_cache()
602 newdent = d_lookup(dentry, &qname); in ncp_fill_cache()
605 newdent = d_alloc(dentry, &qname); in ncp_fill_cache()
623 dentry_update_name_case(newdent, &qname); in ncp_fill_cache()
675 ino = find_inode_number(dentry, &qname); in ncp_fill_cache()
[all …]
/fs/proc/
Dproc_sysctl.c583 struct qstr qname; in proc_sys_fill_cache() local
587 qname.name = table->procname; in proc_sys_fill_cache()
588 qname.len = strlen(table->procname); in proc_sys_fill_cache()
589 qname.hash = full_name_hash(qname.name, qname.len); in proc_sys_fill_cache()
591 child = d_lookup(dir, &qname); in proc_sys_fill_cache()
593 child = d_alloc(dir, &qname); in proc_sys_fill_cache()
611 return !!filldir(dirent, qname.name, qname.len, filp->f_pos, ino, type); in proc_sys_fill_cache()
Dnamespaces.c65 struct qstr qname = { .name = "", }; in proc_ns_get_dentry() local
72 dentry = d_alloc_pseudo(sb, &qname); in proc_ns_get_dentry()
Dbase.c1672 struct qstr qname; in proc_fill_cache() local
1676 qname.name = name; in proc_fill_cache()
1677 qname.len = len; in proc_fill_cache()
1678 qname.hash = full_name_hash(name, len); in proc_fill_cache()
1680 child = d_lookup(dir, &qname); in proc_fill_cache()
1683 new = d_alloc(dir, &qname); in proc_fill_cache()
1702 ino = find_inode_number(dir, &qname); in proc_fill_cache()
/fs/fat/
Dnamei_vfat.c662 static int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir, in vfat_add_entry() argument
670 len = vfat_striptail_len(qname); in vfat_add_entry()
678 err = vfat_build_slots(dir, qname->name, len, is_dir, cluster, ts, in vfat_add_entry()
698 static int vfat_find(struct inode *dir, struct qstr *qname, in vfat_find() argument
701 unsigned int len = vfat_striptail_len(qname); in vfat_find()
704 return fat_search_long(dir, qname->name, len, sinfo); in vfat_find()
/fs/ext3/
Dsuper.c908 char *qname; in set_qf_name() local
917 qname = match_strdup(args); in set_qf_name()
918 if (!qname) { in set_qf_name()
924 strcmp(sbi->s_qf_names[qtype], qname)) { in set_qf_name()
927 kfree(qname); in set_qf_name()
930 sbi->s_qf_names[qtype] = qname; in set_qf_name()
/fs/ext4/
Dsuper.c1306 char *qname; in set_qf_name() local
1315 qname = match_strdup(args); in set_qf_name()
1316 if (!qname) { in set_qf_name()
1322 strcmp(sbi->s_qf_names[qtype], qname)) { in set_qf_name()
1325 kfree(qname); in set_qf_name()
1328 sbi->s_qf_names[qtype] = qname; in set_qf_name()
/fs/ocfs2/dlm/
Ddlmmaster.c558 char *qname; in dlm_init_lockres() local
564 qname = (char *) res->lockname.name; in dlm_init_lockres()
565 memcpy(qname, name, namelen); in dlm_init_lockres()