Searched refs:filep (Results 26 - 50 of 54) sorted by relevance

123

/opensolaris-onvv-gate/usr/src/cmd/setfacl/
H A Dsetfacl.c50 static int get_acl_info(char *filep, aclent_t **aclpp);
133 register char *filep; local
135 filep = argv[optind];
161 aclcnt = get_acl_info(filep, &aclp);
165 work_dp, filep, rflag) == -1)
168 if (set_file_entries(aclfilep, filep, rflag) == -1)
181 if (set_online_entries(work_sp, filep, rflag) == -1)
192 get_acl_info(char *filep, aclent_t **aclpp) argument
196 if ((aclcnt = acl(filep, GETACLCNT, 0, NULL)) < 0) {
206 gettext("%s: failed to get acl count\n"), filep);
[all...]
/opensolaris-onvv-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c175 file_err(struct conf_file *filep, char *fmt, ...) argument
182 filep->filename, filep->linenum);
190 lex(struct conf_file *filep, char *val, size_t size) argument
196 FILE *fp = filep->fp;
261 file_err(filep, "Missing \"\n");
290 file_err(filep,
442 parse_conf_entry(struct conf_file *filep, char *tokbuf, size_t linesize) argument
472 file_err(filep, tok_err, tokbuf);
481 file_err(filep, tok_er
[all...]
/opensolaris-onvv-gate/usr/src/cmd/file/
H A Dfile.c213 char **filep; local
313 for (filep = mlist1; filep < mlist1p; filep++) {
314 if (f_mkmtab(*filep, cflg, 1) == -1) {
340 for (filep = mlist1; filep < mlist1p; filep++) {
341 if (f_mkmtab(*filep, cflg, 0) == -1) {
355 for (filep
[all...]
/opensolaris-onvv-gate/usr/src/cmd/backup/lib/
H A Dbyteorder.c47 byteorder_banner(struct byteorder_ctx *ctx, FILE *filep) argument
49 if ((! ctx->initialized) || (filep == NULL))
53 (void) fprintf(filep, gettext("Note: doing byte swapping\n"));
/opensolaris-onvv-gate/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_kmod.h59 int kmod_getinfo(cfsd_kmod_object_t *kmod_object_p, cfs_cid_t *filep,
66 const char *name, dl_cred_t *credp, cfs_vattr_t *vattrp, cfs_fid_t *filep);
71 int kmod_pushback(cfsd_kmod_object_t *kmod_object_p, cfs_cid_t *filep,
H A Dcfsd_kmod.c488 * filep
492 * precond(filep)
496 kmod_getinfo(cfsd_kmod_object_t *kmod_object_p, cfs_cid_t *filep, argument
505 dbug_precond(filep);
508 xx = kmod_doioctl(kmod_object_p, CFSDCMD_GETINFO, filep,
509 sizeof (*filep), infop, sizeof (*infop));
514 dbug_print(("ioctl", " file cid %08x", filep->cid_fileno));
632 * filep
642 const char *name, dl_cred_t *credp, vattr_t *vattrp, cfs_fid_t *filep)
679 if (filep)
641 kmod_getattrname(cfsd_kmod_object_t *kmod_object_p, cfs_fid_t *dirp, const char *name, dl_cred_t *credp, vattr_t *vattrp, cfs_fid_t *filep) argument
797 kmod_pushback(cfsd_kmod_object_t *kmod_object_p, cfs_cid_t *filep, cfs_fid_t *fidp, dl_cred_t *credp, cfs_timestruc_t *ctimep, cfs_timestruc_t *mtimep, int update) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/cachefs/common/
H A Dsubr.c194 * filep name of the cache label file
199 * precond(filep)
204 cachefs_label_file_get(const char *filep, struct cache_label *clabelp) argument
211 xx = lstat64(filep, &statinfo);
215 filep, strerror(errno));
217 pr_err(gettext("File %s does not exist."), filep);
225 pr_err(gettext("Cache label file %s corrupted"), filep);
231 pr_err(gettext("Cache label file %s wrong size"), filep);
236 fd = open(filep, O_RDONLY);
238 pr_err(gettext("Error opening %s: %s"), filep,
274 cachefs_label_file_put(const char *filep, struct cache_label *clabelp) argument
319 cachefs_label_file_vcheck(char *filep, struct cache_label *clabelp) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Ddump.c1771 process_k5beta_record(fname, kcontext, filep, verbose, linenop)
1774 FILE *filep;
1813 nmatched = fscanf(filep, "%d\t%d\t%d\t%d\t%d\t%d\t",
1844 if (read_string(filep, name, name_len, linenop)) {
1849 if (!error && (fscanf(filep, "\t%d\t", &tmpint1) != 1)) {
1855 if (!error && read_octet_string(filep,
1887 if (!error && (fscanf(filep,
1901 if (!error && read_string(filep,
1909 if (!error && (fscanf(filep, "\t%u\t%u\t%u\t",
1917 if (!error && read_octet_string(filep,
[all...]
H A Dovload.c119 int process_ov_principal(fname, kcontext, filep, verbose, linenop)
122 FILE *filep;
138 if (fgets(line, LINESIZE, filep) == (char *) NULL) {
/opensolaris-onvv-gate/usr/src/stand/lib/fs/nfs/
H A Dnfs2ops.c58 nfsread(struct nfs_file *filep, char *buf, size_t size) argument
73 read_args.file = filep->fh.fh2; /* structure copy */
74 read_args.offset = filep->offset;
164 filep->offset += readcnt;
H A Dmount.c141 nfsmountroot(char *path, struct nfs_file *filep) argument
174 * Since the mount succeeded, we'll mark the filep's
178 bcopy(&root_tmp.fhstatus_u.fhs_fhandle, &filep->fh.fh2, FHSIZE);
179 filep->ftype.type2 = NFDIR;
180 filep->version = NFS_VERSION;
317 nfs3mountroot(char *path, struct nfs_file *filep) argument
360 * Since the mount succeeded, we'll mark the filep's
364 filep->fh.fh3.len = res3.mountres3_u.mountinfo.fhandle.fhandle3_len;
366 filep->fh.fh3.data,
367 filep
[all...]
H A Dnfs3ops.c56 nfs3read(struct nfs_file *filep, char *buf, size_t size) argument
71 read_args.file.data.data_len = filep->fh.fh3.len;
72 read_args.file.data.data_val = filep->fh.fh3.data;
73 read_args.offset = filep->offset;
168 filep->offset += readcnt;
H A Dnfs4ops.c58 nfs4read(struct nfs_file *filep, char *buf, size_t size) argument
93 if (filep->fh.fh4.len > 0)
94 compound_init(&readargs.r_arg, &str, 0, 2, &filep->fh.fh4);
103 readargs.r_offset = filep->offset;
165 filep->offset += readcnt;
/opensolaris-onvv-gate/usr/src/cmd/bdiff/
H A Dbdiff.c534 readline(char **bufferp, size_t *bufsizp, FILE *filep) argument
542 bufp = fgets(*bufferp, *bufsizp, filep);
557 bufp = fgets(*bufferp + oldsize -1, oldsize + 1, filep);
559 if (filep->_flag & _IOEOF) {
/opensolaris-onvv-gate/usr/src/stand/sys/
H A Dbootvfs.h35 #include <sys/filep.h>
/opensolaris-onvv-gate/usr/src/cmd/rmvolmgr/
H A Dvold.c761 FILE *filep; local
825 filep = fdopen(file_descriptor, "w");
826 if (filep != NULL) {
828 (void) fprintf(filep, "%s %s %s",
832 (void) fclose(filep);
841 (void) fprintf(filep, "%s %s",
843 (void) fclose(filep);
/opensolaris-onvv-gate/usr/src/uts/common/fs/fifofs/
H A Dfifosubr.c906 struct file *filep; local
921 if (error = falloc(vp1, FWRITE|FREAD, &filep, NULL)) {
926 mutex_exit(&filep->f_tlock);
935 if ((error = fifo_stropen(&vp1, FREAD|FWRITE, filep->f_cred, 0, 0)) !=
937 (error = fifo_stropen(&vp2, flag, filep->f_cred, 0, 0)) != 0) {
944 (void) closef(filep);
987 if (error = do_sendfp((*vpp)->v_stream, filep, crp)) {
1028 (void) closef(filep);
1031 c = filep->f_cred;
1033 (void) closef(filep);
[all...]
/opensolaris-onvv-gate/usr/src/stand/lib/fs/ufs/
H A Dlufsboot.c42 #include <sys/filep.h>
245 extern int diskread(fileid_t *filep);
473 lufs_boot_init(fileid_t *filep) argument
475 struct fs *sb = (struct fs *)filep->fi_memp;
480 * filep pointing to the superblock. Verify that this
486 sb != (struct fs *)&filep->fi_devp->un_fs.di_fs ||
507 logfp->fi_devp = filep->fi_devp;
/opensolaris-onvv-gate/usr/src/cmd/newform/
H A Dnewform.c326 *filep; /* Pointer to file name */ local
413 filep = --p;
555 if ((fp = fopen(filep, "r")) == NULL) {
557 "newform: can't open %s\n", filep);
/opensolaris-onvv-gate/usr/src/cmd/priocntl/
H A Dsubr.c464 read_pidlist(size_t *npidsp, FILE *filep) argument
476 nitems = fread(pidlist + *npidsp, sizeof (pid_t), NPIDS, filep);
477 if (ferror(filep))
/opensolaris-onvv-gate/usr/src/cmd/troff/
H A Dtdef.h287 * The numerology is delicate if filep is 16 bits:
292 * If filep is an unsigned long (and if your
305 typedef unsigned int filep; /* this is good for 32 bit machines */ typedef
389 filep op;
406 filep pip;
H A Dn1.c80 filep ipl[NSO];
688 return pushi((filep)contab[j].mx, a);
/opensolaris-onvv-gate/usr/src/lib/libcurses/screen/
H A Dllib-lcurses690 WINDOW *getwin(FILE *filep);
884 int putwin(WINDOW *win, FILE *filep);
923 int scr_ll_dump(FILE *filep);
926 int scr_reset(FILE *filep, int type);
/opensolaris-onvv-gate/usr/src/cmd/agents/snmp/parser/
H A Dbackend.c236 char *filep[50]; local
246 filep[0] = "/var/snmp/mib/mib_core.txt";
255 filep[filecount++] = (char *)strdup(optarg);
256 if (strstr(filep[filecount-1], "mib_core"))
264 filep[filecount++] = (char *)strdup(argv[optind+loop]);
265 if (strstr(filep[filecount-1], "mib_core"))
301 fp = fopen(filep[i], "r");
304 error("open() failed on %s %s\n\n", filep[i], errno_string());
/opensolaris-onvv-gate/usr/src/stand/lib/fs/common/
H A Dcache.c38 #include <sys/filep.h>

Completed in 721 milliseconds

123