Lines Matching refs:dir_buf
1371 void *dir_buf = NULL; in ext4_inlinedir_to_tree() local
1387 dir_buf = kmalloc(inline_size, GFP_NOFS); in ext4_inlinedir_to_tree()
1388 if (!dir_buf) { in ext4_inlinedir_to_tree()
1394 ret = ext4_read_inline_data(inode, dir_buf, inline_size, &iloc); in ext4_inlinedir_to_tree()
1400 parent_ino = le32_to_cpu(((struct ext4_dir_entry_2 *)dir_buf)->inode); in ext4_inlinedir_to_tree()
1428 de = (struct ext4_dir_entry_2 *)(dir_buf + pos); in ext4_inlinedir_to_tree()
1431 iloc.bh, dir_buf, in ext4_inlinedir_to_tree()
1462 kfree(dir_buf); in ext4_inlinedir_to_tree()
1486 void *dir_buf = NULL; in ext4_read_inline_dir() local
1501 dir_buf = kmalloc(inline_size, GFP_NOFS); in ext4_read_inline_dir()
1502 if (!dir_buf) { in ext4_read_inline_dir()
1508 ret = ext4_read_inline_data(inode, dir_buf, inline_size, &iloc); in ext4_read_inline_dir()
1515 parent_ino = le32_to_cpu(((struct ext4_dir_entry_2 *)dir_buf)->inode); in ext4_read_inline_dir()
1553 (dir_buf + i - extra_offset); in ext4_read_inline_dir()
1587 (dir_buf + ctx->pos - extra_offset); in ext4_read_inline_dir()
1588 if (ext4_check_dir_entry(inode, file, de, iloc.bh, dir_buf, in ext4_read_inline_dir()
1600 kfree(dir_buf); in ext4_read_inline_dir()