Lines Matching defs:fp

97 	register struct file_entry *fp;
119 fp = (struct file_entry *)bp->b_un.b_buf;
120 fip->fe_lcount = fp->fe_lcount;
121 fip->fe_type = fp->fe_icb_tag.itag_ftype;
122 if (fp->fe_uniq_id >= maxuniqid)
123 maxuniqid = fp->fe_uniq_id + 1;
135 fip->fe_lseen, fp->fe_info_len);
141 end = fp->fe_info_len;
143 opndir(fp);
146 err = getdir(fp, &fbp, &offset, &fidp);
170 ckinode(fp);
195 opndir(struct file_entry *fp)
210 switch (fp->fe_icb_tag.itag_flags & 0x3) {
213 dir_naddrs = fp->fe_len_adesc / sizeof (short_ad_t);
214 dir_adrlist = (uint8_t *)(fp->fe_spec + fp->fe_len_ear);
218 dir_naddrs = fp->fe_len_adesc / sizeof (long_ad_t);
219 dir_adrlist = (uint8_t *)(fp->fe_spec + fp->fe_len_ear);
228 dir_basesize = fp->fe_len_adesc;
229 dir_fidp = (uint8_t *)(fp->fe_spec + fp->fe_len_ear);
230 baseblock = fp->fe_tag.tag_loc;
238 getallocext(struct file_entry *fp, uint32_t loc, uint32_t len)
301 getdir(struct file_entry *fp, struct bufarea **fbp,
332 switch (fp->fe_icb_tag.itag_flags & 0x3) {
344 if (getallocext(fp, sap->sad_ext_loc, len))
393 if (getallocext(fp, lap->lad_ext_loc, len))
472 ckinode(struct file_entry *fp)
478 switch (fp->fe_icb_tag.itag_flags & 0x3) {
481 dir_naddrs = fp->fe_len_adesc / sizeof (short_ad_t);
483 sap = (short_ad_t *)(fp->fe_spec + fp->fe_len_ear);
497 if (getallocext(fp, sap->sad_ext_loc, len))
507 dir_naddrs = fp->fe_len_adesc / sizeof (long_ad_t);
509 lap = (long_ad_t *)(fp->fe_spec + fp->fe_len_ear);
523 if (getallocext(fp, lap->lad_ext_loc, len))
541 register struct file_entry *fp;
549 fp = (struct file_entry *)bp->b_un.b_buf;
564 fp->fe_lcount = fip->fe_lseen;
576 register char *bp, *fp;
591 fp = freemap;
594 if (bcmp(bp, fp, part_bmp_bytes) != 0 &&
596 bcopy(bp, fp, part_bmp_bytes);