Home
last modified time | relevance | path

Searched refs:fmode (Results 1 – 25 of 36) sorted by last modified time

12

/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c4411 kstrwritemp(struct vnode *vp, mblk_t *mp, ushort_t fmode) in kstrwritemp() argument
4455 tempmode = fmode & ~FNDELAY; in kstrwritemp()
4457 tempmode = fmode; in kstrwritemp()
H A Dsocksubr.c345 so_lock_read(struct sonode *so, int fmode) in so_lock_read() argument
350 if (fmode & (FNDELAY|FNONBLOCK)) in so_lock_read()
363 so_lock_read_intr(struct sonode *so, int fmode) in so_lock_read_intr() argument
368 if (fmode & (FNDELAY|FNONBLOCK)) in so_lock_read_intr()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c913 long fmode; in aus_chmod() member
916 fmode = (uint32_t)uap->fmode; in aus_chmod()
933 long fmode; in aus_fchmod() member
937 fmode = (uint32_t)uap->fmode; in aus_fchmod()
971 long fmode; in aui_fchmodat() member
997 long fmode; in aus_fchmodat() member
1002 fmode = (uint32_t)uap->fmode; in aus_fchmodat()
1099 long fmode; in aui_open() member
1116 long fmode; in aus_open() member
1657 fmode = (uint32_t)uap->fmode; in aus_mknod()
[all …]
H A Daudit.c651 unsigned char *pri, int *flag, int fmode) in audit_strgetmsg() argument
681 unsigned char pri, int flag, int fmode) in audit_strputmsg() argument
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_acl.c905 zfs_mode_compute(uint64_t fmode, zfs_acl_t *aclp, in zfs_mode_compute() argument
918 mode = (fmode & (S_IFMT | S_ISUID | S_ISGID | S_ISVTX)); in zfs_mode_compute()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c756 int fmode; in krb5_ktf_keytab_internalize() local
760 fmode = (file_is_open >> 1) & O_ACCMODE; in krb5_ktf_keytab_internalize()
762 fmode = 0; in krb5_ktf_keytab_internalize()
764 if (fmode) in krb5_ktf_keytab_internalize()
/illumos-gate/usr/src/uts/common/sys/
H A Dstrsubr.h1138 int flag, int fmode);
/illumos-gate/usr/src/uts/common/io/
H A Dlofi.c1880 lofi_urw(struct lofi_state *lsp, uint16_t fmode, diskaddr_t off, size_t size, in lofi_urw() argument
1901 uio.uio_fmode = fmode; in lofi_urw()
1904 return (fmode == FREAD ? in lofi_urw()
H A Dtty_pty.c523 int fmode = 0; in ptcwrite() local
621 fmode = uio->uio_fmode; in ptcwrite()
627 if (fmode) in ptcwrite()
628 uio->uio_fmode = fmode; in ptcwrite()
/illumos-gate/usr/src/uts/common/os/
H A Dstrsubr.c3024 strwaitq(stdata_t *stp, int flag, ssize_t count, int fmode, clock_t timout, in strwaitq() argument
3105 if (fmode & (FNDELAY|FNONBLOCK)) { in strwaitq()
3117 stp, flag, count, fmode, done); in strwaitq()
3124 stp, flag, count, fmode, done); in strwaitq()
3128 stp, flag, count, fmode, done); in strwaitq()
3141 stp, flag, count, fmode, done); in strwaitq()
H A Dstreamio.c6632 int fmode, in strgetmsg() argument
7267 int fmode; in kstrgetmsg() local
7367 fmode = uiop->uio_fmode; in kstrgetmsg()
7369 fmode = 0; in kstrgetmsg()
7375 fmode, timout, &done))) != 0 || done) { in kstrgetmsg()
7854 int fmode) in strputmsg() argument
7880 audit_strputmsg(vp, mctl, mdata, pri, flag, fmode); in strputmsg()
7956 uios.uio_fmode = fmode; in strputmsg()
8058 int fmode) in kstrputmsg() argument
8069 audit_strputmsg(vp, NULL, NULL, pri, flag, fmode); in kstrputmsg()
[all …]
H A Dflock.c2998 chklock(struct vnode *vp, int iomode, u_offset_t offset, ssize_t len, int fmode, in chklock() argument
3016 i = (fmode & (FNDELAY|FNONBLOCK)) ? INOFLCK : INOFLCK|SLPFLCK; in chklock()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip.c6349 mcast_record_t fmode; in ip_opt_set_multicast_group() local
6359 fmode = MODE_IS_EXCLUDE; in ip_opt_set_multicast_group()
6368 fmode = MODE_IS_INCLUDE; in ip_opt_set_multicast_group()
6373 fmode = MODE_IS_INCLUDE; in ip_opt_set_multicast_group()
6465 mcast_record_t fmode; in ip_opt_set_multicast_sources() local
6476 fmode = MODE_IS_EXCLUDE; in ip_opt_set_multicast_sources()
6484 fmode = MODE_IS_EXCLUDE; in ip_opt_set_multicast_sources()
6492 fmode = MODE_IS_INCLUDE; in ip_opt_set_multicast_sources()
6506 fmode = 0; in ip_opt_set_multicast_sources()
6572 fmode, &v6src); in ip_opt_set_multicast_sources()
[all …]
H A Dip_multi.c369 *fmode = MODE_IS_EXCLUDE; in ilm_gen_filter()
376 *fmode = MODE_IS_INCLUDE; in ilm_gen_filter()
388 *fmode = MODE_IS_INCLUDE; in ilm_gen_filter()
402 mcast_record_t fmode; in ilm_update_add() local
442 fmode = MODE_IS_EXCLUDE; in ilm_update_add()
464 ilm->ilm_fmode = fmode; in ilm_update_add()
483 mcast_record_t fmode; in ilm_update_del() local
502 fmode = MODE_IS_EXCLUDE; in ilm_update_del()
522 ilm->ilm_fmode = fmode; in ilm_update_del()
1906 gf->gf_fmode = fmode; in ip_get_srcfilter()
[all …]
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dsourcefilter.c40 socklen_t grouplen, uint32_t *fmode, uint_t *numsrc, in getsourcefilter() argument
84 *fmode = gf->gf_fmode; in getsourcefilter()
100 socklen_t grouplen, uint32_t fmode, uint_t numsrc, in setsourcefilter() argument
136 gf->gf_fmode = fmode; in setsourcefilter()
157 uint32_t *fmode, uint32_t *numsrc, struct in_addr *slist) in getipv4sourcefilter() argument
180 *fmode = imsf->imsf_fmode; in getipv4sourcefilter()
196 uint32_t fmode, uint32_t numsrc, struct in_addr *slist) in setipv4sourcefilter() argument
211 imsf->imsf_fmode = fmode; in setipv4sourcefilter()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dbf.c105 MODE_T fmode; local
113 fmode = ((struct bf_info *) info)->bi_fmode;
172 bfp->bf_filemode = fmode;
216 bfopen(char *filename, MODE_T fmode, size_t bsize, long flags) in bfopen() argument
219 bfopen(filename, fmode, bsize, flags) in bfopen()
221 MODE_T fmode;
239 fmode &= ~omask;
246 info.bi_fmode = fmode;
/illumos-gate/usr/src/cmd/dumpadm/
H A Dminfree.c40 minfree_open(const char *dir, int oflags, const char *fmode) in minfree_open() argument
48 return (fdopen(fd, fmode)); in minfree_open()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c168 static char *fmodestr(uint_t fmode);
7280 fmodestr(uint_t fmode) in fmodestr() argument
7282 switch (fmode) { in fmodestr()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c1643 mode_t fmode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in save_route() local
1649 perm_fd = open(perm_file, O_RDWR | O_CREAT, fmode); in save_route()
/illumos-gate/usr/src/uts/common/syscall/
H A Dopen.c283 #define OPENMODE32(fmode) (((fmode) & (FSEARCH | FEXEC))? \ argument
284 (fmode) : (fmode) - FOPEN)
285 #define OPENMODE64(fmode) (OPENMODE32(fmode) | FOFFMAX) argument
287 #define OPENMODE(fmode) OPENMODE64(fmode) argument
289 #define OPENMODE(fmode) OPENMODE32(fmode) argument
296 openat(int fd, char *path, int fmode, int cmode) in openat() argument
302 open(char *path, int fmode, int cmode) in open() argument
304 return (openat(AT_FDCWD, path, fmode, cmode)); in open()
318 open64(char *path, int fmode, int cmode) in open64() argument
320 return (openat64(AT_FDCWD, path, fmode, cmode)); in open64()
[all …]
H A Dmknod.c59 mknodat(int fd, char *fname, mode_t fmode, dev_t dev) in mknodat() argument
70 if ((fmode & S_IFMT) == 0) in mknodat()
71 fmode |= S_IFREG; in mknodat()
76 if (((fmode & S_IFMT) != S_IFIFO) && secpolicy_sys_devices(CRED()) != 0) in mknodat()
81 vattr.va_type = IFTOVT(fmode); in mknodat()
82 vattr.va_mode = fmode & MODEMASK; in mknodat()
100 why = ((fmode & S_IFMT) == S_IFDIR) ? CRMKDIR : CRMKNOD; in mknodat()
112 mknod(char *fname, mode_t fmode, dev_t dev) in mknod() argument
114 return (mknodat(AT_FDCWD, fname, fmode, dev)); in mknod()
H A Daccess.c61 caccess(char *fname, int fmode, vnode_t *startvp) in caccess() argument
71 if (fmode & ~(E_OK|R_OK|W_OK|X_OK)) in caccess()
74 mode = ((fmode & (R_OK|W_OK|X_OK)) << 6); in caccess()
79 eok = (fmode & E_OK) || in caccess()
120 faccessat(int fd, char *fname, int fmode, int flag) in faccessat() argument
136 fmode &= ~E_OK; in faccessat()
138 fmode |= E_OK; in faccessat()
140 error = caccess(fname, fmode, startvp); in faccessat()
149 access(char *fname, int fmode) in access() argument
151 return (faccessat(AT_FDCWD, fname, fmode, 0)); in access()
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kutil.c73 tli_send(TIUSER *tiptr, mblk_t *bp, int fmode) in tli_send() argument
83 error = kstrputmsg(vp, bp, NULL, 0, 0, MSG_BAND | MSG_HOLDSIG, fmode); in tli_send()
88 tli_recv(TIUSER *tiptr, mblk_t **bp, int fmode) in tli_recv() argument
98 if (fmode & (FNDELAY|FNONBLOCK)) in tli_recv()
114 get_ok_ack(TIUSER *tiptr, int type, int fmode) in get_ok_ack() argument
127 if ((error = tli_recv(tiptr, &bp, fmode)) != 0) in get_ok_ack()
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksctp.h118 extern int sosctp_waitconnected(struct sonode *so, int fmode);
H A Dsocksctpsubr.c309 sosctp_assoc_waitconnected(struct sctp_soassoc *ssa, int fmode) in sosctp_assoc_waitconnected() argument
321 if (fmode & (FNDELAY|FNONBLOCK)) in sosctp_assoc_waitconnected()

12