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

123

/opensolaris-onvv-gate/usr/src/common/fs/
H A Dufsops.c35 #include <sys/filep.h>
77 static ino_t find(fileid_t *filep, char *path);
78 static ino_t dlook(fileid_t *filep, char *path);
79 static daddr32_t sbmap(fileid_t *filep, daddr32_t bn);
97 openi(fileid_t *filep, ino_t inode) argument
100 devid_t *devp = filep->fi_devp;
102 filep->fi_inode = get_cache((int)inode);
103 if (filep->fi_inode != 0)
106 filep->fi_offset = 0;
107 filep
131 fileid_t *filep = head; local
143 find(fileid_t *filep, char *path) argument
216 sbmap(fileid_t *filep, daddr32_t bn) argument
281 dlook(fileid_t *filep, char *path) argument
323 fileid_t *filep; local
365 getblock(fileid_t *filep, caddr_t buf, int count, int *rcount) argument
430 getblock_noopt(fileid_t *filep) argument
494 fileid_t *filep; local
613 fileid_t *filep; local
662 fileid_t *filep; local
695 fileid_t *filep; local
739 fileid_t *filep; local
771 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...]
/opensolaris-onvv-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.c55 * filep: pointer to the output stream
77 scr_reset(FILE *filep, int type) argument
100 if (fread((char *) &magic, sizeof (short), 1, filep) != 1)
106 if (fread((char *) &ttytime, sizeof (time_t), 1, filep) != 1)
127 if (((win = getwin(filep)) == NULL) ||
131 (fread((char *) &magic, sizeof (int), 1, filep) != 1))
149 if ((fread((char *) &labmax, sizeof (short), 1, filep) != 1) ||
150 (fread((char *) &lablen, sizeof (short), 1, filep) != 1)) {
162 * filep) != lablen) ||
164 * 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) !=
/opensolaris-onvv-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...]
/opensolaris-onvv-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) {
/opensolaris-onvv-gate/usr/src/stand/lib/fs/ufs/
H A Dufsops.c91 static ino_t find(fileid_t *filep, char *path);
92 static ino_t dlook(fileid_t *filep, char *path);
93 static daddr32_t sbmap(fileid_t *filep, daddr32_t bn);
116 openi(fileid_t *filep, ino_t inode) argument
120 devid_t *devp = filep->fi_devp;
123 if ((filep->fi_inode = get_icache(devp->di_dcookie, inode)) != NULL)
126 filep->fi_offset = 0;
127 filep->fi_blocknum = fsbtodb(&devp->un_fs.di_fs,
131 filep->fi_count = devp->un_fs.di_fs.fs_bsize;
132 filep
158 fileid_t *filep = head; local
170 find(fileid_t *filep, char *path) argument
250 sbmap(fileid_t *filep, daddr32_t bn) argument
322 dlook(fileid_t *filep, char *path) argument
409 fileid_t *filep; local
451 getblock(fileid_t *filep, caddr_t buf, int count, int *rcount) argument
554 fileid_t *filep; local
681 fileid_t *filep; local
722 fileid_t *filep; local
754 fileid_t *filep; local
795 fileid_t *filep; local
827 fileid_t *filep = head; local
[all...]
/opensolaris-onvv-gate/usr/src/stand/lib/fs/hsfs/
H A Dhsfsops.c35 #include <sys/filep.h>
126 opendir(fileid_t *filep, ino_t inode) argument
132 filep->fi_offset = 0;
133 filep->fi_blocknum = hdbtodb(inode);
134 filep->fi_count = ISO_SECTOR_SIZE;
137 if ((filep->fi_memp = get_bcache(filep)) == NULL) {
139 if (retval = set_bcache(filep)) {
144 filep->fi_offset = 0;
145 filep
158 find(fileid_t *filep, char *path) argument
210 fileid_t *filep = head; local
222 dlook(fileid_t *filep, char *path) argument
287 register fileid_t *filep; local
321 getblock(fileid_t *filep, caddr_t buf, int count, int *rcount) argument
409 fileid_t *filep; local
575 fileid_t *filep; local
617 fileid_t *filep; local
663 fileid_t *filep; local
678 fileid_t *filep; local
709 fileid_t *filep = head; local
737 parse_dir(fileid_t *filep, int offset, struct hs_direct *hsdep) argument
955 hs_seti(fileid_t *filep, struct hs_direct *hsdep, ino_t inode) argument
981 print_io_req(fileid_t *filep, char *str) argument
[all...]
/opensolaris-onvv-gate/usr/src/stand/lib/sa/
H A Dllib-lsa35 #include <sys/filep.h>
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/uts/common/krtld/
H A Dbootrd.c31 #include <sys/filep.h>
56 diskread(fileid_t *filep) argument
62 blocknum = filep->fi_blocknum;
65 if (diskloc + filep->fi_count > (caddr_t)(uintptr_t)rd_end) {
67 diskloc, filep->fi_count);
72 if (filep->fi_memp) {
73 bcopy(diskloc, filep->fi_memp, filep->fi_count);
76 filep->fi_memp = diskloc;
/opensolaris-onvv-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...]
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/cachefs/common/
H A Dsubr.h73 int cachefs_label_file_get(const char *filep, struct cache_label *clabelp);
74 int cachefs_label_file_put(const char *filep, struct cache_label *clabelp);
76 int cachefs_label_file_vcheck(char *filep, struct cache_label *clabelp);
/opensolaris-onvv-gate/usr/src/stand/sys/
H A Dsacache.h36 #include <sys/filep.h>
/opensolaris-onvv-gate/usr/src/cmd/getfacl/
H A Dgetfacl.c107 register char *filep; local
109 filep = argv[optind];
113 if ((aclcnt = acl(filep, GETACLCNT, 0, NULL)) < 0) {
122 perror(filep);
128 aclcnt, filep);
140 if (acl(filep, GETACL, aclcnt, aclp) < 0) {
141 perror(filep);
146 (void) printf("\n# file: %s\n", filep);
/opensolaris-onvv-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_util.h104 FILE *filep, int verbose,

Completed in 231 milliseconds

123