Searched refs:strbuf (Results 1 – 3 of 3) sorted by relevance
/fs/hfsplus/ |
D | xattr.c | 688 char *strbuf; in hfsplus_listxattr() local 708 strbuf = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + in hfsplus_listxattr() 710 if (!strbuf) { in hfsplus_listxattr() 744 strbuf, &xattr_name_len)) { in hfsplus_listxattr() 751 if (can_list(strbuf)) in hfsplus_listxattr() 752 res += name_len(strbuf, xattr_name_len); in hfsplus_listxattr() 753 } else if (can_list(strbuf)) { in hfsplus_listxattr() 754 if (size < (res + name_len(strbuf, xattr_name_len))) { in hfsplus_listxattr() 759 strbuf, xattr_name_len); in hfsplus_listxattr() 767 kfree(strbuf); in hfsplus_listxattr()
|
D | dir.c | 136 char *strbuf; in hfsplus_readdir() local 148 strbuf = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_MAX_STRLEN + 1, GFP_KERNEL); in hfsplus_readdir() 149 if (!strbuf) { in hfsplus_readdir() 208 err = hfsplus_uni2asc(sb, &fd.key->cat.name, strbuf, &len); in hfsplus_readdir() 222 if (!dir_emit(ctx, strbuf, len, in hfsplus_readdir() 249 if (!dir_emit(ctx, strbuf, len, in hfsplus_readdir() 284 kfree(strbuf); in hfsplus_readdir()
|
/fs/hfs/ |
D | dir.c | 59 char strbuf[HFS_MAX_NAMELEN]; in hfs_readdir() local 124 len = hfs_mac2asc(sb, strbuf, &fd.key->cat.CName); in hfs_readdir() 131 if (!dir_emit(ctx, strbuf, len, in hfs_readdir() 140 if (!dir_emit(ctx, strbuf, len, in hfs_readdir()
|