Lines Matching refs:namlen
607 ciKey.namlen = key->namlen; in dtSearch()
854 n = NDTLEAF(name->namlen); in dtInsert()
858 n = NDTLEAF_LEGACY(name->namlen); in dtInsert()
1203 key.name[key.namlen] = 0; in dtSplitUp()
1209 n = NDTINTERNAL(key.namlen); in dtSplitUp()
1214 n = NDTINTERNAL(key.namlen); in dtSplitUp()
1527 n = NDTLEAF(ldtentry->namlen); in dtSplitPage()
1530 namlen); in dtSplitPage()
1535 n = NDTINTERNAL(idtentry->namlen); in dtSplitPage()
2050 s->namlen = 0; in dtSplitRoot()
3200 if (((long) jfs_dirent + d->namlen + 1) > in jfs_readdir()
3208 d_namleft = d->namlen; in jfs_readdir()
3597 int klen, namlen, len, rc; in dtCompare() local
3618 klen = key->namlen; in dtCompare()
3623 namlen = ih->namlen; in dtCompare()
3624 len = min(namlen, DTIHDRDATALEN); in dtCompare()
3632 namlen -= len; in dtCompare()
3636 while (klen > 0 && namlen > 0) { in dtCompare()
3639 len = min(namlen, DTSLOTDATALEN); in dtCompare()
3646 namlen -= len; in dtCompare()
3651 return (klen - namlen); in dtCompare()
3674 int klen, namlen, len, rc; in ciCompare() local
3697 klen = key->namlen; in ciCompare()
3706 namlen = lh->namlen; in ciCompare()
3708 len = min(namlen, DTLHDRDATALEN); in ciCompare()
3710 len = min(namlen, DTLHDRDATALEN_LEGACY); in ciCompare()
3719 namlen = ih->namlen; in ciCompare()
3720 len = min(namlen, DTIHDRDATALEN); in ciCompare()
3736 namlen -= len; in ciCompare()
3739 while (klen > 0 && namlen > 0) { in ciCompare()
3742 len = min(namlen, DTSLOTDATALEN); in ciCompare()
3757 namlen -= len; in ciCompare()
3761 return (klen - namlen); in ciCompare()
3778 int klen, namlen; in ciGetLeafPrefixKey() local
3797 lkey.name[lkey.namlen] = 0; in ciGetLeafPrefixKey()
3803 rkey.name[rkey.namlen] = 0; in ciGetLeafPrefixKey()
3812 namlen = min(lkey.namlen, rkey.namlen); in ciGetLeafPrefixKey()
3814 namlen; pl++, pr++, namlen--, klen++, kname++) { in ciGetLeafPrefixKey()
3817 key->namlen = klen + 1; in ciGetLeafPrefixKey()
3823 if (lkey.namlen < rkey.namlen) { in ciGetLeafPrefixKey()
3825 key->namlen = klen + 1; in ciGetLeafPrefixKey()
3827 key->namlen = klen; in ciGetLeafPrefixKey()
3850 int namlen, len; in dtGetKey() local
3860 namlen = lh->namlen; in dtGetKey()
3863 len = min(namlen, DTLHDRDATALEN); in dtGetKey()
3865 len = min(namlen, DTLHDRDATALEN_LEGACY); in dtGetKey()
3869 namlen = ih->namlen; in dtGetKey()
3871 len = min(namlen, DTIHDRDATALEN); in dtGetKey()
3874 key->namlen = namlen; in dtGetKey()
3889 namlen -= len; in dtGetKey()
3890 len = min(namlen, DTSLOTDATALEN); in dtGetKey()
3923 klen = key->namlen; in dtInsertEntry()
3944 lh->namlen = klen; in dtInsertEntry()
3960 ih->namlen = klen; in dtInsertEntry()
4134 snamlen = slh->namlen; in dtMoveEntry()
4151 snamlen = sih->namlen; in dtMoveEntry()
4384 ((struct idtentry *) t)->namlen = 0; in dtTruncateEntry()