Searched defs:filep (Results 26 - 36 of 36) sorted by relevance

12

/illumos-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);
/illumos-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...]
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dufsops.c89 static ino_t find(fileid_t *filep, char *path);
90 static ino_t dlook(fileid_t *filep, char *path);
91 static daddr32_t sbmap(fileid_t *filep, daddr32_t bn);
114 openi(fileid_t *filep, ino_t inode) argument
118 devid_t *devp = filep->fi_devp;
121 if ((filep->fi_inode = get_icache(devp->di_dcookie, inode)) != NULL)
124 filep->fi_offset = 0;
125 filep->fi_blocknum = fsbtodb(&devp->un_fs.di_fs,
129 filep->fi_count = devp->un_fs.di_fs.fs_bsize;
130 filep
156 fileid_t *filep = head; local
168 find(fileid_t *filep, char *path) argument
248 sbmap(fileid_t *filep, daddr32_t bn) argument
320 dlook(fileid_t *filep, char *path) argument
407 fileid_t *filep; local
449 getblock(fileid_t *filep, caddr_t buf, int count, int *rcount) argument
552 fileid_t *filep; local
679 fileid_t *filep; local
720 fileid_t *filep; local
752 fileid_t *filep; local
793 fileid_t *filep; local
825 fileid_t *filep = head; local
[all...]
/illumos-gate/usr/src/cmd/file/
H A Dfile.c214 char **filep; local
318 for (filep = mlist1; filep < mlist1p; filep++) {
319 if (f_mkmtab(*filep, cflg, 1) == -1) {
345 for (filep = mlist1; filep < mlist1p; filep++) {
346 if (f_mkmtab(*filep, cflg, 0) == -1) {
360 for (filep
[all...]
/illumos-gate/usr/src/stand/lib/fs/hsfs/
H A Dhsfsops.c33 #include <sys/filep.h>
124 opendir(fileid_t *filep, ino_t inode) argument
130 filep->fi_offset = 0;
131 filep->fi_blocknum = hdbtodb(inode);
132 filep->fi_count = ISO_SECTOR_SIZE;
135 if ((filep->fi_memp = get_bcache(filep)) == NULL) {
137 if (retval = set_bcache(filep)) {
142 filep->fi_offset = 0;
143 filep
156 find(fileid_t *filep, char *path) argument
208 fileid_t *filep = head; local
220 dlook(fileid_t *filep, char *path) argument
285 register fileid_t *filep; local
319 getblock(fileid_t *filep, caddr_t buf, int count, int *rcount) argument
407 fileid_t *filep; local
573 fileid_t *filep; local
615 fileid_t *filep; local
661 fileid_t *filep; local
676 fileid_t *filep; local
707 fileid_t *filep = head; local
735 parse_dir(fileid_t *filep, int offset, struct hs_direct *hsdep) argument
953 hs_seti(fileid_t *filep, struct hs_direct *hsdep, ino_t inode) argument
979 print_io_req(fileid_t *filep, char *str) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ucma/
H A Dsol_ucma.c526 sol_ucma_file_t *filep; local
533 filep = (sol_ucma_file_t *)sol_ofs_uobj_get_read(
535 if (!filep) {
542 mutex_enter(&filep->file_mutex);
543 if (filep->file_evt_close_flag == SOL_UCMA_EVT_PROGRESS) {
544 cv_wait(&filep->file_evt_close_cv, &filep->file_mutex);
546 filep->file_evt_close_flag = SOL_UCMA_EVT_DISABLED;
547 mutex_exit(&filep->file_mutex);
555 entry = remove_genlist_head(&filep
773 sol_ucma_file_t *filep; local
804 sol_ucma_file_t *filep; local
870 sol_ucma_file_t *filep; local
1315 sol_ucma_file_t *filep; local
1798 ucma_alloc_chan(sol_ucma_file_t *filep, sol_ucma_create_id_t *create_id_inp) argument
1833 sol_ucma_file_t *filep; local
1852 get_file_chan(uint32_t ucma_id, sol_ucma_file_t **filep, sol_ucma_chan_t **chanp, char *caller, int flag_err) argument
[all...]
/illumos-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...]
/illumos-gate/usr/src/cmd/raidctl/
H A Draidctl.c161 static int do_flash(uint8_t f_flag, char *filep, char **ctls_argpp,
1096 * do_flash(f_flag, filep, ctls_argpp, index, ctl_num)
1101 do_flash(uint8_t f_flag, char *filep, char **ctls_argpp, argument
1146 if ((ret = raidcfg_update_fw(ctl_handle, filep, NULL)) < 0) {
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_recovery.c2399 component4 *filep; local
2408 filep = &lrp->lr_ofile;
2409 if (filep->utf8string_val) {
2410 kmem_free(filep->utf8string_val, filep->utf8string_len);
2411 filep->utf8string_val = NULL;
/illumos-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;
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c7132 dladm_secobj_class_t class, FILE *filep)
7138 if (filep == NULL) {
7149 if (fgets(buf, sizeof (buf), filep) == NULL)
7161 (void) fclose(filep);
7232 FILE *filep = NULL; local
7250 filep = fopen(optarg, "r");
7251 if (filep == NULL) {
7300 rval = get_secobj_val(obj_name, obj_val, &obj_len, class, filep);
7131 get_secobj_val(char *obj_name, uint8_t *obj_val, uint_t *obj_lenp, dladm_secobj_class_t class, FILE *filep) argument

Completed in 124 milliseconds

12