Searched refs:strbuf (Results 1 – 4 of 4) sorted by relevance
/fs/hfsplus/ |
D | xattr.c | 683 char *strbuf; in hfsplus_listxattr() local 703 strbuf = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + in hfsplus_listxattr() 705 if (!strbuf) { in hfsplus_listxattr() 739 strbuf, &xattr_name_len)) { in hfsplus_listxattr() 746 if (can_list(strbuf)) in hfsplus_listxattr() 747 res += name_len(strbuf, xattr_name_len); in hfsplus_listxattr() 748 } else if (can_list(strbuf)) { in hfsplus_listxattr() 749 if (size < (res + name_len(strbuf, xattr_name_len))) { in hfsplus_listxattr() 754 strbuf, xattr_name_len); in hfsplus_listxattr() 762 kfree(strbuf); in hfsplus_listxattr()
|
D | dir.c | 135 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/ |
D | dir.c | 53 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/ |
D | libfs.c | 1410 char strbuf[DNAME_INLINE_LEN]; in generic_ci_d_compare() local 1423 memcpy(strbuf, str, len); in generic_ci_d_compare() 1424 strbuf[len] = 0; in generic_ci_d_compare() 1425 qstr.name = strbuf; in generic_ci_d_compare()
|