Lines Matching refs:dirtab_slot

340 	struct dir_table_slot *dirtab_slot;  in add_index()  local
369 dirtab_slot = &jfs_ip->i_dirtable[index-2]; in add_index()
370 dirtab_slot->flag = DIR_INDEX_VALID; in add_index()
371 dirtab_slot->slot = slot; in add_index()
372 DTSaddress(dirtab_slot, bn); in add_index()
473 dirtab_slot = in add_index()
475 dirtab_slot->flag = DIR_INDEX_VALID; in add_index()
476 dirtab_slot->slot = slot; in add_index()
477 DTSaddress(dirtab_slot, bn); in add_index()
498 struct dir_table_slot *dirtab_slot; in free_index() local
502 dirtab_slot = find_index(ip, index, &mp, &lblock); in free_index()
504 if (!dirtab_slot) in free_index()
507 dirtab_slot->flag = DIR_INDEX_FREE; in free_index()
508 dirtab_slot->slot = dirtab_slot->addr1 = 0; in free_index()
509 dirtab_slot->addr2 = cpu_to_le32(next); in free_index()
527 struct dir_table_slot *dirtab_slot; in modify_index() local
529 dirtab_slot = find_index(ip, index, mp, lblock); in modify_index()
531 if (!dirtab_slot) in modify_index()
534 DTSaddress(dirtab_slot, bn); in modify_index()
535 dirtab_slot->slot = slot; in modify_index()
550 struct dir_table_slot * dirtab_slot) in read_index() argument
561 memcpy(dirtab_slot, slot, sizeof(struct dir_table_slot)); in read_index()
3060 struct dir_table_slot dirtab_slot; in jfs_readdir() local
3069 rc = read_index(ip, dir_index, &dirtab_slot); in jfs_readdir()
3074 if (dirtab_slot.flag == DIR_INDEX_FREE) { in jfs_readdir()
3080 dir_index = le32_to_cpu(dirtab_slot.addr2); in jfs_readdir()
3087 bn = addressDTS(&dirtab_slot); in jfs_readdir()
3088 index = dirtab_slot.slot; in jfs_readdir()