Lines Matching refs:flp

763 	flist_t *flp;  in dirid_to_fent()  local
767 flp = &flist[FT_DIR]; in dirid_to_fent()
768 for (fep = flp->fents, efep = &fep[flp->nfiles]; fep < efep; fep++) { in dirid_to_fent()
770 dcache_enter(dirid, fep - flp->fents); in dirid_to_fent()
818 void fent_to_name(pathname_t * name, flist_t * flp, fent_t * fep) in fent_to_name() argument
831 i = sprintf(buf, "%c%x", flp->tag, fep->id); in fent_to_name()
839 flist_t *flp; in fix_parent() local
843 for (i = 0, flp = flist; i < FT_nft; i++, flp++) { in fix_parent()
844 for (j = 0, fep = flp->fents; j < flp->nfiles; j++, fep++) { in fix_parent()
863 flist_t *flp; in generate_fname() local
868 flp = &flist[ft]; in generate_fname()
869 len = sprintf(buf, "%c%x", flp->tag, id = nameseq++); in generate_fname()
893 flist_t *flp; in get_fname() local
898 for (i = 0, c = 0, flp = flist; i < FT_nft; i++, flp++) { in get_fname()
900 c += flp->nfiles; in get_fname()
911 for (i = 0, c = 0, flp = flist; i < FT_nft; i++, flp++) { in get_fname()
913 if (x < c + flp->nfiles) { in get_fname()
914 fep = &flp->fents[x - c]; in get_fname()
916 fent_to_name(name, flp, fep); in get_fname()
918 *flpp = flp; in get_fname()
930 c += flp->nfiles; in get_fname()
2135 flist_t *flp; in link_f() local
2143 if (!get_fname(FT_NOTDIR, r, &f, &flp, NULL, &v1)) { in link_f()
2155 e = generate_fname(fep, flp - flist, &l, &id, &v1); in link_f()
2170 add_to_flist(flp - flist, id, parid); in link_f()
2334 flist_t *flp; in rename_f() local
2343 if (!get_fname(FT_ANYm, r, &f, &flp, &fep, &v1)) { in rename_f()
2355 e = generate_fname(dfep, flp - flist, &newf, &id, &v1); in rename_f()
2370 if (flp - flist == FT_DIR) { in rename_f()
2374 del_from_flist(flp - flist, fep - flp->fents); in rename_f()
2375 add_to_flist(flp - flist, id, parid); in rename_f()
2577 flist_t *flp; in unlink_f() local
2581 if (!get_fname(FT_NOTDIR, r, &f, &flp, &fep, &v)) { in unlink_f()
2590 del_from_flist(flp - flist, fep - flp->fents); in unlink_f()