Lines Matching refs:dirtab_slot
327 struct dir_table_slot *dirtab_slot; in add_index() local
356 dirtab_slot = &jfs_ip->i_dirtable[index-2]; in add_index()
357 dirtab_slot->flag = DIR_INDEX_VALID; in add_index()
358 dirtab_slot->slot = slot; in add_index()
359 DTSaddress(dirtab_slot, bn); in add_index()
460 dirtab_slot = in add_index()
462 dirtab_slot->flag = DIR_INDEX_VALID; in add_index()
463 dirtab_slot->slot = slot; in add_index()
464 DTSaddress(dirtab_slot, bn); in add_index()
485 struct dir_table_slot *dirtab_slot; in free_index() local
489 dirtab_slot = find_index(ip, index, &mp, &lblock); in free_index()
491 if (!dirtab_slot) in free_index()
494 dirtab_slot->flag = DIR_INDEX_FREE; in free_index()
495 dirtab_slot->slot = dirtab_slot->addr1 = 0; in free_index()
496 dirtab_slot->addr2 = cpu_to_le32(next); in free_index()
514 struct dir_table_slot *dirtab_slot; in modify_index() local
516 dirtab_slot = find_index(ip, index, mp, lblock); in modify_index()
518 if (!dirtab_slot) in modify_index()
521 DTSaddress(dirtab_slot, bn); in modify_index()
522 dirtab_slot->slot = slot; in modify_index()
537 struct dir_table_slot * dirtab_slot) in read_index() argument
548 memcpy(dirtab_slot, slot, sizeof(struct dir_table_slot)); in read_index()
2749 struct dir_table_slot dirtab_slot; in jfs_readdir() local
2758 rc = read_index(ip, dir_index, &dirtab_slot); in jfs_readdir()
2763 if (dirtab_slot.flag == DIR_INDEX_FREE) { in jfs_readdir()
2769 dir_index = le32_to_cpu(dirtab_slot.addr2); in jfs_readdir()
2776 bn = addressDTS(&dirtab_slot); in jfs_readdir()
2777 index = dirtab_slot.slot; in jfs_readdir()