/illumos-gate/usr/src/uts/common/syscall/ |
H A D | mknod.c | 55 * fmode - mode of pathname 59 mknodat(int fd, char *fname, mode_t fmode, dev_t dev) argument 70 if ((fmode & S_IFMT) == 0) 71 fmode |= S_IFREG; 76 if (((fmode & S_IFMT) != S_IFIFO) && secpolicy_sys_devices(CRED()) != 0) 81 vattr.va_type = IFTOVT(fmode); 82 vattr.va_mode = fmode & MODEMASK; 100 why = ((fmode & S_IFMT) == S_IFDIR) ? CRMKDIR : CRMKNOD; 112 mknod(char *fname, mode_t fmode, dev_t dev) argument 114 return (mknodat(AT_FDCWD, fname, fmode, de [all...] |
H A D | access.c | 61 caccess(char *fname, int fmode, vnode_t *startvp) argument 71 if (fmode & ~(E_OK|R_OK|W_OK|X_OK)) 74 mode = ((fmode & (R_OK|W_OK|X_OK)) << 6); 79 eok = (fmode & E_OK) || 120 faccessat(int fd, char *fname, int fmode, int flag) argument 136 fmode &= ~E_OK; 138 fmode |= E_OK; 140 error = caccess(fname, fmode, startvp); 149 access(char *fname, int fmode) argument 151 return (faccessat(AT_FDCWD, fname, fmode, [all...] |
H A D | open.c | 282 #define OPENMODE32(fmode) (((fmode) & (FSEARCH | FEXEC))? \ 283 (fmode) : (fmode) - FOPEN) 284 #define OPENMODE64(fmode) (OPENMODE32(fmode) | FOFFMAX) 286 #define OPENMODE(fmode) OPENMODE64(fmode) 288 #define OPENMODE(fmode) OPENMODE32(fmode) 295 openat(int fd, char *path, int fmode, int cmode) argument 301 open(char *path, int fmode, int cmode) argument 311 openat64(int fd, char *path, int fmode, int cmode) argument 317 open64(char *path, int fmode, int cmode) argument 329 openat32(int fd, char *path, int fmode, int cmode) argument 335 open32(char *path, int fmode, int cmode) argument [all...] |
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | sourcefilter.c | 42 socklen_t grouplen, uint32_t *fmode, uint_t *numsrc, 86 *fmode = gf->gf_fmode; 102 socklen_t grouplen, uint32_t fmode, uint_t numsrc, 138 gf->gf_fmode = fmode; 159 uint32_t *fmode, uint32_t *numsrc, struct in_addr *slist) 182 *fmode = imsf->imsf_fmode; 198 uint32_t fmode, uint32_t numsrc, struct in_addr *slist) 213 imsf->imsf_fmode = fmode; 41 getsourcefilter(int s, uint32_t interface, struct sockaddr *group, socklen_t grouplen, uint32_t *fmode, uint_t *numsrc, struct sockaddr_storage *slist) argument 101 setsourcefilter(int s, uint32_t interface, struct sockaddr *group, socklen_t grouplen, uint32_t fmode, uint_t numsrc, struct sockaddr_storage *slist) argument 158 getipv4sourcefilter(int s, struct in_addr interface, struct in_addr group, uint32_t *fmode, uint32_t *numsrc, struct in_addr *slist) argument 197 setipv4sourcefilter(int s, struct in_addr interface, struct in_addr group, uint32_t fmode, uint32_t numsrc, struct in_addr *slist) argument
|
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | minfree.c | 42 minfree_open(const char *dir, int oflags, const char *fmode) argument 50 return (fdopen(fd, fmode));
|
/illumos-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 797 int fmode; local 802 fmode = SM_IO_RDONLY; 807 fmode = SM_IO_APPEND; 809 fmode = SM_IO_WRONLY; 814 fmode = SM_IO_RDWRTR; 816 fmode = SM_IO_APPENDRW; 818 fmode = SM_IO_RDWR; 823 fmode = 0; 836 (void *) &fd, fmode, NULL); 844 fn, fmode, omod [all...] |
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kutil.c | 73 tli_send(TIUSER *tiptr, mblk_t *bp, int fmode) argument 83 error = kstrputmsg(vp, bp, NULL, 0, 0, MSG_BAND | MSG_HOLDSIG, fmode); 88 tli_recv(TIUSER *tiptr, mblk_t **bp, int fmode) argument 98 if (fmode & (FNDELAY|FNONBLOCK)) 114 get_ok_ack(TIUSER *tiptr, int type, int fmode) argument 127 if ((error = tli_recv(tiptr, &bp, fmode)) != 0)
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | bf.c | 107 MODE_T fmode; local 115 fmode = ((struct bf_info *) info)->bi_fmode; 174 bfp->bf_filemode = fmode; 191 ** fmode -- what mode the file should be created as 218 bfopen(char *filename, MODE_T fmode, size_t bsize, long flags) argument 221 bfopen(filename, fmode, bsize, flags) 223 MODE_T fmode; 235 ** Apply current umask to fmode as it may change by the time 236 ** the file is actually created. fmode becomes the true 241 fmode [all...] |
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_trantcp.c | 99 int events, fmode, timo, waitflg; local 131 fmode = FNDELAY; /* non-blocking */ 133 fmode = 0; /* normal (blocking) */ 138 error = tli_recv(nbp->nbp_tiptr, &tm, fmode);
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksctpsubr.c | 306 * fmode should contain any nonblocking flags. 309 sosctp_assoc_waitconnected(struct sctp_soassoc *ssa, int fmode) argument 321 if (fmode & (FNDELAY|FNONBLOCK))
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tty_pty.c | 529 int fmode = 0; local 632 fmode = uio->uio_fmode; 638 if (fmode) 639 uio->uio_fmode = fmode;
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_deleted.c | 258 s10_mknod(sysret_t *rval, const char *fname, int fmode, dev_t dev) argument 261 AT_FDCWD, fname, fmode, dev));
|
/illumos-gate/usr/src/uts/common/fs/fifofs/ |
H A D | fifovnops.c | 853 int fmode; local 897 fmode = uiop->uio_fmode & (FNDELAY|FNONBLOCK); 915 if (fmode) { 919 if (fmode & FNDELAY)
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_diff.c | 254 mode_t fmode, tmode; local 288 fmode = fsb.zs_mode & S_IFMT; 290 if (fmode == S_IFDIR || tmode == S_IFDIR || fsb.zs_links == 0 || 312 if (fmode != tmode && fsb.zs_gen == tsb.zs_gen)
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_file.c | 759 int fmode; 763 fmode = (file_is_open >> 1) & O_ACCMODE; 765 fmode = 0; 767 if (fmode) 756 int fmode; local
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockstr.c | 1142 sowaitconnind(struct sonode *so, int fmode, mblk_t **mpp) argument 1160 if (fmode & (FNDELAY|FNONBLOCK)) { 1239 * fmode should contain any nonblocking flags. nosig should be 1243 sowaitconnected(struct sonode *so, int fmode, int nosig) argument 1254 if (fmode & (FNDELAY|FNONBLOCK)) 2841 int fmode, 2866 return (strgetmsg(vp, mctl, mdata, prip, flagsp, fmode, rvp)); 2888 int fmode 2911 return (strputmsg(vp, mctl, mdata, pri, flag, fmode)); 2835 sock_getmsg( struct vnode *vp, struct strbuf *mctl, struct strbuf *mdata, uchar_t *prip, int *flagsp, int fmode, rval_t *rvp ) argument
|
H A D | socksubr.c | 358 * If the caller wants nonblocking behavior it should set fmode. 361 so_lock_read(struct sonode *so, int fmode) argument 366 if (fmode & (FNDELAY|FNONBLOCK)) 379 so_lock_read_intr(struct sonode *so, int fmode) argument 384 if (fmode & (FNDELAY|FNONBLOCK))
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | igmp.c | 1018 igmp_statechange(ilm_t *ilm, mcast_record_t fmode, slist_t *flist) argument 1045 if (ilm->ilm_fmode == fmode) { 1109 mld_statechange(ilm_t *ilm, mcast_record_t fmode, slist_t *flist) argument 1136 if (ilm->ilm_fmode == fmode) { 1330 * Decrement the retransmit count. If the fmode rtx 1561 * Decrement the retransmit count. If the fmode rtx
|
H A D | ip_multi.c | 65 static void ilm_gen_filter(ilm_t *ilm, mcast_record_t *fmode, 87 ipaddr_t ifaddr, uint_t ifindex, ill_t *ill, mcast_record_t fmode, 94 mcast_record_t fmode, const in6_addr_t *v6src); 352 ilm_gen_filter(ilm_t *ilm, mcast_record_t *fmode, slist_t *flist) argument 369 *fmode = MODE_IS_EXCLUDE; 376 *fmode = MODE_IS_INCLUDE; 388 *fmode = MODE_IS_INCLUDE; 391 *fmode = MODE_IS_EXCLUDE; 402 mcast_record_t fmode; local 442 fmode 483 mcast_record_t fmode; local 1837 int i, numsrc, fmode, outsrcs; local 2454 ip_opt_add_group(conn_t *connp, boolean_t checkonly, const in6_addr_t *v6group, ipaddr_t ifaddr, uint_t ifindex, mcast_record_t fmode, const in6_addr_t *v6src) argument 2518 ip_opt_delete_group_excl(conn_t *connp, const in6_addr_t *v6group, ipaddr_t ifaddr, uint_t ifindex, mcast_record_t fmode, const in6_addr_t *v6src) argument 2654 ip_opt_delete_group(conn_t *connp, boolean_t checkonly, const in6_addr_t *v6group, ipaddr_t ifaddr, uint_t ifindex, mcast_record_t fmode, const in6_addr_t *v6src) argument 2696 ilg_add(conn_t *connp, const in6_addr_t *v6group, ipaddr_t ifaddr, uint_t ifindex, ill_t *ill, mcast_record_t fmode, const in6_addr_t *v6src) argument [all...] |
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg.c | 2261 int fmode; local 2269 fmode = O_RDONLY; 2271 fmode = O_RDWR | O_CREAT; 2280 fd = open(wellknown, fmode, 0644);
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | devalloc.c | 1245 char *fmode; local 1254 fmode = "r+F"; 1257 fmode = "rF"; 1287 if ((devfile = fdopen(fda, fmode)) == NULL) { 1323 if ((devfile = fdopen(fdm, fmode)) == NULL) {
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_acl.c | 892 zfs_mode_compute(uint64_t fmode, zfs_acl_t *aclp, argument 904 mode = (fmode & (S_IFMT | S_ISUID | S_ISGID | S_ISVTX));
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit.c | 652 unsigned char *pri, int *flag, int fmode) 682 unsigned char pri, int flag, int fmode) 651 audit_strgetmsg(struct vnode *vp, struct strbuf *mctl, struct strbuf *mdata, unsigned char *pri, int *flag, int fmode) argument 681 audit_strputmsg(struct vnode *vp, struct strbuf *mctl, struct strbuf *mdata, unsigned char pri, int flag, int fmode) argument
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | flock.c | 2992 int fmode, 3010 i = (fmode & (FNDELAY|FNONBLOCK)) ? INOFLCK : INOFLCK|SLPFLCK; 2987 chklock( struct vnode *vp, int iomode, u_offset_t offset, ssize_t len, int fmode, caller_context_t *ct) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | route.c | 1643 mode_t fmode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; local 1649 perm_fd = open(perm_file, O_RDWR | O_CREAT, fmode);
|