/titanic_50/usr/src/cmd/sendmail/aux/ |
H A D | editmap.c | 95 int smode; local 278 smode = S_IRUSR; 284 smode = S_IWUSR; 289 errno = smdb_open_database(&database, mapname, mode, smode, sff,
|
H A D | makemap.c | 98 int smode; local 308 smode = S_IRUSR; 318 smode = S_IWUSR; 323 errno = smdb_open_database(&database, mapname, mode, smode, sff,
|
/titanic_50/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 692 int smode; local 705 smode = S_IREAD; 709 smode = S_IWRITE; 713 smode = S_IREAD|S_IWRITE; 717 smode = 0; 722 sff, smode, &stb); 725 sff, smode, &stb);
|
/titanic_50/usr/src/cmd/backup/restore/ |
H A D | utilities.c | 753 safe_fopen(const char *filename, const char *smode, int perms) 761 if (smode[0] == 'r') { 762 if (smode[1] == '\0') { 764 } else if ((smode[1] == '+') && (smode[2] == '\0')) { 767 } else if ((smode[0] == 'w') && (smode[1] == '\0')) { 772 smode); 782 return (fdopen(fd, smode));
|
H A D | restore.h | 291 extern FILE *safe_fopen(const char *filename, const char *smode, int perms);
|
/titanic_50/usr/src/cmd/backup/dump/ |
H A D | dumpmain.c | 1595 safe_fopen(const char *filename, const char *smode, int perms) in safe_fopen() argument 1603 if (smode[0] == 'r') { in safe_fopen() 1604 if (smode[1] == '\0') { in safe_fopen() 1606 } else if ((smode[1] == '+') && (smode[2] == '\0')) { in safe_fopen() 1609 } else if ((smode[0] == 'w') && (smode[1] == '\0')) { in safe_fopen() 1613 smode); in safe_fopen() 1623 return (fdopen(fd, smode)); in safe_fopen()
|
H A D | dump.h | 279 extern FILE *safe_fopen(const char *filename, const char *smode, int perms);
|
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | vsw.c | 1023 char *smode = NULL; in vsw_get_md_smodes() local 1035 (uint8_t **)(&smode), &len) != 0) { in vsw_get_md_smodes() 1045 curr_mode = smode; in vsw_get_md_smodes() 1055 while (curr_mode < (smode + len)) { in vsw_get_md_smodes() 1763 if (vsw_get_md_smodes(vswp, mdp, node, &vswp->smode)) { in vsw_get_initial_md_properties() 1768 vswp->smode = VSW_LAYER2; in vsw_get_initial_md_properties() 2229 if (new_smode != vswp->smode) { in vsw_update_md_prop() 2231 __func__, vswp->smode, new_smode); in vsw_update_md_prop() 2303 if (vswp->smode & VSW_LAYER2) { in vsw_update_md_prop() 2349 vswp->smode = new_smode; in vsw_update_md_prop()
|
H A D | vsw_switching.c | 304 if (vswp->smode & VSW_LAYER2) { in vsw_setup_switching() 306 } else if (vswp->smode & VSW_LAYER3) { in vsw_setup_switching() 321 vswp->smode); in vsw_setup_switching() 684 if (vswp->smode & VSW_LAYER2) { in vsw_setup_switching_post_process() 724 if ((vswp->smode & VSW_LAYER2) && in vsw_forward_all() 812 if ((vswp->smode & VSW_LAYER2) && in vsw_forward_grp()
|
H A D | vsw_phys.c | 632 if (vswp->smode == VSW_LAYER3) in vsw_set_hw() 663 if (vswp->smode == VSW_LAYER3) in vsw_unset_hw() 708 if (!(vswp->smode & VSW_LAYER2_PROMISC)) { in vsw_set_port_hw_addr() 783 if (!(vswp->smode & VSW_LAYER2_PROMISC)) { in vsw_set_if_hw_addr()
|
H A D | vsw_ldc.c | 2697 if (vswp->smode & VSW_LAYER2) { in vsw_process_attr_info()
|
/titanic_50/usr/src/uts/sun4v/sys/ |
H A D | vsw.h | 127 uint8_t smode; /* switching mode */ member
|
/titanic_50/usr/src/cmd/sendmail/src/ |
H A D | map.c | 1418 int smode = S_IREAD; local 1450 smode = S_IWRITE; 1460 sff, smode, &std); 1463 sff, smode, &stp); 2008 int smode = S_IREAD; variable 2048 smode = S_IWRITE; 2057 i = safefile(buf, RunAsUid, RunAsGid, RunAsUserName, sff, smode, &st);
|