Lines Matching defs:pf
775 struct formats *pf;
796 for (pf = formats; pf->f_mode != NULL; pf++)
797 if (strcasecmp(pf->f_mode, mode) == 0)
799 if (pf->f_mode == NULL) {
849 ecode = (*pf->f_validate)(tp->th_opcode);
875 tsize_set = (readmode && (pf->f_convert == 0));
883 (*pf->f_recv)(pf, oacklen);
885 (*pf->f_send)(pf, oacklen);
1011 tftpd_sendfile(struct formats *pf, int oacklen)
1092 size = readit(file, &dp, pf->f_convert);
1114 read_ahead(file, pf->f_convert);
1185 tftpd_recvfile(struct formats *pf, int oacklen)
1240 if (write_behind(file, pf->f_convert) < 0) {
1288 size = writeit(file, &dp, n - 4, pf->f_convert);
1294 if (write_behind(file, pf->f_convert) < 0) {