Lines Matching refs:pf
102 void sendfile(struct formats *pf);
103 void recvfile(struct formats *pf);
227 register struct formats *pf; in tftp() local
249 for (pf = formats; pf->f_mode; pf++) in tftp()
250 if (strcmp(pf->f_mode, mode) == 0) in tftp()
252 if (pf->f_mode == 0) { in tftp()
256 ecode = (*pf->f_validate)(filename, tp->th_opcode); in tftp()
262 (*pf->f_recv)(pf); in tftp()
264 (*pf->f_send)(pf); in tftp()
349 void sendfile(struct formats *pf) in sendfile() argument
361 size = readit(file, &dp, pf->f_convert); in sendfile()
377 read_ahead(file, pf->f_convert); in sendfile()
420 void recvfile(struct formats *pf) in recvfile() argument
442 write_behind(file, pf->f_convert); in recvfile()
467 size = writeit(file, &dp, n - 4, pf->f_convert); in recvfile()
474 write_behind(file, pf->f_convert); in recvfile()