Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 25 of 2201) sorted by relevance

12345678910>>...89

/titanic_51/usr/src/lib/libnsl/nsl/
H A Dxti_wrappers.c58 _xti_accept(int fd, int resfd, const struct t_call *call) in _xti_accept() argument
60 return (_tx_accept(fd, resfd, call, TX_XTI_API)); in _xti_accept()
64 _xti_xns5_accept(int fd, int resfd, const struct t_call *call) in _xti_xns5_accept() argument
66 return (_tx_accept(fd, resfd, call, TX_XTI_XNS5_API)); in _xti_xns5_accept()
70 _xti_alloc(int fd, int struct_type, int fields) in _xti_alloc() argument
72 return (_tx_alloc(fd, struct_type, fields, TX_XTI_API)); in _xti_alloc()
76 _xti_bind(int fd, const struct t_bind *req, struct t_bind *ret) in _xti_bind() argument
78 return (_tx_bind(fd, req, ret, TX_XTI_API)); in _xti_bind()
82 _xti_close(int fd) in _xti_close() argument
84 return (_tx_close(fd, TX_XTI_AP in _xti_close()
88 _xti_connect(int fd,const struct t_call * sndcall,struct t_call * rcvcall) _xti_connect() argument
110 _xti_getinfo(int fd,struct t_info * info) _xti_getinfo() argument
116 _xti_getprotaddr(int fd,struct t_bind * boundaddr,struct t_bind * peeraddr) _xti_getprotaddr() argument
122 _xti_getstate(int fd) _xti_getstate() argument
128 _xti_listen(int fd,struct t_call * call) _xti_listen() argument
134 _xti_look(int fd) _xti_look() argument
146 _xti_optmgmt(int fd,const struct t_optmgmt * req,struct t_optmgmt * ret) _xti_optmgmt() argument
152 _xti_rcv(int fd,void * buf,unsigned int nbytes,int * flags) _xti_rcv() argument
158 _xti_rcvconnect(int fd,struct t_call * call) _xti_rcvconnect() argument
164 _xti_rcvdis(int fd,struct t_discon * discon) _xti_rcvdis() argument
170 _xti_rcvrel(int fd) _xti_rcvrel() argument
176 _xti_rcvreldata(int fd,struct t_discon * discon) _xti_rcvreldata() argument
182 _xti_rcvudata(int fd,struct t_unitdata * unitdata,int * flags) _xti_rcvudata() argument
188 _xti_rcvuderr(int fd,struct t_uderr * uderr) _xti_rcvuderr() argument
194 _xti_rcvv(int fd,struct t_iovec * tiov,unsigned int tiovcount,int * flags) _xti_rcvv() argument
200 _xti_rcvvudata(int fd,struct t_unitdata * unitdata,struct t_iovec * tiov,unsigned int tiovcount,int * flags) _xti_rcvvudata() argument
208 _xti_snd(int fd,void * buf,unsigned int nbytes,int flags) _xti_snd() argument
214 _xti_xns5_snd(int fd,void * buf,unsigned int nbytes,int flags) _xti_xns5_snd() argument
220 _xti_snddis(int fd,const struct t_call * call) _xti_snddis() argument
227 _xti_sndrel(int fd) _xti_sndrel() argument
233 _xti_sndreldata(int fd,struct t_discon * discon) _xti_sndreldata() argument
239 _xti_sndudata(int fd,const struct t_unitdata * unitdata) _xti_sndudata() argument
245 _xti_sndv(int fd,const struct t_iovec * tiov,unsigned int tiovcount,int flags) _xti_sndv() argument
251 _xti_sndvudata(int fd,struct t_unitdata * unitdata,struct t_iovec * tiov,unsigned int tiovcount) _xti_sndvudata() argument
264 _xti_sync(int fd) _xti_sync() argument
276 _xti_unbind(int fd) _xti_unbind() argument
[all...]
H A Dtli_wrappers.c44 t_accept(int fd, int resfd, struct t_call *call) in t_accept() argument
46 return (_tx_accept(fd, resfd, call, TX_TLI_API)); in t_accept()
50 t_alloc(int fd, int struct_type, int fields) in t_alloc() argument
52 return (_tx_alloc(fd, struct_type, fields, TX_TLI_API)); in t_alloc()
56 t_bind(int fd, struct t_bind *req, struct t_bind *ret) in t_bind() argument
58 return (_tx_bind(fd, req, ret, TX_TLI_API)); in t_bind()
62 t_close(int fd) in t_close() argument
64 return (_tx_close(fd, TX_TLI_API)); in t_close()
68 t_connect(int fd, struct t_call *sndcall, struct t_call *rcvcall) in t_connect() argument
70 return (_tx_connect(fd, sndcal in t_connect()
95 t_getinfo(int fd,struct t_info * info) t_getinfo() argument
101 t_getstate(int fd) t_getstate() argument
107 t_listen(int fd,struct t_call * call) t_listen() argument
113 t_look(int fd) t_look() argument
130 t_optmgmt(int fd,struct t_optmgmt * req,struct t_optmgmt * ret) t_optmgmt() argument
136 t_rcv(int fd,char * buf,unsigned int nbytes,int * flags) t_rcv() argument
142 t_rcvconnect(int fd,struct t_call * call) t_rcvconnect() argument
148 t_rcvdis(int fd,struct t_discon * discon) t_rcvdis() argument
154 t_rcvrel(int fd) t_rcvrel() argument
160 t_rcvudata(int fd,struct t_unitdata * unitdata,int * flags) t_rcvudata() argument
166 t_rcvuderr(int fd,struct t_uderr * uderr) t_rcvuderr() argument
172 t_snd(int fd,char * buf,unsigned int nbytes,int flags) t_snd() argument
178 t_snddis(int fd,struct t_call * call) t_snddis() argument
184 t_sndrel(int fd) t_sndrel() argument
190 t_sndudata(int fd,struct t_unitdata * unitdata) t_sndudata() argument
202 t_sync(int fd) t_sync() argument
208 t_unbind(int fd) t_unbind() argument
214 t_getname(int fd,struct netbuf * name,int type) t_getname() argument
[all...]
/titanic_51/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_resv.c82 * nsc_attach (nsc_fd_t *fd, int flag)
97 nsc_attach(fd, flag) in nsc_attach() argument
98 nsc_fd_t *fd; in nsc_attach()
103 rc = nsc_reserve(fd, flag);
106 nsc_release(fd);
114 * nsc_reserve (nsc_fd_t *fd, int flag)
144 nsc_reserve(fd, flag) in nsc_reserve() argument
145 nsc_fd_t *fd; in nsc_reserve()
148 nsc_dev_t *dev = fd->sf_dev;
152 flag |= (fd
191 nsc_reserve_lk(fd) nsc_reserve_lk() argument
217 nsc_avail(fd) nsc_avail() argument
246 nsc_held(fd) nsc_held() argument
267 nsc_waiting(nsc_fd_t * fd) nsc_waiting() argument
298 nsc_release_lk(fd) nsc_release_lk() argument
324 nsc_release(fd) nsc_release() argument
383 nsc_detach(fd,flag) nsc_detach() argument
432 _nsc_attach_fd(fd,flag) _nsc_attach_fd() argument
512 _nsc_detach_fd(fd,flag) _nsc_detach_fd() argument
571 _nsc_detach_owner(fd,flag) _nsc_detach_owner() argument
638 _nsc_fd_fn(nsc_fd_t * fd,int (* fn)(),int a,int flag) _nsc_fd_fn() argument
744 nsc_fd_t *fd; _nsc_detach_iodev() local
[all...]
H A Dnsc_dev.c544 nsc_fd_t *fd; local
550 for (fd = iodev->si_open; fd; fd = fd->sf_next) {
551 if (!(rc = _nsc_reopen_fd(fd, flag | try)))
557 if (!_nsc_relock_dev(dev, fd, iodev))
568 for (fd = dev->nsc_close; fd; fd
603 _nsc_relock_dev(nsc_dev_t * dev,nsc_fd_t * fd,nsc_iodev_t * iodev) _nsc_relock_dev() argument
659 _nsc_reopen_fd(fd,flag) _nsc_reopen_fd() argument
728 nsc_fd_t *fd; global() local
782 _nsc_open_fd(fd,flag) _nsc_open_fd() argument
835 _nsc_open_fn(fd,flag) _nsc_open_fn() argument
911 nsc_close(fd) nsc_close() argument
956 _nsc_close_fd(fd,flag) _nsc_close_fd() argument
1036 _nsc_close_fn(fd) _nsc_close_fn() argument
1068 nsc_set_owner(nsc_fd_t * fd,nsc_iodev_t * iodev) nsc_set_owner() argument
1088 nsc_pathname(fd) nsc_pathname() argument
1109 nsc_fdpathcmp(nsc_fd_t * fd,uint64_t phash,char * path) nsc_fdpathcmp() argument
1382 nsc_setval(nsc_fd_t * fd,char * name,int val) nsc_setval() argument
1409 nsc_getval(nsc_fd_t * fd,char * name,int * vp) nsc_getval() argument
1465 nsc_shared(fd) nsc_shared() argument
1499 nsc_lock_addr(fd) nsc_lock_addr() argument
1727 nsc_fd_t *fd; global() local
1764 _nsc_free_fd(fd) _nsc_free_fd() argument
1808 _nsc_relink_fd(nsc_fd_t * fd,nsc_fd_t ** from,nsc_fd_t ** to,nsc_iodev_t * iodev) _nsc_relink_fd() argument
[all...]
/titanic_51/usr/src/lib/libsqlite/tool/
H A Dspeedtest.tcl18 set fd [open $sqlfile r]
19 set sql [string trim [read $fd [file size $sqlfile]]]
20 close $fd
78 set fd [open clear.sql w]
79 puts $fd {
83 close $fd
86 set fd [open 2kinit.sql w]
87 puts $fd {
91 close $fd
94 set fd [ope
[all...]
H A Dspeedtest2.tcl18 set fd [open $sqlfile r]
19 set sql [string trim [read $fd [file size $sqlfile]]]
20 close $fd
70 set fd [open clear.sql w]
71 puts $fd {
75 close $fd
78 set fd [open 2kinit.sql w]
79 puts $fd {
83 close $fd
86 set fd [ope
[all...]
/titanic_51/usr/src/lib/libnsctl/common/
H A Dcache.c60 nsc_fd_t *fd; local
67 if (!(fd = (nsc_fd_t *)calloc(1, sizeof (nsc_fd_t))))
75 fd->sf_flag = flag;
76 fd->sf_fmode = mode;
78 strcpy(fd->sf_path, path);
80 if (!_nsc_open_path(fd)) {
81 free(fd);
85 if (ckdchk && !_nsc_open_check(fd)) {
86 (void) nsc_close(fd);
90 return (fd);
100 nsc_fd_t *fd; global() local
153 _nsc_open_path(fd) _nsc_open_path() argument
176 _nsc_open_check(fd) _nsc_open_check() argument
228 nsc_close(fd) nsc_close() argument
244 nsc_reserve(fd) nsc_reserve() argument
252 nsc_release(fd) nsc_release() argument
268 nsc_partsize(nsc_fd_t * fd,nsc_size_t * rvp) nsc_partsize() argument
287 nsc_fileno(fd) nsc_fileno() argument
306 int fd, rc, save_errno; global() local
[all...]
/titanic_51/usr/src/cmd/lp/lib/msgs/
H A Dfifo_buffs.c53 ResetFifoBuffer(int fd) in ResetFifoBuffer() argument
58 if (fd >= FifoBufferTableSize) in ResetFifoBuffer()
61 if (FifoBufferTable [fd]) { in ResetFifoBuffer()
62 FifoBufferTable [fd]->full = 0; in ResetFifoBuffer()
63 FifoBufferTable [fd]->psave = in ResetFifoBuffer()
64 FifoBufferTable [fd]->psave_end = in ResetFifoBuffer()
65 FifoBufferTable [fd]->save; in ResetFifoBuffer()
72 GetFifoBuffer(int fd) in GetFifoBuffer() argument
74 if (fd < 0) { in GetFifoBuffer()
78 if ((fd > in GetFifoBuffer()
113 GrowFifoBufferTable(int fd) GrowFifoBufferTable() argument
130 NewFifoBuffer(int fd) NewFifoBuffer() argument
[all...]
/titanic_51/usr/src/lib/libresolv2/common/isc/
H A Dev_files.c42 static evFile *FindFD(const evContext_p *ctx, int fd, int eventmask);
46 int fd, in evSelectFD() argument
57 "evSelectFD(ctx %p, fd %d, mask 0x%x, func %p, uap %p)\n", in evSelectFD()
58 ctx, fd, eventmask, func, uap); in evSelectFD()
62 if (fd > ctx->highestFD) in evSelectFD()
65 OK(mode = fcntl(fd, F_GETFL, NULL)); /*%< side effect: validate fd. */ in evSelectFD()
74 if (fd >= ctx->maxnfds && evPollfdRealloc(ctx, 1, fd) != 0) in evSelectFD()
77 id = FindFD(ctx, fd, EV_MASK_AL in evSelectFD()
268 FindFD(const evContext_p * ctx,int fd,int eventmask) FindFD() argument
[all...]
/titanic_51/usr/src/cmd/format/
H A Dadd_definition.c62 static void add_disktype(FILE *fd, struct disk_info *disk_info);
63 static void add_partition(FILE *fd, struct disk_info *,
65 static int add_entry(int col, FILE *fd, char *format, ...);
81 FILE *fd; in add_definition() local
147 if ((fd = fopen(filename, "a")) == NULL) { in add_definition()
158 (void) fprintf(fd, "#\n# New disk/partition type "); in add_definition()
160 (void) fprintf(fd, "#\n# New disk type "); in add_definition()
162 (void) fprintf(fd, "#\n# New partition type "); in add_definition()
165 (void) fprintf(fd, " saved on %s#\n", ctime(&clock)); in add_definition()
170 add_disktype(fd, cur_dis in add_definition()
187 add_disktype(fd,disk_info) add_disktype() argument
304 add_partition(fd,disk_info,part) add_partition() argument
374 add_entry(int col,FILE * fd,char * format,...) add_entry() argument
[all...]
/titanic_51/usr/src/cmd/lp/lib/lp/
H A Dfiles.c80 fdprintf(int fd, char *fmt, ...) in fdprintf() argument
85 if (fd == 1) in fdprintf()
90 return (Write(fd, buf, (int)strlen(buf))); in fdprintf()
94 fdgets(char *buf, int len, int fd) in fdgets() argument
100 while ((count < len) && (Read(fd, &tmp, 1) > 0)) in fdgets()
109 fdputs(char *buf, int fd) in fdputs() argument
111 return (fdprintf(fd, "%s", buf)); in fdputs()
115 fdputc(char c, int fd) in fdputc() argument
117 if (fd == 1) in fdputc()
119 return (write(fd, in fdputc()
126 int fd, open_locked() local
207 int fd; open_lpfile() local
269 int fd; loadline() local
298 int fd; loadstring() local
322 int fd; dumpstring() local
[all...]
/titanic_51/usr/src/lib/print/libipp-core/common/
H A Dwrite.c117 ipp_write_attribute(ipp_writer_t iwrite, void *fd, papi_attribute_t *attribute) in ipp_write_attribute() argument
139 if (iwrite(fd, &type, 1) != 1) in ipp_write_attribute()
145 if (iwrite(fd, &length, 2) != 2) in ipp_write_attribute()
147 if (iwrite(fd, name, strlen(name)) != strlen(name)) in ipp_write_attribute()
152 if (iwrite(fd, &length, 2) != 2) in ipp_write_attribute()
164 if (iwrite(fd, &type, 1) != 1) in ipp_write_attribute()
170 if (iwrite(fd, &length, 2) != 2) in ipp_write_attribute()
172 if (iwrite(fd, name, strlen(name)) != strlen(name)) in ipp_write_attribute()
178 if (iwrite(fd, &length, 2) != 2) in ipp_write_attribute()
199 if (iwrite(fd, in ipp_write_attribute()
319 ipp_write_attribute_group(ipp_writer_t iwrite,void * fd,int8_t type,papi_attribute_t ** attributes) ipp_write_attribute_group() argument
337 ipp_write_attribute_groups(ipp_writer_t iwrite,void * fd,papi_attribute_t ** groups) ipp_write_attribute_groups() argument
367 ipp_write_message_header(ipp_writer_t iwrite,void * fd,papi_attribute_t ** message) ipp_write_message_header() argument
403 ipp_write_message(ipp_writer_t iwrite,void * fd,papi_attribute_t ** message) ipp_write_message() argument
[all...]
/titanic_51/usr/src/ucblib/libucb/port/gen/
H A Dnlist.c97 int fd; in nlist() local
107 if ((fd = open(name, 0)) < 0) in nlist()
109 if (read(fd, magic_buf, (size_t)EI_NIDENT) == -1) { in nlist()
110 (void) close(fd); in nlist()
114 if (lseek(fd, 0L, 0) == -1L) { /* rewind to beginning of object file */ in nlist()
115 (void) close(fd); in nlist()
125 (void) close(fd); in nlist()
130 return (_elf_nlist(fd, list)); in nlist()
134 return (_coff_nlist(fd, list)); in nlist()
141 _elf_nlist(int fd, struc argument
294 elf_read(int fd,long offset,size_t size,size_t memsize,Elf_Type dtype) elf_read() argument
348 end_elf_job(int fd) end_elf_job() argument
356 _coff_nlist(int fd,struct nlist * list) _coff_nlist() argument
479 sym_close(int fd) sym_close() argument
489 sym_read(int fd,struct syment * sym,int size) sym_read() argument
521 fill_sym_buf(int fd,int size) fill_sym_buf() argument
[all...]
/titanic_51/usr/src/uts/common/os/
H A Dfio.c89 * support fcntl(fd, F_DUPFD, minfd).
95 * We then descend that subtree in a binary search for the smallest fd.
97 * of every subtree containing the newly-allocated fd. Freeing an fd
100 * descent to find lowest fd, ascent to update allocation counts) is
103 * We don't implement the fd tree using the customary left/right/parent
108 * fd 0; we'll deal with that later.
187 * Finally, to accommodate fd 0 we must adjust all of our results by +/-1 to
188 * move the fd range from [1, 2^n) to [0, 2^n - 1). This is straightforward,
212 * (2) Find the smallest fd i
260 int size, ralloc, fd; fd_find() local
282 fd_reserve(uf_info_t * fip,int fd,int incr) fd_reserve() argument
302 int fd; flist_minsize() local
321 int fd; flist_nalloc() local
491 set_active_fd(int fd) set_active_fd() argument
541 clear_active_fd(int fd) clear_active_fd() argument
559 is_active_fd(kthread_t * t,int fd) is_active_fd() argument
584 getf(int fd) getf() argument
627 closeandsetf(int fd,file_t * newfp) closeandsetf() argument
809 releasef(int fd) releasef() argument
826 areleasef(int fd,uf_info_t * fip) areleasef() argument
843 int fd, nfiles; flist_fork() local
887 int fd; closeall() local
994 int fd; ufalloc_file() local
1093 int fd; falloc() local
1170 setf(int fd,file_t * fp) setf() argument
1200 f_getfl(int fd,int * flagp) f_getfl() argument
1238 f_getfd_error(int fd,int * flagp) f_getfd_error() argument
1269 f_getfd(int fd) f_getfd() argument
1282 f_setfd_error(int fd,int flags) f_setfd_error() argument
1304 f_setfd(int fd,char flags) f_setfd() argument
1380 int fd; fassign() local
1432 int fd; close_exec() local
1492 fgetstartvp(int fd,char * path,vnode_t ** startvpp) fgetstartvp() argument
1538 fsetattrat(int fd,char * path,int flags,struct vattr * vap) fsetattrat() argument
1595 int fd; fisopen() local
1623 int fd; files_can_change_zones() local
1673 int fd; checkfpollinfo() local
1693 infpollinfo(int fd) infpollinfo() argument
1713 addfpollinfo(int fd) addfpollinfo() argument
1740 delfpollinfo(int fd) delfpollinfo() argument
1771 addfd_port(int fd,portfd_t * pfd) addfd_port() argument
1794 delfd_port(int fd,portfd_t * pfd) delfd_port() argument
[all...]
/titanic_51/usr/src/lib/libproc/common/
H A Dproc_get_info.c55 int fd; in proc_get_cred() local
62 if ((fd = open(fname, O_RDONLY)) >= 0) { in proc_get_cred()
63 if (read(fd, credp, size) >= minsize) in proc_get_cred()
65 (void) close(fd); in proc_get_cred()
77 int fd; in proc_get_priv() local
83 if ((fd = open(fname, O_RDONLY)) >= 0) { in proc_get_priv()
84 if (fstat(fd, &statb) != 0 || in proc_get_priv()
86 read(fd, rv, statb.st_size) != statb.st_size) { in proc_get_priv()
90 (void) close(fd); in proc_get_priv()
106 int fd; in proc_get_ldt() local
139 int fd; proc_get_psinfo() local
156 int fd; proc_get_status() local
179 int fd; proc_get_auxv() local
[all...]
/titanic_51/usr/src/cmd/ttymon/
H A Dtmterm.c54 * fd - fd for the device
66 set_termio(fd,options,aspeed,clear,mode) in set_termio() argument
67 int fd; in set_termio()
92 if ((term = get_ttymode(fd, &termio, &termios, &stermio,
129 if (set_ttymode(fd, term, &termio, &termios, &stermio,
143 turnon_canon(fd) in turnon_canon() argument
144 int fd; in turnon_canon()
151 if (ioctl(fd, TCGETA, &termio) != 0) {
152 log("turnon_canon: TCGETA failed, fd
172 flush_input(fd) flush_input() argument
190 push_linedisc(int fd,char * modules,char * device) push_linedisc() argument
225 hang_up_line(int fd) hang_up_line() argument
261 initial_termio(fd,pmptr) initial_termio() argument
[all...]
/titanic_51/usr/src/cmd/nvmeadm/
H A Dnvmeadm_dev.c30 nvme_ioctl(int fd, int ioc, size_t *bufsize, void **buf, uint64_t arg, in nvme_ioctl() argument
52 if (ioctl(fd, ioc, &nioc) != 0) { in nvme_ioctl()
74 nvme_capabilities(int fd) in nvme_capabilities() argument
79 (void) nvme_ioctl(fd, NVME_IOC_CAPABILITIES, &bufsize, &cap, 0, NULL); in nvme_capabilities()
85 nvme_version(int fd) in nvme_version() argument
90 (void) nvme_ioctl(fd, NVME_IOC_VERSION, &bufsize, &vs, 0, NULL); in nvme_version()
96 nvme_identify_ctrl(int fd) in nvme_identify_ctrl() argument
101 (void) nvme_ioctl(fd, NVME_IOC_IDENTIFY_CTRL, &bufsize, &idctl, 0, in nvme_identify_ctrl()
108 nvme_identify_nsid(int fd) in nvme_identify_nsid() argument
113 (void) nvme_ioctl(fd, NVME_IOC_IDENTIFY_NSI in nvme_identify_nsid()
119 nvme_get_logpage(int fd,uint8_t logpage,size_t * bufsize) nvme_get_logpage() argument
130 nvme_get_feature(int fd,uint8_t feature,uint32_t arg,uint64_t * res,size_t * bufsize,void ** buf) nvme_get_feature() argument
138 nvme_intr_cnt(int fd) nvme_intr_cnt() argument
147 nvme_format_nvm(int fd,uint8_t lbaf,uint8_t ses) nvme_format_nvm() argument
158 nvme_detach(int fd) nvme_detach() argument
164 nvme_attach(int fd) nvme_attach() argument
173 int fd; nvme_open() local
198 nvme_close(int fd) nvme_close() argument
[all...]
/titanic_51/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_tbind.c128 static int setopt(int fd, int level, int name, int value);
129 static int get_opt(int fd, int level, int name);
130 static void nfslib_set_sockbuf(int fd);
140 int fd; in nfslib_transport_open() local
152 fd = t_open(nconf->nc_device, O_RDWR, (struct t_info *)NULL); in nfslib_transport_open()
153 if (fd == -1) { in nfslib_transport_open()
157 fd = t_open(nconf->nc_device, O_RDWR, in nfslib_transport_open()
160 if (fd == -1) { in nfslib_transport_open()
171 if (ioctl(fd, I_POP, 0) < 0) { in nfslib_transport_open()
173 (void) t_close(fd); in nfslib_transport_open()
248 nfslib_set_sockbuf(int fd) nfslib_set_sockbuf() argument
285 int fd; nfslib_bindit() local
451 get_opt(int fd,int level,int name) get_opt() argument
480 setopt(int fd,int level,int name,int value) setopt() argument
510 reuseaddr(int fd) reuseaddr() argument
516 recvucred(int fd) recvucred() argument
522 anonmlp(int fd) anonmlp() argument
528 nfslib_log_tli_error(char * tli_name,int fd,struct netconfig * nconf) nfslib_log_tli_error() argument
764 add_to_poll_list(int fd,struct netconfig * nconf) add_to_poll_list() argument
841 remove_from_poll_list(int fd) remove_from_poll_list() argument
872 do_poll_clts_action(int fd,int conn_index) do_poll_clts_action() argument
1172 int fd; conn_close_oldest() local
1214 conn_get(int fd,struct netconfig * nconf,struct conn_ind ** connp) conn_get() argument
1266 discon_get(int fd,struct netconfig * nconf,struct conn_ind ** connp) discon_get() argument
1303 cots_listen_event(int fd,int conn_index) cots_listen_event() argument
1480 do_poll_cots_action(int fd,int conn_index) do_poll_cots_action() argument
1707 set_addrmask(int fd,struct netconfig * nconf,struct netbuf * mask) set_addrmask() argument
[all...]
/titanic_51/usr/src/lib/libc/port/sys/
H A Dopen.c45 static int xpg4_fixup(int fd);
46 static void push_module(int fd);
47 static int isptsfd(int fd);
53 int fd = syscall(SYS_openat, dfd, path, oflag, mode); in __openat() local
54 return (xpg4_fixup(fd)); in __openat()
61 int fd = syscall(SYS_open, path, oflag, mode); in __open() local
62 return (xpg4_fixup(fd)); in __open()
73 int fd = syscall(SYS_openat64, dfd, path, oflag, mode); in __openat64() local
74 return (xpg4_fixup(fd)); in __openat64()
81 int fd in __open64() local
97 xpg4_fixup(int fd) xpg4_fixup() argument
109 isptsfd(int fd) isptsfd() argument
163 push_module(int fd) push_module() argument
[all...]
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dio.c209 * return <protocol>/<host>/<service> fd
220 int fd; in inetopen() local
274 fd = getaddrinfo(s, t, &hint, &addr); in inetopen()
277 fd = -1; in inetopen()
279 if (fd) in inetopen()
281 if (fd != EAI_SYSTEM) in inetopen()
287 fd = -1; in inetopen()
298 while ((fd = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) >= 0) in inetopen()
300 if (server && !bind(fd, p->ai_addr, p->ai_addrlen) && !listen(fd, in inetopen()
366 int fd; global() member
406 sh_iovalidfd(Shell_t * shp,int fd) sh_iovalidfd() argument
440 sh_inuse(Shell_t * shp,int fd) sh_inuse() argument
517 sh_iostream(Shell_t * shp,register int fd) sh_iostream() argument
595 register int fd; io_preserve() local
689 sh_close(register int fd) sh_close() argument
744 register int fd = -1; sh_open() local
867 register int fd = sh_open(name,O_RDONLY,0); sh_chkopen() local
898 int fd[2]; sh_pipe() local
921 int fd[2]; sh_rpipe() local
937 int fd = accept(pv[0],(struct sockaddr*)0,(socklen_t*)0); sh_coaccept() local
1013 int r, fd, close_exec; io_patseek() local
1098 int fd,r; io_usename() local
1160 register int fd, iof; sh_redirect() local
1582 register int fd; io_heredoc() local
1762 register int fd, savefd, newfd; sh_iounsave() local
1782 register int origfd, savefd, fd; sh_iorestore() local
1857 sh_ioaccess(int fd,register int mode) sh_ioaccess() argument
1965 int fd = sffileno(iop); piperead() local
2072 sh_iocheckfd(Shell_t * shp,register int fd) sh_iocheckfd() argument
2243 register int fd = sffileno(sp); sftrack() local
2534 sh_read(register int fd,void * buff,size_t n) sh_read() argument
2550 sh_write(register int fd,const void * buff,size_t n) sh_write() argument
2566 sh_seek(register int fd,off_t offset,int whence) sh_seek() argument
2582 register int fd = dup(old); sh_dup() local
2598 sh_fcntl(register int fd,int op,...) sh_fcntl() argument
2646 sh_iogetiop(int fd,int mode) sh_iogetiop() argument
2700 sh_fd2sfio(int fd) sh_fd2sfio() argument
2737 sh_isdevfd(register const char * fd) sh_isdevfd() argument
2750 sh_fchdir(int fd) sh_fchdir() argument
2770 int fd; sh_get_unused_fd() local
[all...]
/titanic_51/usr/src/cmd/cdrw/
H A Dmmc.h128 int test_unit_ready(int fd);
129 int inquiry(int fd, uchar_t *inq);
130 int read_capacity(int fd, uchar_t *capbuf);
131 int read_track_info(int fd, int trackno, uchar_t *ti);
132 int mode_sense(int fd, uchar_t pc, int dbd, int page_len, uchar_t *buffer);
133 int mode_select(int fd, int page_len, uchar_t *buffer);
134 int read_toc(int fd, int format, int trackno, int buflen, uchar_t *buf);
135 int read_disc_info(int fd, uchar_t *di);
136 int get_configuration(int fd, uint16_t feature, int bufsize, uchar_t *buf);
137 int read10(int fd, uint32_
[all...]
/titanic_51/usr/src/cmd/lp/lib/forms/
H A Dwrform.c60 wrform(char *name, FORM *formp, int fd, int (*error_handler)( int , int , int ), in wrform() argument
77 print_sdn(fd, HEAD, formp->plen); in wrform()
81 print_sdn(fd, HEAD, formp->pwid); in wrform()
85 print_sdn(fd, HEAD, formp->lpi); in wrform()
90 print_str(fd, HEAD, NAME_COMPRESSED); in wrform()
92 print_sdn(fd, HEAD, formp->cpi); in wrform()
96 fdprintf(fd, "%s %d\n", HEAD, formp->np); in wrform()
100 fdprintf(fd, "%s %s", HEAD, formp->chset); in wrform()
102 fdprintf(fd, ",%s", MANSTR); in wrform()
103 fdprintf(fd, "\ in wrform()
189 print_sdn(int fd,char * head,SCALED sdn) print_sdn() argument
201 print_str(int fd,char * head,char * str) print_str() argument
[all...]
/titanic_51/usr/src/cmd/make/bin/
H A Dstate.cc46 #define XFWRITE(string, length, fd) {if (fwrite(string, 1, length, fd) == 0) \ argument
48 #define XPUTC(ch, fd) { \ argument
49 if (putc((int) ch, fd) == EOF) \
52 #define XFPUTS(string, fd) fputs(string, fd) argument
96 static void print_auto_depes(register Dependency dependency, register FILE *fd, register Boolean built_this_run, register int *line_length, register char *target_name, jmp_buf long_jump);
123 register FILE *fd; in write_state_file() local
169 if ((fdes < 0) || (fd = fdopen(fdes, "w")) == NULL) { in write_state_file()
187 if ((fd in write_state_file()
413 print_auto_depes(register Dependency dependency,register FILE * fd,register Boolean built_this_run,register int * line_length,register char * target_name,jmp_buf long_jump) print_auto_depes() argument
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libast/aso/
H A Daso-fcntl.c38 int fd;
52 int fd;
65 if (fcntl(apl->fd, F_SETLKW, &lock) >= 0)
67 if (lseek(apl->fd, apl->size, SEEK_SET) != apl->size)
69 else if (read(apl->fd, &references, sizeof(references)) != sizeof(references))
74 if (lseek(apl->fd, apl->size, SEEK_SET) != apl->size)
76 else if (write(apl->fd, &references, sizeof(references)) != sizeof(references))
80 fcntl(apl->fd, F_SETLK, &lock);
84 close(apl->fd);
88 fd
[all...]
/titanic_51/usr/src/cmd/avs/rdc/
H A Dsndrd.c195 int fd = open(rdc_devr, O_RDONLY); in open_rdc() local
197 if (fd < 0) in open_rdc()
200 return (rdc_fdr = fd); in open_rdc()
220 int fd; in rdc_transport_open() local
232 fd = t_open(nconf->nc_device, O_RDWR, (struct t_info *)NULL); in rdc_transport_open()
233 if (fd == -1) { in rdc_transport_open()
237 fd = t_open(nconf->nc_device, O_RDWR, NULL); in rdc_transport_open()
239 if (fd == -1) { in rdc_transport_open()
254 if (ioctl(fd, I_POP, 0) < 0) { in rdc_transport_open()
256 if (t_close(fd) in rdc_transport_open()
335 rdcd_log_tli_error(char * tli_name,int fd,struct netconfig * nconf) rdcd_log_tli_error() argument
681 reuseaddr(int fd) reuseaddr() argument
813 add_to_poll_list(int fd,struct netconfig * nconf) add_to_poll_list() argument
894 remove_from_poll_list(int fd) remove_from_poll_list() argument
923 int fd; conn_close_oldest() local
965 conn_get(int fd,struct netconfig * nconf,struct conn_ind ** connp) conn_get() argument
1018 discon_get(int fd,struct netconfig * nconf,struct conn_ind ** connp) discon_get() argument
1055 cots_listen_event(int fd,int conn_index) cots_listen_event() argument
1186 do_poll_cots_action(int fd,int conn_index) do_poll_cots_action() argument
1317 do_poll_clts_action(int fd,int conn_index) do_poll_clts_action() argument
1624 rdcsvc(int fd,struct netbuf addrmask,struct netconfig * nconf) rdcsvc() argument
1683 int fd; rdcd_bindit() local
1849 set_addrmask(int fd,struct netconfig * nconf,struct netbuf * mask) set_addrmask() argument
[all...]

12345678910>>...89