/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | iso.multibyte.c | 295 /* current mode is G1 mode */ 311 /* current mode is G0 mode */ 422 unsigned short mode; local 443 mode = pwc & G3MASK; /* The mode of this character */ 456 switch (mode) { 472 switch (mode) { 620 switch (mode) { [all...] |
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | _open.c | 70 open_com(char *path, int flags, int mode) argument 105 return (_syscall(SYS_openat, AT_FDCWD, locbuf, nflags, mode)); 109 return (open_mnt("/etc/mnttab", "mtab", nflags, mode)); 112 return (open_mnt("/etc/vfstab", "fstab", nflags, mode)); 115 if ((fd = _syscall(SYS_openat, AT_FDCWD, path, nflags, mode)) 124 AT_FDCWD, "/var/adm/utmpx", nflags, mode); 132 AT_FDCWD, "/var/adm/wtmpx", nflags, mode); 138 return (_syscall(SYS_openat, AT_FDCWD, path, nflags, mode)); 142 open_mnt(char *fname, char *tname, int flags, int mode) argument 297 _fopen(char *file, char *mode) argument [all...] |
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | base_conversion.h | 225 int status, mode; member in struct:__anon2904
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | attrat.c | 146 xattr_openat(int basefd, xattr_view_t view, int mode) argument 157 oflag = mode & O_RDWR; 163 if (mode & O_XATTR)
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | pos4obj.c | 58 __open_nc(const char *path, int oflag, mode_t mode) argument 76 val = open64(path, oflag, mode); 289 * to ensure that both open in O_CREAT mode happen atomically. 294 mode_t mode, int *crflag) 307 if ((fd = __open_nc(dfile, oflag, mode)) == -1) 325 if ((fd = __open_nc(dfile, (oflag | O_EXCL), mode)) == -1) { 327 fd = __open_nc(dfile, oflag & ~O_CREAT, mode); 293 __pos4obj_open(const char *name, char *type, int oflag, mode_t mode, int *crflag) argument
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | cat.c | 402 char* mode; local 410 mode = "r"; 426 mode = opt_info.num ? "rt" : "r"; 523 sfopen(fp, NiL, mode); 525 else if (!(fp = sfopen(NiL, cp, mode)))
|
H A D | cksum.c | 52 "[b:binary?Read files in binary mode. This is the default.]" 61 " then the file mode, user and group are also checked. Empty lines," 74 " mode, user and group between the checksum and path. User and group" 76 " specified then the mode, user and group for each path in \afile\a" 88 "[T:text?Read files in text mode (i.e., treat \b\\r\\n\b as \b\\n\b).]" 128 int permissions; /* include mode,uer,group */ 145 * open path for read mode 149 openfile(const char* path, const char* mode) argument 156 sfopen(sp, NiL, mode); 158 else if (!(sp = sfopen(NiL, path, mode))) 264 int mode; local [all...] |
H A D | wclib.c | 57 Wc_t* wc_init(int mode) argument 68 else if (!(mode & WC_NOUTF8) && (lcinfo(LC_CTYPE)->lc->flags & LC_utf8)) 73 w = mode & WC_WORDS; 77 if ((mode & (WC_MBYTE|WC_WORDS)) && wp->mb > 0) 98 wp->mode = mode; 185 if (wp->mb < 0 && (wp->mode & (WC_MBYTE|WC_WORDS))) 230 if (x == -1 && eline != nlines && !(wp->mode & WC_QUIET)) 252 if (!(wp->mode & WC_MBYTE)) 255 else if (!wp->mb && !(wp->mode [all...] |
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_sunoem.c | 44 uint8_t ic_sls_mode; /* LED mode */ 136 uint8_t mode) 148 cmd.ic_sls_mode = mode; 157 uint8_t *mode) 172 return (ipmi_send_sunoem_led_get(ihp, &cmd, mode)); 135 ipmi_sunoem_led_set(ipmi_handle_t *ihp, ipmi_sdr_generic_locator_t *dev, uint8_t mode) argument 156 ipmi_sunoem_led_get(ipmi_handle_t *ihp, ipmi_sdr_generic_locator_t *dev, uint8_t *mode) argument
|
/illumos-gate/usr/src/grub/grub-0.97/stage1/ |
H A D | stage1.S | 43 in real mode. */ 68 mode: label 191 /* set the mode to non-zero */ 252 /* set the mode to zero */ 416 * Use BIOS "int 10H Function 0Eh" to write character in teletype mode
|
/illumos-gate/usr/src/head/ |
H A D | pkgstrct.h | 58 mode_t mode; member in struct:ainfo
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_tape.c | 55 static boolean_t validmode(int mode); 114 int mode; local 126 } else if (request->mode != NDMP_TAPE_READ_MODE && 127 request->mode != NDMP_TAPE_WRITE_MODE && 128 request->mode != NDMP_TAPE_RAW1_MODE) { 182 * If mode is set to this value, tape_open() won't fail if 185 if (request->mode != NDMP_TAPE_RAW1_MODE && 192 mode = (request->mode == NDMP_TAPE_READ_MODE) ? O_RDONLY : O_RDWR; 193 mode | 1169 validmode(int mode) argument 1207 int mode; local [all...] |
H A D | ndmpd_callbacks.c | 1071 * mode (input) - bitmask of the following: 1076 * conditions specified by mode. 1084 ulong_t mode, ndmpd_file_handler_func_t *func) 1088 return (ndmpd_add_file_handler(session, cookie, fd, mode, HC_MODULE, 1083 ndmpd_api_add_file_handler(void *daemon_cookie, void *cookie, int fd, ulong_t mode, ndmpd_file_handler_func_t *func) argument
|
H A D | ndmpd_log.c | 125 openlogfile(char *fname, char *mode) argument 128 mode != NULL && *mode != '\0'); 130 if ((logfp = fopen(fname, mode)) == NULL) { 191 * Open the log file either for append or write mode. This function should 197 char *fname, *mode, *lpath; local 257 mode = "w"; 259 mode = "a"; 261 return (openlogfile(fname, mode));
|
/illumos-gate/usr/src/cmd/pwconv/ |
H A D | pwconv.c | 104 mode_t mode; local 164 /* mode for the password file should be read-only or less */ 178 /* default mode mask of the shadow file */ 179 mode = S_IAMB & ~(S_IRUSR); 182 /* if the shadow file exists, get mode mask and group id of the file */ 188 mode = S_IAMB & ~(buf.st_mode & S_IRUSR); 202 * get the mode of shadow password file -- mode of the file should 205 (void) umask(mode); 460 /* Make new mode sam [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | rstp.c | 225 set_hardware_mode(int vlan_id, UID_STP_MODE_T mode) argument 228 syslog(LOG_DEBUG, "setting hardware mode on vlan %d to %d", 229 vlan_id, mode);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nfs.c | 525 detail_mode(mode) 526 int mode; 530 switch (mode & S_IFMT) { 541 (void) sprintf(get_line(0, 0), "Mode = 0%o", mode); 545 (mode & S_ISUID) != 0, 546 (mode & S_ISGID) != 0, 547 (mode & S_ISVTX) != 0); 549 perms(mode >> 6 & 0x7)); 551 perms(mode >> 3 & 0x7)); 553 perms(mode 559 int fltype, mode, nlinks, uid, gid, size, blksz; local 595 int mode; local [all...] |
H A D | snoop_ntp.c | 41 * In verbose mode, how many octets of the control-mode data payload 232 /* NTP Control Message, mode 6 */ 314 /* NTP Private Message, mode 7 */ 364 /* Unknown mode */ 389 show_mode(int mode) argument 391 switch (mode) { 405 show_ref(int mode, ulong_t refid) argument 411 switch (mode) {
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.exp.c | 56 * given by mode. 66 chk_access(tchar *path, mode_t mode) argument 83 if (access((char *)name, 010|(mode>>6)) == 0) { 85 if (ftype != S_IFREG || mode != S_IEXEC)
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_fdio.c | 125 int flags, mode_t mode) 138 fd = open64(buf, flags, mode); 147 fd = open64(fname, flags, mode); 299 * If we are operating on a disk in raw mode, we must do our own 124 mdb_fdio_create_path(const char *path[], const char *fname, int flags, mode_t mode) argument
|
H A D | mdb_module.c | 99 mdb_module_create(const char *name, const char *fname, int mode, argument 105 int dlmode = (mode & MDB_MOD_GLOBAL) ? RTLD_GLOBAL : RTLD_LOCAL; 125 if (!(mode & MDB_MOD_BUILTIN)) { 289 if (mdb_module_add_dcmd(mod, dcp, mode) == -1) 294 if (mdb_module_add_walker(mod, wp, mode) == -1) 580 mdb_module_unload_all(int mode) argument 591 (void) mdb_module_unload(mod->mod_name, mode);
|
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kmdb_promif_isadep.c | 204 int valid, mode; local 211 if (prom_translate_virt((caddr_t)vabase, &valid, &pa, &mode) != 0)
|
/illumos-gate/usr/src/cmd/fcinfo/ |
H A D | printAttrs.c | 213 HBA_ADAPTERATTRIBUTES *attrs, int mode) { 220 (mode == INITIATOR_MODE) ? "Initiator" : "Target"); 212 printHBAPortInfo(HBA_PORTATTRIBUTES *port, HBA_ADAPTERATTRIBUTES *attrs, int mode) argument
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | action.c | 385 * code will still behave properly in notouch mode (when restats 392 int mode, maj, min, type; local 438 mode = sp->f_mode; /* modes for the new file */ 461 if (dp->f_mode != mode) 543 fprintf(stdout, " chmod %o %s;\n", mode, noblanks(dst)); 554 rc = opt_notouch ? 0 : mkdir(dst, mode); 561 dp->f_mode = mode; 609 : mknod(dst, mode|type, makedev(maj, min)); 618 if (dp->f_mode != mode) 689 dp->f_mode = mode; 1064 copy(char *src, char *dst, int mode) argument [all...] |
H A D | base.c | 890 * to convert between a file type (as found in a mode word) 894 * mode word -> character 895 * character -> mode word 899 static char showtype(int mode) argument 901 return (types[ (mode & S_IFMT) >> 12 ]);
|