Home
last modified time | relevance | path

Searched refs:namebuf (Results 1 – 6 of 6) sorted by relevance

/fs/reiserfs/
Ditem_ops.c386 static char namebuf[80]; in direntry_print_item() local
400 namebuf[0] = '"'; in direntry_print_item()
401 if (namelen > sizeof(namebuf) - 3) { in direntry_print_item()
402 strncpy(namebuf + 1, name, sizeof(namebuf) - 3); in direntry_print_item()
403 namebuf[sizeof(namebuf) - 2] = '"'; in direntry_print_item()
404 namebuf[sizeof(namebuf) - 1] = 0; in direntry_print_item()
406 memcpy(namebuf + 1, name, namelen); in direntry_print_item()
407 namebuf[namelen + 1] = '"'; in direntry_print_item()
408 namebuf[namelen + 2] = 0; in direntry_print_item()
412 i, namebuf, in direntry_print_item()
Dxattr.c150 char namebuf[17]; in open_xa_dir() local
156 snprintf(namebuf, sizeof(namebuf), "%X.%X", in open_xa_dir()
162 xadir = lookup_one_len(namebuf, xaroot, strlen(namebuf)); in open_xa_dir()
/fs/ocfs2/
Dsysfile.c142 char namebuf[40]; in _ocfs2_get_system_file_inode() local
147 ocfs2_sprintf_system_inode_name(namebuf, in _ocfs2_get_system_file_inode()
148 sizeof(namebuf), in _ocfs2_get_system_file_inode()
151 status = ocfs2_lookup_ino_from_name(osb->sys_root_inode, namebuf, in _ocfs2_get_system_file_inode()
152 strlen(namebuf), &blkno); in _ocfs2_get_system_file_inode()
Dioctl.c333 char namebuf[40]; in ocfs2_info_handle_freeinode() local
363 ocfs2_sprintf_system_inode_name(namebuf, in ocfs2_info_handle_freeinode()
364 sizeof(namebuf), in ocfs2_info_handle_freeinode()
367 namebuf, in ocfs2_info_handle_freeinode()
368 strlen(namebuf), in ocfs2_info_handle_freeinode()
620 char namebuf[40]; in ocfs2_info_handle_freefrag() local
656 ocfs2_sprintf_system_inode_name(namebuf, sizeof(namebuf), type, in ocfs2_info_handle_freefrag()
659 namebuf, in ocfs2_info_handle_freefrag()
660 strlen(namebuf), in ocfs2_info_handle_freefrag()
Dmove_extents.c389 char namebuf[40]; in ocfs2_find_victim_alloc_group() local
398 ocfs2_sprintf_system_inode_name(namebuf, sizeof(namebuf), type, slot); in ocfs2_find_victim_alloc_group()
399 ret = ocfs2_lookup_ino_from_name(osb->sys_root_inode, namebuf, in ocfs2_find_victim_alloc_group()
400 strlen(namebuf), &blkno); in ocfs2_find_victim_alloc_group()
/fs/btrfs/
Dtree-checker.c298 char namebuf[max(BTRFS_NAME_LEN, XATTR_NAME_MAX)]; in check_dir_item() local
300 read_extent_buffer(leaf, namebuf, in check_dir_item()
302 name_hash = btrfs_name_hash(namebuf, name_len); in check_dir_item()