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