chtab
chtab = pstab + nsizes + 1;
chname = (char *) (chtab + nchtab);
if ( strcmp(s, &chname[chtab[i]]) != 0 )
if ( strcmp(&chname[chtab[i]], s) == 0 )
} else name = &chname[chtab[lastc - 128]];
short *chtab; /* used to locate character names */
short chtab[NCH]; /* index of character in chname */
chtab[dev.nchtab++] = pchname;
chtab[dev.nchtab++] = 0; /* terminate properly */
write(fdout, chtab, dev.nchtab * sizeof(chtab[0]));
+ dev.nchtab * sizeof(chtab[0])
if (strcmp(&chname[chtab[i]], ch) == 0) {
extern short *chtab;
oput(chname[chtab[j-128]]);
oput(chname[chtab[j-128]+1]);
chtab[i] = cp - chname; /* index, not pointer */
for (i = 0; chtab[i] != 0; i++)
if (strcmp(s, &chname[chtab[i]]) == 0)
short *chtab = xchtab;
short chtab[NCH]; /* index of character in chname */
chtab[dev.nchtab++] = p - chname;
chtab[dev.nchtab++] = 0; /* terminate properly */
write(fdout, chtab, dev.nchtab * sizeof(chtab[0]));
+ dev.nchtab * sizeof(chtab[0])
if (strcmp(&chname[chtab[i]], ch) == 0) {
chtab = pstab + nsizes + 1;
chname = (char *) (chtab + dev.nchtab);
if (strcmp(s, &chname[chtab[i]]) == 0)
fdprintf(ptid, "%s\n", &chname[chtab[k - 128]]);
fdprintf(ptid, "C%s\n", &chname[chtab[k - 128]]);
fdprintf(ptid, "C%s\n", &chname[chtab[k - 128]]);
short *chtab;
extern short *chtab;
if (strcmp(&chname[chtab[j]], temp) == 0)
short *chtab;
clfree4(CLIENT *cl, struct chtab *cp, struct nfs4_clnt *nfscl)
struct chtab *cp; /* list of objects that can be reclaimed */
struct chtab *cpe;
struct chtab *cpl;
struct chtab **cpp;
struct chtab *ch;
sizeof (struct chtab), 0, NULL, NULL, clreclaim4, NULL,
struct chtab **chp, struct nfs4_clnt *nfscl)
struct chtab *cp;
struct chtab **chp, struct nfs4_clnt *nfscl)
struct chtab *ch;
struct chtab **);
void clfree(CLIENT *, struct chtab *);
struct chtab **, struct nfs_clnt *);
struct chtab **, struct nfs_clnt *);
struct chtab **chp, struct nfs_clnt *nfscl)
struct chtab *cp;
sizeof (struct chtab), 0, NULL, NULL, clreclaim, NULL, NULL, 0);
struct chtab **chp)
struct chtab **chp, struct nfs_clnt *nfscl)
struct chtab **chp, struct nfs_clnt *nfscl)
clfree_impl(CLIENT *cl, struct chtab *cp, struct nfs_clnt *nfscl)
clfree(CLIENT *cl, struct chtab *cp)
struct chtab *cp; /* list of objects that can be reclaimed */
struct chtab *cpe;
struct chtab *cpl;
struct chtab **cpp;
struct chtab *ch;
struct chtab *ch_list; /* pointer to free client handle(s) */
struct chtab *ch_list; /* next free client handle */
struct chtab **);
extern void clfree(CLIENT *, struct chtab *);