Home
last modified time | relevance | path

Searched refs:dname (Results 1 – 10 of 10) sorted by relevance

/fs/jfs/
Dnamei.c82 struct component_name dname; /* child directory name */ in jfs_create() local
95 if ((rc = get_UCSname(&dname, dentry))) in jfs_create()
124 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_create()
148 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_create()
184 free_UCSname(&dname); in jfs_create()
214 struct component_name dname; /* child directory name */ in jfs_mkdir() local
227 if ((rc = get_UCSname(&dname, dentry))) in jfs_mkdir()
256 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_mkdir()
280 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_mkdir()
317 free_UCSname(&dname); in jfs_mkdir()
[all …]
/fs/udf/
Dunicode.c336 int udf_get_filename(struct super_block *sb, uint8_t *sname, uint8_t *dname, in udf_get_filename() argument
369 len = udf_translate_to_linux(dname, filename->u_name, filename->u_len, in udf_get_filename()
379 uint8_t *dname, int flen) in udf_put_filename() argument
388 namelen = udf_UTF8toCS0(dname, &unifilename, UDF_NAME_LEN); in udf_put_filename()
392 namelen = udf_NLStoCS0(UDF_SB(sb)->s_nls_map, dname, in udf_put_filename()
/fs/ceph/
Dinode.c1203 struct qstr dname; in ceph_readdir_prepopulate() local
1227 dname.name = rinfo->dir_dname[i]; in ceph_readdir_prepopulate()
1228 dname.len = rinfo->dir_dname_len[i]; in ceph_readdir_prepopulate()
1229 dname.hash = full_name_hash(dname.name, dname.len); in ceph_readdir_prepopulate()
1235 dn = d_lookup(parent, &dname); in ceph_readdir_prepopulate()
1237 parent, dname.len, dname.name, dn); in ceph_readdir_prepopulate()
1240 dn = d_alloc(parent, &dname); in ceph_readdir_prepopulate()
1242 dname.len, dname.name, dn); in ceph_readdir_prepopulate()
Dmds_client.c118 info->dname = *p; in parse_reply_info_trace()
2742 struct qstr dname; in handle_lease() local
2753 dname.name = (void *)h + sizeof(*h) + sizeof(u32); in handle_lease()
2754 dname.len = msg->front.iov_len - sizeof(*h) - sizeof(u32); in handle_lease()
2755 if (dname.len != get_unaligned_le32(h+1)) in handle_lease()
2765 dname.len, dname.name); in handle_lease()
2778 dname.hash = full_name_hash(dname.name, dname.len); in handle_lease()
2779 dentry = d_lookup(parent, &dname); in handle_lease()
Dmds_client.h58 char *dname; member
/fs/nfsd/
Dnfsctl.c307 char *dname, *path; in write_filehandle() local
321 dname = mesg; in write_filehandle()
322 len = qword_get(&mesg, dname, size); in write_filehandle()
326 path = dname+len+1; in write_filehandle()
344 dom = unix_domain_find(dname); in write_filehandle()
Dnfs4recover.c106 nfs4_make_rec_clidname(char *dname, struct xdr_netobj *clname) in nfs4_make_rec_clidname() argument
129 md5_to_hex(dname, cksum.data); in nfs4_make_rec_clidname()
143 char *dname = clp->cl_recdir; in nfsd4_create_clid_dir() local
147 dprintk("NFSD: nfsd4_create_clid_dir for \"%s\"\n", dname); in nfsd4_create_clid_dir()
161 dentry = lookup_one_len(dname, dir, HEXDIR_LEN-1); in nfsd4_create_clid_dir()
Dnfs4state.c1304 find_confirmed_client_by_str(const char *dname, unsigned int hashval) in find_confirmed_client_by_str() argument
1309 if (same_name(clp->cl_recdir, dname)) in find_confirmed_client_by_str()
1316 find_unconfirmed_client_by_str(const char *dname, unsigned int hashval) in find_unconfirmed_client_by_str() argument
1321 if (same_name(clp->cl_recdir, dname)) in find_unconfirmed_client_by_str()
1477 char dname[HEXDIR_LEN]; in nfsd4_exchange_id() local
1503 status = nfs4_make_rec_clidname(dname, &exid->clname); in nfsd4_exchange_id()
1508 strhashval = clientstr_hashval(dname); in nfsd4_exchange_id()
1513 conf = find_confirmed_client_by_str(dname, strhashval); in nfsd4_exchange_id()
1559 unconf = find_unconfirmed_client_by_str(dname, strhashval); in nfsd4_exchange_id()
1571 new = create_client(exid->clname, dname, rqstp, &verf); in nfsd4_exchange_id()
[all …]
/fs/xfs/
Dxfs_iops.c233 struct qstr dname; in xfs_vn_ci_lookup() local
257 dname.name = ci_name.name; in xfs_vn_ci_lookup()
258 dname.len = ci_name.len; in xfs_vn_ci_lookup()
259 dentry = d_add_ci(dentry, VFS_I(ip), &dname); in xfs_vn_ci_lookup()
/fs/
Ddcache.c1261 char *dname; in __d_alloc() local
1268 dname = kmalloc(name->len + 1, GFP_KERNEL); in __d_alloc()
1269 if (!dname) { in __d_alloc()
1274 dname = dentry->d_iname; in __d_alloc()
1276 dentry->d_name.name = dname; in __d_alloc()
1280 memcpy(dname, name->name, name->len); in __d_alloc()
1281 dname[name->len] = 0; in __d_alloc()