Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/reiserfs/
Dinode.c37 if (INODE_PKEY(inode)->k_objectid != 0) { /* also handles bad_inode case */ in reiserfs_delete_inode()
80 …_make_cpu_key (key, get_inode_item_key_version (inode), le32_to_cpu (INODE_PKEY (inode)->k_dir_id), in make_cpu_key()
81 le32_to_cpu (INODE_PKEY (inode)->k_objectid), in make_cpu_key()
938 copy_key (INODE_PKEY (inode), &(ih->ih_key)); in init_inode()
960 inode->i_generation = le32_to_cpu (INODE_PKEY (inode)->k_dir_id); in init_inode()
993 inode->i_generation = le32_to_cpu (INODE_PKEY (inode)->k_dir_id); in init_inode()
1090 INODE_PKEY (inode), ih); in update_stat_data()
1134 INODE_PKEY (inode), inode->i_nlink, pos); in reiserfs_update_sd()
1163 memset(INODE_PKEY(inode), 0, KEY_SIZE); in reiserfs_make_bad_inode()
1266 if (le32_to_cpu(INODE_PKEY(inode)->k_dir_id) == args -> objectid) in reiserfs_find_actor()
[all …]
Dbitmap.c493 hash_in = (char *)(&INODE_PKEY(hint->inode)->k_dir_id); in new_hashed_relocation()
495 hash_in = (char *)(&INODE_PKEY(hint->inode)->k_objectid); in new_hashed_relocation()
560 …hint->search_start = hint->beg + keyed_hash((char *)(&INODE_PKEY(hint->inode)->k_dir_id), 4) % (hi… in displace_large_file()
562 …hint->search_start = hint->beg + keyed_hash((char *)(&INODE_PKEY(hint->inode)->k_objectid), 4) % (… in displace_large_file()
572 hash_in = (char *)(&INODE_PKEY(hint->inode)->k_dir_id); in hash_formatted_node()
574 hash_in = (char *)(&INODE_PKEY(hint->inode)->k_objectid); in hash_formatted_node()
603 hash_in = le32_to_cpu((INODE_PKEY(hint->inode))->k_dir_id); in old_hashed_relocation()
619 … border = hint->beg + le32_to_cpu(INODE_PKEY(hint->inode)->k_dir_id) % (hint->end - hint->beg); in old_way()
Dsuper.c194 …rning(s, "green-2101: impossible truncate on a directory %k. Please report\n", INODE_PKEY (inode)); in finish_unfinished()
206 INODE_PKEY (inode), inode->i_size); in finish_unfinished()
212 reiserfs_warning (s, "Removing %k..", INODE_PKEY (inode)); in finish_unfinished()
266 …, "green-2102: Adding a truncate savelink for a directory %k! Please report\n", INODE_PKEY(inode)); in add_save_link()
287 link = INODE_PKEY (inode)->k_dir_id; in add_save_link()
316 key.k_objectid = INODE_PKEY (inode)->k_objectid; in remove_save_link()
Dstree.c1415 reiserfs_delete_solid_item (th, INODE_PKEY (inode)); in reiserfs_delete_object()
1655 set_le_key_k_offset (KEY_FORMAT_3_5, INODE_PKEY (inode), DOT_OFFSET); in truncate_directory()
1656 set_le_key_k_type (KEY_FORMAT_3_5, INODE_PKEY (inode), TYPE_DIRENTRY); in truncate_directory()
1657 reiserfs_delete_solid_item (th, INODE_PKEY (inode)); in truncate_directory()
1659 set_le_key_k_offset (KEY_FORMAT_3_5, INODE_PKEY (inode), SD_OFFSET); in truncate_directory()
1660 set_le_key_k_type (KEY_FORMAT_3_5, INODE_PKEY (inode), TYPE_STAT_DATA); in truncate_directory()
Dnamei.c390 deh->deh_dir_id = INODE_PKEY (inode)->k_dir_id; /* safe: k_dir_id is le */ in reiserfs_add_entry()
391 deh->deh_objectid = INODE_PKEY (inode)->k_objectid; /* safe: k_objectid is le */ in reiserfs_add_entry()
1203 set_ino_in_dir_entry (&new_de, INODE_PKEY (old_inode)); in reiserfs_rename()
1225 set_ino_in_dir_entry (&dot_dot_de, INODE_PKEY (new_dir)); in reiserfs_rename()
/linux-2.4.37.9/include/linux/
Dreiserfs_fs.h1295 #define INODE_PKEY(inode) ((struct key *)((inode)->u.reiserfs_i.i_key)) macro