Lines Matching defs:slot

25  * which stores the start slot index of sorted entries
243 struct dir_table_slot *slot;
264 slot = &jfs_ip->i_dirtable[index - 2];
284 slot =
288 return slot;
306 * Linelock slot size is twice the size of directory table
307 * slot size. 512 entries per page.
321 static u32 add_index(tid_t tid, struct inode *ip, s64 bn, int slot)
358 dirtab_slot->slot = slot;
418 lv->length = 6; /* tlckDATA slot size is 16 bytes */
463 dirtab_slot->slot = slot;
495 dirtab_slot->slot = dirtab_slot->addr1 = 0;
512 int slot, struct metapage ** mp, s64 *lblock)
522 dirtab_slot->slot = slot;
534 * reads a directory table slot
541 struct dir_table_slot *slot;
543 slot = find_index(ip, index, &mp, &lblock);
544 if (!slot) {
548 memcpy(dirtab_slot, slot, sizeof(struct dir_table_slot));
662 ((struct ldtentry *) & p->slot[stbl[index]])->inumber);
783 pxd = (pxd_t *) & p->slot[stbl[index]];
1419 stblsize = (n + 31) >> L2DTSLOTSIZE; /* in unit of slot */
1440 /* linelock header + stbl (first slot) of new page */
1449 f = &rp->slot[fsi];
1507 stbl = (u8 *) & sp->slot[sp->header.stblindex];
1517 ldtentry = (struct ldtentry *) & sp->slot[si];
1526 idtentry = (struct idtentry *) & sp->slot[si];
1566 f = &rp->slot[fsi];
1580 ldtentry = (struct ldtentry *) & rp->slot[stbl[n]];
1705 (struct ldtentry *) & sp->slot[stbl[n]];
1742 memcpy(&sp->slot[newstblindex], &sp->slot[oldstblindex],
1777 f = &sp->slot[fsi];
1791 f = &sp->slot[fsi];
1802 f = &sp->slot[fsi];
1836 /* linelock parent entry - 1st slot */
1842 tpxd = (pxd_t *) & pp->slot[1];
1938 /* linelock header + copied entries + new stbl (1st slot) in new page */
1951 stbl = (s8 *) & rp->slot[DTROOTMAXSLOT];
1956 memcpy(&rp->slot[1], &sp->slot[1], IDATASIZE);
1963 f = &rp->slot[fsi];
1976 f = &rp->slot[fsi];
1995 ldtentry = (struct ldtentry *) & rp->slot[stbl[n]];
2038 s = (struct idtentry *) & sp->slot[DTENTRYSTART];
2050 f = &sp->slot[fsi];
2112 ldtentry = (struct ldtentry *) & p->slot[stbl[index]];
2131 slot[stbl[0]];
2139 (struct ldtentry *) & p->slot[stbl[index + 1]];
2204 (struct ldtentry *) & p->slot[stbl[i]];
2612 pxd = (pxd_t *) & pp->slot[stbl[index]];
2680 pxd = (pxd_t *) & p->slot[stbl[0]];
2695 pxd = (pxd_t *) & p->slot[stbl[i]];
2888 f = &p->slot[fsi];
2945 d = (struct ldtentry *) &p->slot[stbl[i]];
3080 index = dirtab_slot.slot;
3190 d = (struct ldtentry *) & p->slot[stbl[i]];
3250 t = (struct dtslot *) & p->slot[next];
3385 xd = (pxd_t *) & p->slot[stbl[0]];
3522 xd = (pxd_t *) & p->slot[stbl[pn]];
3586 { /* entry slot index */
3612 ih = (struct idtentry *) & p->slot[si];
3630 t = (struct dtslot *) & p->slot[si];
3661 int si, /* entry slot index */
3695 lh = (struct ldtentry *) & p->slot[si];
3708 ih = (struct idtentry *) & p->slot[si];
3733 t = (struct dtslot *) & p->slot[si];
3850 lh = (struct ldtentry *) & p->slot[si];
3859 ih = (struct idtentry *) & p->slot[si];
3879 t = &p->slot[si];
3893 * function: allocate free slot(s) and
3896 * return: entry slot index
3918 /* allocate a free slot */
3920 h = &p->slot[fsi];
3966 /* get free slot */
3968 t = &p->slot[fsi];
3972 /* is next slot contiguous ? */
4026 * Need to update slot number for entries that moved
4031 lh = (struct ldtentry *) & (p->slot[stbl[n]]);
4060 int ssi, next; /* src slot index */
4062 int dsi; /* dst slot index */
4073 sstbl = (s8 *) & sp->slot[sp->header.stblindex];
4074 dstbl = (s8 *) & dp->slot[dp->header.stblindex];
4076 dsi = dp->header.freelist; /* first (whole page) free slot */
4079 /* linelock destination entry slot */
4083 /* linelock source entry slot */
4096 /* is next slot contiguous ? */
4117 /* get dst slot */
4118 h = d = &dp->slot[dsi];
4120 /* get src slot and move */
4121 s = &sp->slot[ssi];
4168 /* is next slot contiguous ? */
4189 s = &sp->slot[ssi];
4191 /* get next destination free slot */
4251 * log freelist header, stbl, and each segment slot of entry
4259 int fsi; /* free entry slot index */
4267 /* get free entry slot index */
4279 t = &p->slot[fsi];
4292 /* is next slot contiguous ? */
4314 t = &p->slot[si];
4346 * log freelist header, stbl, and each segment slot of entry
4354 int tsi; /* truncate entry slot index */
4362 /* get free entry slot index */
4374 t = &p->slot[tsi];
4387 /* is next slot contiguous ? */
4409 t = &p->slot[si];
4433 int m, /* max slot index */
4436 int fsi; /* free entry slot index */
4443 /* get free entry slot index */
4456 t = &p->slot[fsi];
4461 /* is next slot contiguous ? */
4482 t = &p->slot[si];
4525 int entry_si; /* entry slot index */
4546 /* get slot index of the entry */
4558 entry = (struct ldtentry *) & p->slot[entry_si];