Searched refs:filep (Results 1 - 25 of 48) sorted by relevance

12

/illumos-gate/usr/src/common/fs/
H A Dufsops.c36 #include <sys/filep.h>
78 static ino_t find(fileid_t *filep, char *path);
79 static ino_t dlook(fileid_t *filep, char *path);
80 static daddr32_t sbmap(fileid_t *filep, daddr32_t bn);
98 openi(fileid_t *filep, ino_t inode) argument
101 devid_t *devp = filep->fi_devp;
103 filep->fi_inode = get_cache((int)inode);
104 if (filep->fi_inode != 0)
107 filep->fi_offset = 0;
108 filep
132 fileid_t *filep = head; local
144 find(fileid_t *filep, char *path) argument
217 sbmap(fileid_t *filep, daddr32_t bn) argument
282 dlook(fileid_t *filep, char *path) argument
324 fileid_t *filep; local
366 getblock(fileid_t *filep, caddr_t buf, int count, int *rcount) argument
431 getblock_noopt(fileid_t *filep) argument
495 fileid_t *filep; local
614 fileid_t *filep; local
663 fileid_t *filep; local
696 fileid_t *filep; local
740 fileid_t *filep; local
772 fileid_t *filep = head; local
[all...]
H A Ddecompress.c35 #include <sys/filep.h>
72 fileid_t *filep; local
76 filep = (fileid_t *)opaque;
78 if (nbytes > (DECOMP_BUFSIZE - filep->fi_dcscrused)) {
81 ptr = &filep->fi_dcscrbuf[filep->fi_dcscrused];
82 filep->fi_dcscrused += nbytes;
99 * Read the first block of the file described by filep and determine if
101 * in the fileid_t struct pointed to by filep and it will be initialized
105 cf_check_compressed(fileid_t *filep) argument
175 cf_close(fileid_t *filep) argument
190 cf_rewind(fileid_t *filep) argument
212 cf_read(fileid_t *filep, caddr_t buf, size_t count) argument
267 cf_seek(fileid_t *filep, off_t addr, int whence) argument
[all...]
H A Dhsfs.c47 #include <sys/filep.h>
94 fileid_t *filep; member in struct:dirstuff
147 fileid_t *filep = head; local
150 while ((filep = filep->fi_forw) != head)
151 if (fd == filep->fi_filedes)
152 return (filep->fi_taken ? filep : 0);
159 opendir(ino_t inode, fileid_t *filep) argument
165 filep
195 find(char *path, fileid_t *filep) argument
234 dlook(char *s, fileid_t *filep) argument
291 fileid_t *filep; local
323 getblock(fileid_t *filep) argument
356 fileid_t *filep; local
478 fileid_t *filep; local
516 fileid_t *filep; local
542 fileid_t *filep; local
560 fileid_t *filep; local
592 fileid_t *filep; local
641 parse_dir(fileid_t *filep, int offset, struct hs_direct *hsdep) argument
[all...]
H A Dpcfs.c47 #include <sys/filep.h>
211 fileid_t *filep; local
215 filep = (fileid_t *)bkmem_alloc(sizeof (fileid_t));
216 filep->fi_back = head->fi_back;
217 filep->fi_forw = head;
218 head->fi_back->fi_forw = filep;
219 head->fi_back = filep;
220 filep->fi_filedes = filedes++;
221 filep->fi_taken = 1;
222 filep
240 fileid_t *filep; local
263 fileid_t *filep; local
358 fileid_t *filep; local
385 fileid_t *filep = head; local
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dscr_all.c53 FILE *filep; local
55 if ((filep = fopen(file, "rF")) == NULL)
57 rv = scr_reset(filep, which);
58 (void) fclose(filep);
H A Dscr_dump.c56 FILE *filep; local
58 if ((filep = fopen(file, "wF")) == NULL) {
66 rv = scr_ll_dump(filep);
67 (void) fclose(filep);
H A Dscr_ll_dump.c50 scr_ll_dump(FILE *filep) argument
57 if (fwrite((char *) &magic, sizeof (short), 1, filep) != 1)
67 1, filep) != 1)
73 if (putwin(curscr, filep) == ERR)
79 if (fwrite((char *) &magic, sizeof (int), 1, filep) != 1)
86 sizeof (short), 1, filep) != 1) ||
88 1, filep) != 1)) {
93 filep) != lablen) || (fwrite(slk->_lval[i],
94 sizeof (char), lablen, filep) != lablen)) {
108 if (fwrite((char *) &magic, sizeof (int), 1, filep) !
[all...]
H A Dscr_reset.c53 * filep: pointer to the output stream
75 scr_reset(FILE *filep, int type) argument
98 if (fread((char *)&magic, sizeof (short), 1, filep) != 1)
104 if (fread((char *)&ttytime, sizeof (time_t), 1, filep) != 1)
125 if (((win = getwin(filep)) == NULL) ||
129 (fread((char *)&magic, sizeof (int), 1, filep) != 1))
147 if ((fread((char *)&labmax, sizeof (short), 1, filep) != 1) ||
148 (fread((char *)&lablen, sizeof (short), 1, filep) != 1)) {
160 * filep) != lablen) ||
162 * filep !
[all...]
H A Dputwin.c51 * filep: the file to write to.
55 putwin(WINDOW *win, FILE *filep) argument
65 if (fwrite((char *) &(win->_cury), 1, nelt, filep) != nelt)
73 maxx, filep) != maxx)
H A Dgetwin.c52 getwin(FILE *filep) argument
65 if ((fread((char *) win_nums, sizeof (short), SEPARATE_READ, filep) !=
77 if (fread(&(win->_flags), 1, nelt, filep) != nelt)
88 if (fread((char *) *wcp++, sizeof (chtype), maxx, filep) !=
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dnfsops.c99 struct nfs_files *filep; local
112 while ((filep = nfs_files->next) != NULL) {
113 nfs_files->next = filep->next;
114 bkmem_free((caddr_t)filep, sizeof (struct nfs_files));
132 struct nfs_files *filep; local
134 for (filep = nfs_files; filep; filep = filep->next) {
135 if (fd == filep
158 struct nfs_files *filep, *newfilep; local
229 struct nfs_files *filep; local
257 struct nfs_files *filep; local
309 struct nfs_files *filep; local
372 struct nfs_files *filep; local
436 struct nfs_files *filep; local
[all...]
/illumos-gate/usr/src/stand/lib/fs/common/
H A Ddiskread.c36 #include <sys/filep.h>
54 diskread(fileid_t *filep) argument
61 blocknum = filep->fi_blocknum + unix_startblk;
63 devp = filep->fi_devp;
72 if ((err = prom_read(devp->di_dcookie, filep->fi_memp, filep->fi_count,
73 blocknum, prom_dev_type)) != filep->fi_count) {
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dufsops.c90 static ino_t find(fileid_t *filep, char *path);
91 static ino_t dlook(fileid_t *filep, char *path);
92 static daddr32_t sbmap(fileid_t *filep, daddr32_t bn);
115 openi(fileid_t *filep, ino_t inode) argument
119 devid_t *devp = filep->fi_devp;
122 if ((filep->fi_inode = get_icache(devp->di_dcookie, inode)) != NULL)
125 filep->fi_offset = 0;
126 filep->fi_blocknum = fsbtodb(&devp->un_fs.di_fs,
130 filep->fi_count = devp->un_fs.di_fs.fs_bsize;
131 filep
157 fileid_t *filep = head; local
169 find(fileid_t *filep, char *path) argument
249 sbmap(fileid_t *filep, daddr32_t bn) argument
321 dlook(fileid_t *filep, char *path) argument
408 fileid_t *filep; local
450 getblock(fileid_t *filep, caddr_t buf, int count, int *rcount) argument
553 fileid_t *filep; local
680 fileid_t *filep; local
721 fileid_t *filep; local
753 fileid_t *filep; local
794 fileid_t *filep; local
826 fileid_t *filep = head; local
[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/cmd/boot/installgrub/
H A Dpcfs_glue.c30 #include <sys/filep.h>
82 diskread(fileid_t *filep) argument
87 blocknum = filep->fi_blocknum;
90 diskread_callback(blocknum, filep->fi_count / DEV_BSIZE);
95 if (filep->fi_memp == NULL) {
96 filep->fi_memp = malloc(filep->fi_count);
98 if (filep->fi_memp == NULL) {
103 ret = pread(dev_fd, filep->fi_memp, filep
[all...]
/illumos-gate/usr/src/cmd/troff/
H A Dnii.c92 filep ip;
109 filep offset;
112 filep woff;
117 filep nextb;
123 filep apptr;
125 filep roff;
H A Dext.h64 extern filep apptr;
65 extern filep ip;
66 extern filep nextb;
67 extern filep offset;
68 extern filep roff;
69 extern filep woff;
H A Dn3.c58 filep blist[NBLIST];
75 filep oldoff;
215 filep savoff;
216 extern filep finds();
273 ffree((filep)contab[i].mx);
284 filep finds(mn)
288 filep savip;
289 extern filep alloc();
290 extern filep incoff();
294 apptr = (filep)
[all...]
/illumos-gate/usr/src/uts/common/krtld/
H A Dbootrd.c32 #include <sys/filep.h>
138 diskread(fileid_t *filep) argument
144 blocknum = filep->fi_blocknum;
147 if (diskloc + filep->fi_count > (caddr_t)(uintptr_t)rd_end) {
149 diskloc, filep->fi_count);
154 if (filep->fi_memp) {
155 bcopy(diskloc, filep->fi_memp, filep->fi_count);
158 filep->fi_memp = diskloc;
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ucma/
H A Dsol_ucma.c527 sol_ucma_file_t *filep; local
534 filep = (sol_ucma_file_t *)sol_ofs_uobj_get_read(
536 if (!filep) {
543 mutex_enter(&filep->file_mutex);
544 if (filep->file_evt_close_flag == SOL_UCMA_EVT_PROGRESS) {
545 cv_wait(&filep->file_evt_close_cv, &filep->file_mutex);
547 filep->file_evt_close_flag = SOL_UCMA_EVT_DISABLED;
548 mutex_exit(&filep->file_mutex);
556 entry = remove_genlist_head(&filep
774 sol_ucma_file_t *filep; local
806 sol_ucma_file_t *filep; local
872 sol_ucma_file_t *filep; local
1317 sol_ucma_file_t *filep; local
1800 ucma_alloc_chan(sol_ucma_file_t *filep, sol_ucma_create_id_t *create_id_inp) argument
1835 sol_ucma_file_t *filep; local
1854 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/stand/sys/
H A Dsacache.h36 #include <sys/filep.h>
/illumos-gate/usr/src/cmd/getfacl/
H A Dgetfacl.c102 register char *filep; local
104 filep = argv[optind];
108 if ((aclcnt = acl(filep, GETACLCNT, 0, NULL)) < 0) {
117 perror(filep);
123 aclcnt, filep);
135 if (acl(filep, GETACL, aclcnt, aclp) < 0) {
136 perror(filep);
141 (void) printf("\n# file: %s\n", filep);
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_util.h104 FILE *filep, int verbose,
/illumos-gate/usr/src/cmd/setfacl/
H A Dsetfacl.c52 static int get_acl_info(char *filep, aclent_t **aclpp);
135 register char *filep; local
137 filep = argv[optind];
163 aclcnt = get_acl_info(filep, &aclp);
167 work_dp, filep, rflag) == -1)
170 if (set_file_entries(aclfilep, filep, rflag) == -1)
183 if (set_online_entries(work_sp, filep, rflag) == -1)
194 get_acl_info(char *filep, aclent_t **aclpp) argument
198 if ((aclcnt = acl(filep, GETACLCNT, 0, NULL)) < 0) {
208 gettext("%s: failed to get acl count\n"), filep);
[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...]

Completed in 332 milliseconds

12