Lines Matching refs:dirtab_slot

338 	struct dir_table_slot *dirtab_slot;  in add_index()  local
367 dirtab_slot = &jfs_ip->i_dirtable[index-2]; in add_index()
368 dirtab_slot->flag = DIR_INDEX_VALID; in add_index()
369 dirtab_slot->slot = slot; in add_index()
370 DTSaddress(dirtab_slot, bn); in add_index()
466 dirtab_slot = in add_index()
468 dirtab_slot->flag = DIR_INDEX_VALID; in add_index()
469 dirtab_slot->slot = slot; in add_index()
470 DTSaddress(dirtab_slot, bn); in add_index()
491 struct dir_table_slot *dirtab_slot; in free_index() local
495 dirtab_slot = find_index(ip, index, &mp, &lblock); in free_index()
497 if (dirtab_slot == 0) in free_index()
500 dirtab_slot->flag = DIR_INDEX_FREE; in free_index()
501 dirtab_slot->slot = dirtab_slot->addr1 = 0; in free_index()
502 dirtab_slot->addr2 = cpu_to_le32(next); in free_index()
520 struct dir_table_slot *dirtab_slot; in modify_index() local
522 dirtab_slot = find_index(ip, index, mp, lblock); in modify_index()
524 if (dirtab_slot == 0) in modify_index()
527 DTSaddress(dirtab_slot, bn); in modify_index()
528 dirtab_slot->slot = slot; in modify_index()
543 struct dir_table_slot * dirtab_slot) in read_index() argument
554 memcpy(dirtab_slot, slot, sizeof(struct dir_table_slot)); in read_index()
3028 struct dir_table_slot dirtab_slot; in jfs_readdir() local
3037 rc = read_index(ip, dir_index, &dirtab_slot); in jfs_readdir()
3042 if (dirtab_slot.flag == DIR_INDEX_FREE) { in jfs_readdir()
3049 dir_index = le32_to_cpu(dirtab_slot.addr2); in jfs_readdir()
3056 bn = addressDTS(&dirtab_slot); in jfs_readdir()
3057 index = dirtab_slot.slot; in jfs_readdir()