/freebsd-11-stable/usr.bin/mkuzip/ |
H A D | mkuz_conveyor.c | 54 struct mkuz_cfg *cfp; member in struct:cw_args 61 struct mkuz_cfg *cfp; local 67 cfp = cwp->cfp; 70 c_ctx = cfp->handler->f_init(cfp->blksz); 78 if (cfp->no_zcomp == 0 && 83 oblk = cfp->handler->f_compress(c_ctx, iblk); 84 if (cfp->en_dedup != 0) { 106 mkuz_conveyor_ctor(struct mkuz_cfg *cfp) argument [all...] |
H A D | mkuz_insize.c | 43 mkuz_get_insize(struct mkuz_cfg *cfp) argument 50 if (fstat(cfp->fdr, &sb) != 0) { 51 warn("fstat(%s)", cfp->iname); 55 if (fstatfs(cfp->fdr, &statfsbuf) != 0) { 56 warn("fstatfs(%s)", cfp->iname); 73 if (ioctl(cfp->fdr, DIOCGMEDIASIZE, &ms) < 0) { 80 cfp->iname);
|
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | cf.c | 45 SM_FILE_T *cfp; local 53 cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, path, SM_IO_RDONLY, NULL); 54 if (cfp == NULL) 57 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0) 90 if (sm_io_error(cfp)) 94 (void) sm_io_close(cfp, SM_TIME_DEFAULT); 98 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
|
/freebsd-11-stable/usr.sbin/lpr/common_source/ |
H A D | rmjob.c | 193 FILE *cfp; local 198 if ((cfp = fopen(file, "r")) == NULL) 201 while (get_line(cfp)) { 209 (void) fclose(cfp); 235 FILE *cfp; local 251 if ((cfp = fopen(file, "r")) == NULL) 254 while (get_line(cfp)) { 258 (void) fclose(cfp);
|
H A D | displayq.c | 387 FILE *cfp; local 394 if ((cfp = fopen(cf, "r")) == NULL) 418 while (get_line(cfp)) { 422 fclose(cfp); 464 fclose(cfp);
|
H A D | common.c | 83 * get_line reads a line from the control file cfp, removes tabs, converts 88 get_line(FILE *cfp) argument 94 while ((c = getc(cfp)) != '\n' && (size_t)(linel+1) < sizeof(line)) {
|
/freebsd-11-stable/contrib/sendmail/praliases/ |
H A D | praliases.c | 65 SM_FILE_T *cfp; local 116 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY, 125 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0) 160 (void) sm_io_close(cfp, SM_TIME_DEFAULT); 225 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
|
/freebsd-11-stable/usr.bin/chat/ |
H A D | chat.c | 324 FILE *cfp; local 326 cfp = fopen (chatfile, "r"); 327 if (cfp == NULL) 333 while (fgets(buf, STR_LEN, cfp) != NULL) { 381 fclose (cfp);
|
/freebsd-11-stable/contrib/sendmail/editmap/ |
H A D | editmap.c | 101 FILE *cfp; local 209 if ((cfp = fopen(cfile, "r")) == NULL) 215 while (fgets(buf, sizeof(buf), cfp) != NULL) 265 (void) fclose(cfp);
|
/freebsd-11-stable/contrib/sendmail/mailstats/ |
H A D | mailstats.c | 56 SM_FILE_T *cfp; local 122 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY, 137 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0) 212 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
|
/freebsd-11-stable/lib/libc/rpc/ |
H A D | svc_vc.c | 425 struct cf_rendezvous *cfp; local 427 cfp = (struct cf_rendezvous *)xprt->xp_p1; 428 if (cfp == NULL) 432 *(int *)in = cfp->maxrec; 435 cfp->maxrec = *(int *)in; 457 struct cf_conn *cfp; local 464 cfp = (struct cf_conn *)xprt->xp_p1; 466 if (cfp->nonblock) { 475 gettimeofday(&cfp->last_recv_time, NULL); 497 gettimeofday(&cfp [all...] |
/freebsd-11-stable/contrib/sendmail/makemap/ |
H A D | makemap.c | 98 SM_FILE_T *cfp; local 104 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, 125 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0) 246 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
|
/freebsd-11-stable/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 99 static FILE *cfp; /* control file */ variable 398 if ((cfp = fopen(file, "r")) == NULL) { 455 while (get_line(cfp)) 559 (void) fclose(cfp); 579 fseek(cfp, 0L, 0); 580 while (get_line(cfp)) 600 (void) fclose(cfp); 903 if ((cfp = fopen(file, "r")) == NULL) 925 while (get_line(cfp)) { 957 while ((i = get_line(cfp)) ! [all...] |
/freebsd-11-stable/sys/fs/nfsserver/ |
H A D | nfs_nfsdstate.c | 154 uint64_t first, uint64_t end, struct nfslockconflict *cfp, NFSPROC_T *p); 158 int oldflags, uint64_t first, uint64_t end, struct nfslockconflict *cfp, 1602 struct nfslock **new_lopp, struct nfslockconflict *cfp, 1715 new_lop->lo_first, new_lop->lo_end, cfp, p); 2209 if (cfp != NULL && ret == 0) { 2210 cfp->cl_clientid.lval[0]=lop->lo_stp->ls_stateid.other[0]; 2211 cfp->cl_clientid.lval[1]=lop->lo_stp->ls_stateid.other[1]; 2212 cfp->cl_first = lop->lo_first; 2213 cfp->cl_end = lop->lo_end; 2214 cfp 1601 nfsrv_lockctrl(vnode_t vp, struct nfsstate **new_stpp, struct nfslock **new_lopp, struct nfslockconflict *cfp, nfsquad_t clientid, nfsv4stateid_t *stateidp, __unused struct nfsexstuff *exp, struct nfsrv_descript *nd, NFSPROC_T *p) argument 5765 nfsrv_locallock(vnode_t vp, struct nfslockfile *lfp, int flags, uint64_t first, uint64_t end, struct nfslockconflict *cfp, NFSPROC_T *p) argument 5900 nfsrv_dolocal(vnode_t vp, struct nfslockfile *lfp, int flags, int oldflags, uint64_t first, uint64_t end, struct nfslockconflict *cfp, NFSPROC_T *p) argument [all...] |