Searched refs:strbuf (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.c | 2131 char *strbuf; in idt_dbgfs_info_read() local 2139 strbuf = kmalloc(size, GFP_KERNEL); in idt_dbgfs_info_read() 2140 if (strbuf == NULL) in idt_dbgfs_info_read() 2144 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() 2148 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() 2152 off += scnprintf(strbuf + off, size - off, "Peers:\n"); in idt_dbgfs_info_read() 2154 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() 2161 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() 2163 off += scnprintf(strbuf + off, size - off, "PCIe Gen %d x%d lanes\n", in idt_dbgfs_info_read() 2167 off += scnprintf(strbuf + off, size - off, "NTB Mapping Table:\n"); in idt_dbgfs_info_read() [all …]
|
/linux-4.19.296/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()
|
/linux-4.19.296/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()
|