Home
last modified time | relevance | path

Searched refs:strbuf (Results 1 – 4 of 4) sorted by relevance

/fs/hfsplus/
A Dxattr.c683 char *strbuf; in hfsplus_listxattr() local
703 strbuf = kzalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + in hfsplus_listxattr()
705 if (!strbuf) { in hfsplus_listxattr()
740 strbuf, &xattr_name_len)) { in hfsplus_listxattr()
747 if (can_list(strbuf)) in hfsplus_listxattr()
748 res += name_len(strbuf, xattr_name_len); in hfsplus_listxattr()
749 } else if (can_list(strbuf)) { in hfsplus_listxattr()
750 if (size < (res + name_len(strbuf, xattr_name_len))) { in hfsplus_listxattr()
755 strbuf, xattr_name_len); in hfsplus_listxattr()
763 kfree(strbuf); in hfsplus_listxattr()
A Ddir.c135 char *strbuf; in hfsplus_readdir() local
147 strbuf = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_MAX_STRLEN + 1, GFP_KERNEL); in hfsplus_readdir()
148 if (!strbuf) { in hfsplus_readdir()
207 err = hfsplus_uni2asc(sb, &fd.key->cat.name, strbuf, &len); in hfsplus_readdir()
221 if (!dir_emit(ctx, strbuf, len, in hfsplus_readdir()
248 if (!dir_emit(ctx, strbuf, len, in hfsplus_readdir()
283 kfree(strbuf); in hfsplus_readdir()
/fs/hfs/
A Ddir.c53 char strbuf[HFS_MAX_NAMELEN]; in hfs_readdir() local
118 len = hfs_mac2asc(sb, strbuf, &fd.key->cat.CName); in hfs_readdir()
125 if (!dir_emit(ctx, strbuf, len, in hfs_readdir()
134 if (!dir_emit(ctx, strbuf, len, in hfs_readdir()
/fs/
A Dlibfs.c1807 union shortname_store strbuf; in generic_ci_d_compare() local
1839 strbuf = dentry->d_shortname; // NUL is guaranteed to be in there in generic_ci_d_compare()
1840 qstr.name = strbuf.string; in generic_ci_d_compare()

Completed in 13 milliseconds