Home
last modified time | relevance | path

Searched refs:filep (Results 1 – 25 of 44) sorted by last modified time

12

/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()
/illumos-gate/usr/src/cmd/bhyve/
H A Ddebug.h34 #define FPRINTLN(filep, fmt, arg...) \ argument
37 fprintf(filep, fmt "\r\n", ##arg); \
39 fprintf(filep, fmt "\n", ##arg); \
/illumos-gate/usr/src/cmd/troff/
H A Dn1.c77 filep ipl[NSO];
687 return pushi((filep)contab[j].mx, a);
H A Dtdef.h303 typedef unsigned int filep; /* this is good for 32 bit machines */ typedef
387 filep op;
404 filep pip;
H A Dnii.c89 filep ip;
106 filep offset;
109 filep woff;
114 filep nextb;
120 filep apptr;
122 filep roff;
H A Dn3.c73 filep oldoff; in caseig()
213 filep savoff; in casede()
286 filep savip;
436 filep j; in alloc()
468 filep i; in ffree()
551 filep j, p; in rbf()
603 filep p; in rbf0()
606 filep i;
622 filep p; in incoff()
660 filep newip; in pushi()
[all …]
H A Dext.h62 extern filep apptr;
63 extern filep ip;
64 extern filep nextb;
65 extern filep offset;
66 extern filep roff;
67 extern filep woff;
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Ddump.c1774 FILE *filep;
1887 if (!error && (fscanf(filep,
1901 if (!error && read_string(filep,
2106 FILE *filep;
2220 read_octet_string(filep,
2254 nread = fscanf(filep, "%d", &t9);
2290 read_octet_string(filep,
2322 if (read_octet_string(filep,
2401 FILE *filep;
2449 FILE *filep;
[all …]
H A Dkdb5_util.h102 FILE *filep, int verbose,
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) {
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dscr_all.c51 FILE *filep; in _scr_all() local
53 if ((filep = fopen(file, "rF")) == NULL) in _scr_all()
55 rv = scr_reset(filep, which); in _scr_all()
56 (void) fclose(filep); in _scr_all()
H A Dscr_dump.c54 FILE *filep; in scr_dump() local
56 if ((filep = fopen(file, "wF")) == NULL) { in scr_dump()
64 rv = scr_ll_dump(filep); in scr_dump()
65 (void) fclose(filep); in scr_dump()
H A Dscr_ll_dump.c48 scr_ll_dump(FILE *filep) in scr_ll_dump() argument
65 1, filep) != 1) in scr_ll_dump()
71 if (putwin(curscr, filep) == ERR) in scr_ll_dump()
77 if (fwrite((char *) &magic, sizeof (int), 1, filep) != 1) in scr_ll_dump()
84 sizeof (short), 1, filep) != 1) || in scr_ll_dump()
86 1, filep) != 1)) { in scr_ll_dump()
91 filep) != lablen) || (fwrite(slk->_lval[i], in scr_ll_dump()
92 sizeof (char), lablen, filep) != lablen)) { in scr_ll_dump()
106 if (fwrite((char *) &magic, sizeof (int), 1, filep) != 1) in scr_ll_dump()
113 filep) != 1)) in scr_ll_dump()
[all …]
H A Dputwin.c53 putwin(WINDOW *win, FILE *filep) in putwin() argument
63 if (fwrite((char *) &(win->_cury), 1, nelt, filep) != nelt) in putwin()
71 maxx, filep) != maxx) in putwin()
H A Dgetwin.c50 getwin(FILE *filep) in getwin() argument
63 if ((fread((char *) win_nums, sizeof (short), SEPARATE_READ, filep) != in getwin()
75 if (fread(&(win->_flags), 1, nelt, filep) != nelt) in getwin()
86 if (fread((char *) *wcp++, sizeof (chtype), maxx, filep) != in getwin()
/illumos-gate/usr/src/common/fs/
H A Dufsops.c137 while ((filep = filep->fi_forw) != head) in find_fp()
139 return (filep->fi_taken ? filep : 0); in find_fp()
384 diff = filep->fi_inode->i_size - filep->fi_offset; in getblock()
402 filep->fi_memp = filep->fi_buf; in getblock()
449 diff = filep->fi_inode->i_size - filep->fi_offset; in getblock_noopt()
654 filep->fi_offset = filep->fi_count = 0; in bufs_open()
752 if (filep->fi_taken && (filep != head)) { in bufs_close()
755 filep->fi_blocknum = filep->fi_count = filep->fi_offset = 0; in bufs_close()
761 filep->fi_forw->fi_back = filep->fi_back; in bufs_close()
762 filep->fi_back->fi_forw = filep->fi_forw; in bufs_close()
[all …]
H A Dpcfs.c209 fileid_t *filep; in bpcfs_open() local
238 fileid_t *filep; in bpcfs_close() local
244 if (filep->fi_taken == 0 || filep == head) { in bpcfs_close()
250 filep->fi_forw->fi_back = filep->fi_back; in bpcfs_close()
251 filep->fi_back->fi_forw = filep->fi_forw; in bpcfs_close()
252 bkmem_free(filep->fi_path, strlen(filep->fi_path) + 1); in bpcfs_close()
261 fileid_t *filep; in bpcfs_closeall() local
264 if (filep->fi_taken && bpcfs_close(filep->fi_filedes)) in bpcfs_closeall()
356 fileid_t *filep; in bpcfs_lseek() local
386 while ((filep = filep->fi_forw) != head) in find_fp()
[all …]
/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/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/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/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/cmd/setfacl/
H A Dsetfacl.c52 static int get_acl_info(char *filep, aclent_t **aclpp);
135 register char *filep; in main() local
137 filep = argv[optind]; in main()
163 aclcnt = get_acl_info(filep, &aclp); in main()
167 work_dp, filep, rflag) == -1) in main()
170 if (set_file_entries(aclfilep, filep, rflag) == -1) in main()
183 if (set_online_entries(work_sp, filep, rflag) == -1) in main()
194 get_acl_info(char *filep, aclent_t **aclpp) in get_acl_info() argument
198 if ((aclcnt = acl(filep, GETACLCNT, 0, NULL)) < 0) { in get_acl_info()
215 aclcnt, filep); in get_acl_info()
[all …]
/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/getfacl/
H A Dgetfacl.c102 register char *filep; in main() local
104 filep = argv[optind]; in main()
108 if ((aclcnt = acl(filep, GETACLCNT, 0, NULL)) < 0) { in main()
117 perror(filep); in main()
123 aclcnt, filep); in main()
135 if (acl(filep, GETACL, aclcnt, aclp) < 0) { in main()
136 perror(filep); in main()
141 (void) printf("\n# file: %s\n", filep); in main()

12