Home
last modified time | relevance | path

Searched refs:nflags (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/lib/libshell/common/scripts/
H A Dfiletree1.sh92 nameref nflags=node.flags
93 [[ -r "$i" ]] && nflags.readable="true" || nflags.readable="false"
94 [[ -w "$i" ]] && nflags.writeable="true" || nflags.writeable="false"
95 [[ -x "$i" ]] && nflags.executable="true" || nflags.executable="false"
97 [[ -b "$i" ]] && nflags.blockdevice="true" || nflags.blockdevice="false"
98 [[ -c "$i" ]] && nflags.characterdevice="true" || nflags.characterdevice="false"
99 [[ -S "$i" ]] && nflags.socket="true" || nflags.socket="false"
101 [[ -L "$i" ]] && nflags.symlink="true" || nflags.symlink="false"
125 if ${nflags.readable} ; then
131 if ${nflags.dir} ; then
/titanic_41/usr/src/lib/libbc/libc/sys/4.2/
H A Dmount.c93 int idx, nflags = 0; in mount() local
110 nflags = MS_NOTRUNC; in mount()
112 case M_RDONLY: nflags |= MS_RDONLY; in mount()
113 case M_NOSUID: nflags |= MS_NOSUID; in mount()
114 case M_REMOUNT: nflags |= MS_REMOUNT; in mount()
118 return (_syscall(SYS_mount, data, dir, nflags, idx, 0, 0)); in mount()
120 return (_syscall(SYS_mount, data, dir, nflags, idx, 0, 0)); in mount()
122 nflags |= MS_DATA; in mount()
156 returnValue = (_syscall(SYS_mount, data, dir, nflags, idx, na, in mount()
/titanic_41/usr/src/lib/libbc/libc/sys/common/
H A D_open.c73 int nflags = flags; in open_com() local
78 nflags = flags & ~FLAGS_MASK; in open_com()
80 nflags |= N_O_SYNC; in open_com()
82 nflags |= N_O_NONBLOCK; in open_com()
85 nflags |= N_O_CREAT; in open_com()
87 nflags |= N_O_TRUNC; in open_com()
89 nflags |= N_O_EXCL; in open_com()
91 nflags |= N_O_NDELAY; in open_com()
105 return (_syscall(SYS_openat, AT_FDCWD, locbuf, nflags, mode)); in open_com()
109 return (open_mnt("/etc/mnttab", "mtab", nflags, mode)); in open_com()
[all …]
/titanic_41/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c746 u_int nflags; local
764 nflags = np->in_flags & flags;
765 nflags &= NAT_FROMRULE;
768 ni.nai_nflags = nflags;
829 natl = nat6_outlookup(fin, nflags, (u_int)fin->fin_p,
846 natl = nat6_inlookup(fin, nflags, (u_int)fin->fin_p,
1209 nat_t *nat6_icmperror(fin, nflags, dir) in nat6_icmperror() argument
1211 u_int *nflags;
1235 *nflags = IPN_ICMPERR;
1484 int nflags; local
[all …]
H A Dip_nat.c2529 u_int nflags; local
2551 nflags = np->in_flags & flags;
2552 nflags &= NAT_FROMRULE;
2555 ni.nai_nflags = nflags;
2615 natl = nat_outlookup(fin, nflags, (u_int)fin->fin_p,
2632 natl = nat_inlookup(fin, nflags, (u_int)fin->fin_p,
2990 nat_t *nat_icmperror(fin, nflags, dir) in nat_icmperror() argument
2992 u_int *nflags;
3016 *nflags = IPN_ICMPERR;
3273 int nflags; local
[all …]
/titanic_41/usr/src/uts/common/xen/os/
H A Dgnttab.c288 uint16_t nflags; in gnttab_query_foreign_access() local
292 nflags = shared[ref].flags; in gnttab_query_foreign_access()
294 return (nflags & (GTF_reading|GTF_writing)); in gnttab_query_foreign_access()
301 uint16_t flags, nflags; in gnttab_end_foreign_access_ref() local
305 nflags = shared[ref].flags; in gnttab_end_foreign_access_ref()
307 if ((flags = nflags) & (GTF_reading|GTF_writing)) { in gnttab_end_foreign_access_ref()
311 } while ((nflags = CMPXCHG(&shared[ref].flags, flags, 0)) != flags); in gnttab_end_foreign_access_ref()
/titanic_41/usr/src/cmd/devfsadm/
H A Ddisk_link.c72 static int reserved_links_exist(di_node_t node, di_minor_t minor, int nflags);
464 int nflags = 0; in disk_common() local
518 nflags = 0; in disk_common()
525 nflags = DA_ADD|DA_CD; in disk_common()
529 if (reserved_links_exist(node, minor, nflags) == DEVFSADM_SUCCESS) { in disk_common()
565 (void) devfsadm_mklink(l_path, node, minor, nflags); in disk_common()
726 reserved_links_exist(di_node_t node, di_minor_t minor, int nflags) in reserved_links_exist() argument
843 (void) devfsadm_mklink(l, node, minor, nflags); in reserved_links_exist()
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_vnops.c221 socket_vop_setfl(vnode_t *vp, int oflags, int nflags, cred_t *cr, in socket_vop_setfl() argument
230 if (nflags & FNDELAY) in socket_vop_setfl()
234 if (nflags & FNONBLOCK) in socket_vop_setfl()
247 if ((oflags ^ nflags) & FASYNC && so->so_version != SOV_STREAM) { in socket_vop_setfl()
248 int async = nflags & FASYNC; in socket_vop_setfl()
/titanic_41/usr/src/uts/common/inet/ipf/netinet/
H A Dip_rpcb_pxy.c1184 int nflags; local
1207 nflags = NAT_TCP;
1210 nflags = NAT_UDP;
1213 nflags |= SI_W_SPORT|NAT_SEARCH;
1232 natl = nat_inlookup(&fi, nflags, proto, fi.fin_src, fi.fin_dst);
1246 nflags &= ~NAT_SEARCH;
1255 ipn->in_flags = nflags & IPN_TCPUDP;
1270 natl = nat_new(&fi, ipn, NULL, nflags|SI_CLONE|NAT_SLAVE,
1281 (void) nat_proto(&fi, natl, nflags);
1291 nflags &= NAT_TCPUDP;
[all …]
H A Dip_rcmd_pxy.c128 int off, dlen, nflags; local
203 nflags = NAT_SLAVE|IPN_TCP|SI_W_DPORT;
214 nflags |= NAT_NOTRULEPORT;
217 nat2 = nat_new(&fi, nat->nat_ptr, NULL, nflags, nat->nat_dir);
H A Dip_ftp_pxy.c648 int inc, off, nflags, sflags; local
709 nflags = IPN_TCP|SI_W_SPORT;
711 nflags |= SI_W_DPORT;
713 nat2 = nat_outlookup(&fi, nflags|NAT_SEARCH,
716 nat2 = nat_inlookup(&fi, nflags|NAT_SEARCH,
751 sflags = nflags;
752 nflags |= NAT_SLAVE;
754 nflags |= NAT_NOTRULEPORT;
755 nat2 = nat_new(&fi, nat->nat_ptr, NULL, nflags, nat->nat_dir);
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Darp.c74 int c, nflags = 0, argsleft; in main() local
81 if (nflags > 0) { \ in main()
86 nflags++; \ in main()
140 } else if ((nflags == 0) && (argsleft == 1)) { in main()
/titanic_41/usr/src/cmd/sgs/crle/common/
H A Dinspect.c942 Half nflags = flags & ~RTC_OBJ_CMDLINE; in inspect() local
1000 if (inspect_dir(crle, name, nflags, &status)) in inspect()
1064 ent->e_flags |= nflags; in inspect()
1067 if ((ent = enterdir(crle, dir, nflags, in inspect()
1082 ent->e_flags |= nflags; in inspect()
1086 if (inspect_file(crle, name, file, nflags, ent, &status, 1)) in inspect()
/titanic_41/usr/src/cmd/rpcgen/
H A Drpc_main.c1040 int nflags; in parseargs() local
1227 nflags = cmd->cflag + cmd->hflag + cmd->lflag + cmd->mflag + in parseargs()
1231 if (nflags == 0) { in parseargs()
1240 if (nflags > 1) { in parseargs()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_sg.c1210 uint32_t nflags; in ilbd_Xable_server() local
1399 nflags = tmp_srv->isv_flags; in ilbd_Xable_server()
1401 ILB_SET_ENABLED(nflags); in ilbd_Xable_server()
1403 ILB_SET_DISABLED(nflags); in ilbd_Xable_server()
1441 ntohs(tmp_srv->isv_maxport), nflags); in ilbd_Xable_server()
/titanic_41/usr/src/uts/common/sys/
H A Dfem.h163 int (*femop_setfl)(femarg_t *vf, int oflags, int nflags, \
312 extern int vnext_setfl(femarg_t *vf, int oflags, int nflags, cred_t *cr,
/titanic_41/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c159 lo_setfl(vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) in lo_setfl() argument
162 return (VOP_SETFL(vp, oflags, nflags, cr, ct)); in lo_setfl()
/titanic_41/usr/src/uts/common/fs/
H A Dfs_subr.c375 fs_setfl(vnode_t *vp, int oflags, int nflags, cred_t *cr, caller_context_t *ct) in fs_setfl() argument
H A Dfem.c568 vhead_setfl(vnode_t *vp, int oflags, int nflags, cred_t *cr, in vhead_setfl() argument
581 errc = (*func)(arg0, oflags, nflags, cr, ct); in vhead_setfl()
588 errc = (*func)(arg0, oflags, nflags, cr, ct); in vhead_setfl()
2118 vnext_setfl(femarg_t *vf, int oflags, int nflags, cred_t *cr, in vnext_setfl() argument
2129 return ((*func)(arg0, oflags, nflags, cr, ct)); in vnext_setfl()
H A Dvnode.c3287 int nflags, in fop_setfl() argument
3295 err = (*(vp)->v_op->vop_setfl)(vp, oflags, nflags, cr, ct); in fop_setfl()
/titanic_41/usr/src/uts/common/os/
H A Dsunddi.c9719 uint_t nflags; in e_ddi_branch_unconfigure() local
9778 nflags = NDI_DEVI_OFFLINE; in e_ddi_branch_unconfigure()
9780 nflags |= NDI_DEVI_REMOVE; in e_ddi_branch_unconfigure()
9783 nflags |= NDI_UNCONFIG; /* uninit but don't remove */ in e_ddi_branch_unconfigure()
9787 nflags |= NDI_POST_EVENT; in e_ddi_branch_unconfigure()
9791 rv = ndi_devi_unconfig_one(pdip, devnm+1, dipp, nflags); in e_ddi_branch_unconfigure()
9793 rv = e_ddi_devi_unconfig(rdip, dipp, nflags); in e_ddi_branch_unconfigure()
9796 rv = ndi_devi_offline(rdip, nflags); in e_ddi_branch_unconfigure()
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c225 int nflags, in fop_setfl() argument