Home
last modified time | relevance | path

Searched refs:filep (Results 26 – 44 of 44) sorted by relevance

12

/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dmount.c139 nfsmountroot(char *path, struct nfs_file *filep) in nfsmountroot() argument
176 bcopy(&root_tmp.fhstatus_u.fhs_fhandle, &filep->fh.fh2, FHSIZE); in nfsmountroot()
177 filep->ftype.type2 = NFDIR; in nfsmountroot()
178 filep->version = NFS_VERSION; in nfsmountroot()
315 nfs3mountroot(char *path, struct nfs_file *filep) in nfs3mountroot() argument
362 filep->fh.fh3.len = res3.mountres3_u.mountinfo.fhandle.fhandle3_len; in nfs3mountroot()
364 filep->fh.fh3.data, in nfs3mountroot()
365 filep->fh.fh3.len); in nfs3mountroot()
366 filep->ftype.type3 = NF3DIR; in nfs3mountroot()
367 filep->version = NFS_V3; in nfs3mountroot()
H A Dnfs3ops.c56 nfs3read(struct nfs_file *filep, char *buf, size_t size) in nfs3read() argument
71 read_args.file.data.data_len = filep->fh.fh3.len; in nfs3read()
72 read_args.file.data.data_val = filep->fh.fh3.data; in nfs3read()
73 read_args.offset = filep->offset; in nfs3read()
168 filep->offset += readcnt; in nfs3read()
H A Dnfs2ops.c58 nfsread(struct nfs_file *filep, char *buf, size_t size) in nfsread() argument
73 read_args.file = filep->fh.fh2; /* structure copy */ in nfsread()
74 read_args.offset = filep->offset; in nfsread()
164 filep->offset += readcnt; in nfsread()
H A Dnfs4ops.c56 nfs4read(struct nfs_file *filep, char *buf, size_t size) in nfs4read() argument
91 if (filep->fh.fh4.len > 0) in nfs4read()
92 compound_init(&readargs.r_arg, &str, 0, 2, &filep->fh.fh4); in nfs4read()
101 readargs.r_offset = filep->offset; in nfs4read()
164 filep->offset += readcnt; in nfs4read()
/illumos-gate/usr/src/cmd/file/
H A Dfile.c215 char **filep; in main() local
319 for (filep = mlist1; filep < mlist1p; filep++) { in main()
320 if (f_mkmtab(*filep, cflg, 1) == -1) { in main()
346 for (filep = mlist1; filep < mlist1p; filep++) { in main()
347 if (f_mkmtab(*filep, cflg, 0) == -1) { in main()
361 for (filep = mlist1; filep && (filep < mlist1p); filep++) { in main()
362 if (f_mkmtab(*filep, cflg, 1) == -1) { in main()
366 for (filep = mlist2; filep && (filep < mlist2p); filep++) { in main()
367 if (f_mkmtab(*filep, cflg, 0) == -1) { in main()
/illumos-gate/usr/src/cmd/backup/lib/
H A Dbyteorder.c45 byteorder_banner(struct byteorder_ctx *ctx, FILE *filep) in byteorder_banner() argument
47 if ((! ctx->initialized) || (filep == NULL)) in byteorder_banner()
51 (void) fprintf(filep, gettext("Note: doing byte swapping\n")); in byteorder_banner()
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifosubr.c906 struct file *filep; in fifo_connld() local
921 if (error = falloc(vp1, FWRITE|FREAD, &filep, NULL)) { in fifo_connld()
926 mutex_exit(&filep->f_tlock); in fifo_connld()
935 if ((error = fifo_stropen(&vp1, FREAD|FWRITE, filep->f_cred, 0, 0)) != in fifo_connld()
937 (error = fifo_stropen(&vp2, flag, filep->f_cred, 0, 0)) != 0) { in fifo_connld()
944 (void) closef(filep); in fifo_connld()
987 if (error = do_sendfp((*vpp)->v_stream, filep, crp)) { in fifo_connld()
1028 (void) closef(filep); in fifo_connld()
1031 c = filep->f_cred; in fifo_connld()
1033 (void) closef(filep); in fifo_connld()
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Dvold.c761 FILE *filep; in create_one_notify_file() local
825 filep = fdopen(file_descriptor, "w"); in create_one_notify_file()
826 if (filep != NULL) { in create_one_notify_file()
828 (void) fprintf(filep, "%s %s %s", in create_one_notify_file()
832 (void) fclose(filep); in create_one_notify_file()
841 (void) fprintf(filep, "%s %s", in create_one_notify_file()
843 (void) fclose(filep); in create_one_notify_file()
/illumos-gate/usr/src/cmd/bdiff/
H A Dbdiff.c532 readline(char **bufferp, size_t *bufsizp, FILE *filep) in readline() argument
540 bufp = fgets(*bufferp, *bufsizp, filep); in readline()
555 bufp = fgets(*bufferp + oldsize -1, oldsize + 1, filep); in readline()
557 if (filep->_flag & _IOEOF) { in readline()
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dovload.c117 int process_ov_principal(fname, kcontext, filep, verbose, linenop) in process_ov_principal() argument
120 FILE *filep;
136 if (fgets(line, LINESIZE, filep) == (char *) NULL) {
H A Dkdb5_util.h102 FILE *filep, int verbose,
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dlufsboot.c243 extern int diskread(fileid_t *filep);
471 lufs_boot_init(fileid_t *filep) in lufs_boot_init() argument
473 struct fs *sb = (struct fs *)filep->fi_memp; in lufs_boot_init()
484 sb != (struct fs *)&filep->fi_devp->un_fs.di_fs || in lufs_boot_init()
505 logfp->fi_devp = filep->fi_devp; in lufs_boot_init()
/illumos-gate/usr/src/cmd/newform/
H A Dnewform.c324 *filep; /* Pointer to file name */ in cnvtspec() local
411 filep = --p; in cnvtspec()
553 if ((fp = fopen(filep, "r")) == NULL) { in cnvtspec()
555 "newform: can't open %s\n", filep); in cnvtspec()
/illumos-gate/usr/src/cmd/priocntl/
H A Dsubr.c461 read_pidlist(size_t *npidsp, FILE *filep) in read_pidlist() argument
473 nitems = fread(pidlist + *npidsp, sizeof (pid_t), NPIDS, filep); in read_pidlist()
474 if (ferror(filep)) in read_pidlist()
/illumos-gate/usr/src/cmd/troff/
H A Dtdef.h303 typedef unsigned int filep; /* this is good for 32 bit machines */ typedef
387 filep op;
404 filep pip;
H A Dn1.c77 filep ipl[NSO];
687 return pushi((filep)contab[j].mx, a);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_recovery.c2393 component4 *filep; in nfs4_free_lost_rqst() local
2402 filep = &lrp->lr_ofile; in nfs4_free_lost_rqst()
2403 if (filep->utf8string_val) { in nfs4_free_lost_rqst()
2404 kmem_free(filep->utf8string_val, filep->utf8string_len); in nfs4_free_lost_rqst()
2405 filep->utf8string_val = NULL; in nfs4_free_lost_rqst()
/illumos-gate/usr/src/cmd/raidctl/
H A Draidctl.c161 static int do_flash(uint8_t f_flag, char *filep, char **ctls_argpp,
1101 do_flash(uint8_t f_flag, char *filep, char **ctls_argpp, in do_flash() argument
1146 if ((ret = raidcfg_update_fw(ctl_handle, filep, NULL)) < 0) { in do_flash()
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c7273 dladm_secobj_class_t class, FILE *filep) in get_secobj_val() argument
7279 if (filep == NULL) { in get_secobj_val()
7290 if (fgets(buf, sizeof (buf), filep) == NULL) in get_secobj_val()
7302 (void) fclose(filep); in get_secobj_val()
7373 FILE *filep = NULL; in do_create_secobj() local
7391 filep = fopen(optarg, "r"); in do_create_secobj()
7392 if (filep == NULL) { in do_create_secobj()
7441 rval = get_secobj_val(obj_name, obj_val, &obj_len, class, filep); in do_create_secobj()

12