• Home
  • Raw
  • Download

Lines Matching refs:fhp

114 	register const unsigned char *fhp = fh;  in Parse_fh()  local
157 else if ((fhp[0] == 0) && (fhp[1] == 0)) { in Parse_fh()
160 if ((fhp[2] == 0) && (fhp[3] == 0)) { in Parse_fh()
170 if ((fhp[4] != 0) && (fhp[5] == 0) && in Parse_fh()
171 (fhp[8] == 12) && (fhp[9] == 0)) { in Parse_fh()
178 if ((fhp[4] == 0) && (fhp[5] == 8) && (fhp[6] == 0) && in Parse_fh()
179 (fhp[7] == 0)) { in Parse_fh()
196 if ((fhp[2] == 0) && (fhp[3] == 0)) { in Parse_fh()
203 if ((fhp[6] == 0) && (fhp[7] == 0)) { in Parse_fh()
207 else if ((len >= 24/4) && (fhp[21] == 0) && (fhp[23] == 0)) { in Parse_fh()
213 if (fhp[9] == 10) in Parse_fh()
223 if ((fhp[8] == 12) && (fhp[9] == 0)) { in Parse_fh()
226 else if ((fhp[8] == 0) && (fhp[9] == 10)) { in Parse_fh()
228 if ((fhp[7] == 0) && (fhp[6] == 0) && in Parse_fh()
229 (fhp[5] == 0) && (fhp[4] == 0)) { in Parse_fh()
233 else if (fhp[7] == 2) { in Parse_fh()
248 if (is_UCX(fhp, len)) { in Parse_fh()
263 fsidp->Fsid_dev.Minor = fhp[7]; in Parse_fh()
264 fsidp->Fsid_dev.Major = fhp[6]; in Parse_fh()
267 *inop = make_uint32(fhp[12], fhp[13], fhp[14], fhp[15]); in Parse_fh()
274 fsidp->Fsid_dev.Minor = fhp[0]; in Parse_fh()
275 fsidp->Fsid_dev.Major = fhp[1]; in Parse_fh()
278 *inop = make_uint32(fhp[15], fhp[14], fhp[13], fhp[12]); in Parse_fh()
285 fsidp->fsid_code = make_uint32(fhp[7], fhp[6], fhp[5], fhp[4]); in Parse_fh()
288 temp = make_uint32(fhp[3], fhp[2], fhp[1], fhp[0]); in Parse_fh()
292 *inop = make_uint32(fhp[15], fhp[14], fhp[13], fhp[12]); in Parse_fh()
298 fsidp->Fsid_dev.Minor = fhp[3]; in Parse_fh()
299 fsidp->Fsid_dev.Major = fhp[2]; in Parse_fh()
302 *inop = make_uint32(fhp[8], fhp[9], fhp[10], fhp[11]); in Parse_fh()
309 fsidp->Fsid_dev.Minor = make_uint16(fhp[2], fhp[3]); in Parse_fh()
310 fsidp->Fsid_dev.Major = make_uint16(fhp[0], fhp[1]); in Parse_fh()
311 fsidp->fsid_code = make_uint32(fhp[4], fhp[5], fhp[6], fhp[7]); in Parse_fh()
313 *inop = make_uint32(fhp[12], fhp[13], fhp[14], fhp[15]); in Parse_fh()
331 fsidp->Fsid_dev.Minor = fhp[3]; in Parse_fh()
332 fsidp->Fsid_dev.Major = fhp[2]; in Parse_fh()
333 fsidp->fsid_code = make_uint32(fhp[4], fhp[5], fhp[6], fhp[7]); in Parse_fh()
335 *inop = make_uint32(fhp[12], fhp[13], fhp[14], fhp[15]); in Parse_fh()
342 temp = make_uint16(fhp[0], fhp[1]); in Parse_fh()
344 temp = make_uint24(fhp[1], fhp[2], fhp[3]); in Parse_fh()
346 fsidp->fsid_code = make_uint32(fhp[4], fhp[5], fhp[6], fhp[7]); in Parse_fh()
348 *inop = make_uint32(fhp[12], fhp[13], fhp[14], fhp[15]); in Parse_fh()
356 fsidp->Fsid_dev.Minor = fhp[0]; in Parse_fh()
357 fsidp->Fsid_dev.Major = fhp[1]; in Parse_fh()
359 temp = make_uint32(fhp[7], fhp[6], fhp[5], fhp[4]); in Parse_fh()
384 *inop = make_uint32(fhp[26], fhp[27], fhp[23], fhp[22]); in Parse_fh()
388 *fsnamep = (const char *)&(fhp[1]); in Parse_fh()
395 fsidp->Fsid_dev.Minor = make_uint16(fhp[2], fhp[3]); in Parse_fh()
396 fsidp->Fsid_dev.Major = make_uint16(fhp[0], fhp[1]); in Parse_fh()
397 fsidp->fsid_code = make_uint32(fhp[4], fhp[5], fhp[6], fhp[7]); in Parse_fh()
399 *inop = make_uint32(fhp[12], fhp[13], fhp[14], fhp[15]); in Parse_fh()
406 fsidp->Fsid_dev.Major = fhp[0]; in Parse_fh()
407 temp = make_uint24(fhp[1], fhp[2], fhp[3]); in Parse_fh()
409 fsidp->fsid_code = make_uint32(fhp[4], fhp[5], fhp[6], fhp[7]); in Parse_fh()
411 *inop = make_uint32(fhp[12], fhp[13], fhp[14], fhp[15]); in Parse_fh()
421 (void)fprintf(stderr, "%x.", fhp[i]); in Parse_fh()
426 (void)snprintf(&(fsidp->Opaque_Handle[i*2]), 3, "%.2X", fhp[i]); in Parse_fh()
454 is_UCX(const unsigned char *fhp, u_int len) in is_UCX() argument
467 if (ND_ISPRINT(fhp[i])) { in is_UCX()
473 else if (fhp[i] == 0) { in is_UCX()