/illumos-gate/usr/src/boot/sys/sys/ |
H A D | time.h | 54 time_t sec; member in struct:bintime 66 _bt->sec++; 77 _bt->sec++; 78 _bt->sec += _bt2->sec; 89 _bt->sec--; 90 _bt->sec -= _bt2->sec; 100 _bt->sec *= _x; 101 _bt->sec [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | part.c | 258 int pri, sec; local 275 pri = sec = 0; 321 sec = 1; 325 if (pri == 0 && sec == 0) {
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | biosdisk.c | 507 u_int x, bpc, cyl, hd, sec; local 514 sec = x % BD(dev).bd_sec; /* offset into track */ 517 sec++; 529 v86.ecx = ((cyl & 0xff) << 8) | ((cyl & 0x300) >> 2) | sec; 540 u_int x, sec, result, resid, retry, maxfer; local 582 sec = dblk % BD(dev).bd_sec; /* offset into track */ 583 x = min(BD(dev).bd_sec - sec, resid);
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http.c | 1522 int hour, min, sec; /* Time */ local 1525 if (sscanf(s, "%*s%d%15s%d%d:%d:%d", &day, mon, &year, &hour, &min, &sec) < 6) 1540 tdate.tm_sec = sec;
|
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/ |
H A D | fmd_msg.c | 1276 time_t sec; local 1302 &tv, &tn) == 0 && tn == 2 && (sec = (time_t)tv[0]) != (time_t)-1 && 1303 (tmp = localtime_r(&sec, &tm)) != NULL)
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_connect.c | 1716 int sec = 1; local 1906 if (sec < LDAPMAXHARDLOOKUPTIME) 1907 sec *= 2; 1908 (void) sleep(sec);
|
/illumos-gate/usr/src/lib/libdlpi/common/ |
H A D | libdlpi.c | 903 dlpi_set_timeout(dlpi_handle_t dh, int sec) argument 910 dip->dli_timeout = sec;
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | history.c | 1312 unsigned year,month,day,hour,min,sec; /* Calendar time components */ local 1345 &sec) != 6) { 1356 t.tm_sec = sec;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/watchdog/ |
H A D | piclwatchdog.c | 531 time_t sec; local 639 sec = sleep_time/1000; 640 nano_sec = (sleep_time - (sec * 1000)) * 1000000; 660 to.tv_sec = tp.tv_sec + sec; 1819 /* 255 sec */
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | wpa.c | 246 int sec; local 250 sec = wpa_s->pmksa->expiration - time(NULL); 251 if (sec < 0) 252 sec = 0; 253 (void) eloop_register_timeout(sec + 1, 0, pmksa_cache_expire,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rdisc.c | 353 time_t sec; local 379 sec = (now.tv_sec - drp->dr_life + 381 if (drp->dr_ts > sec) { 385 drp->dr_ts = sec;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_display.c | 572 time_t sec; local 580 sec = getxdr_long(); 582 if (sec == -1) 585 if (sec < 3600 * 24 * 365) { /* assume not a date */ 586 (void) sprintf(buff, "%d.%06d", sec, usec); 588 tmp = gmtime(&sec); 612 time_t sec, nsec; local 614 sec = getxdr_long(); 616 if (sec == -1) 619 return (format_time(sec, nse 626 format_time(int64_t sec, uint32_t nsec) argument 670 time_t sec; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky.c | 153 hrtime_t sec = ts / (hrtime_t)NANOSEC; local 170 30, "elapsed wall time", sec, (nsec * 10)/(hrtime_t)NANOSEC);
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_mdb.c | 1203 uint_t sec = 0; local 1215 if (mdb_walk("fcf_sec", (mdb_walk_cb_t)fcf_sec_one, &sec) < 0) {
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | fake_shdr.c | 773 * sec - Section to be processed (SINFO_T_VERDEF or SINFO_T_VERNEED). 776 * On success, sec->size is set to the section size in bytes, and 780 verdefneed_size(FSTATE *fstate, SINFO *sec) argument 788 size_t num_main = sec->vercnt; 797 if (sec->type == SINFO_T_VERDEF) { 818 offset = highwater = map_addr_to_offset(fstate, sec->vaddr, 822 sec->size = offset; 849 sec->size = highwater - sec->size; 861 * sec 873 get_data(FSTATE *fstate, SINFO *sec) argument 1113 } sec; local [all...] |
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | cap.c | 124 elfedit_section_t *sec; /* Capabilities section reference */ member in struct:__anon1489::__anon1490 132 elfedit_section_t *sec; member in struct:__anon1489::__anon1491 160 if (argstate->str.sec != NULL) 167 if (argstate->cap.sec->sec_shdr->sh_info == 0) { 171 EC_WORD(argstate->cap.sec->sec_shndx), 172 argstate->cap.sec->sec_name); 176 argstate->str.sec = elfedit_sec_getstr(argstate->obj_state, 177 argstate->cap.sec->sec_shdr->sh_info, 0); 229 return (elfedit_offset_to_str(argstate->str.sec, 261 EC_WORD(argstate->cap.sec [all...] |
H A D | phdr.c | 74 elfedit_section_t *sec; /* Section containing string */ member in struct:__anon1504 315 interp->sec = strsec; 423 interp.sec->sec_name, interp.str); 526 strsec = interp.sec;
|
H A D | shdr.c | 234 elfedit_section_t *sec = &argstate->obj_state->os_secarr[ndx]; local 235 Shdr *shdr = sec->sec_shdr; 244 if (strcmp(sec->sec_name, ref_sec->sec_name) != 0) 257 sec->sec_name); 258 Elf_shdr(NULL, osabi, mach, sec->sec_shdr); 309 sec->sec_name); 746 * All of the commands accept the same first argument (sec) that 756 elfedit_section_t *sec; local 775 sec = obj_state->os_secarr; 776 for (ndx = 0; ndx < obj_state->os_shnum; ndx++, sec 813 elfedit_section_t *sec; local [all...] |
H A D | sym.c | 152 elfedit_section_t *sec; member in struct:__anon1522::__anon1523 157 elfedit_section_t *sec; member in struct:__anon1522::__anon1524 161 elfedit_section_t *sec; member in struct:__anon1522::__anon1525 167 elfedit_section_t *sec; member in struct:__anon1522::__anon1526 206 if (symstate->str.sec != NULL) 209 symstate->str.sec = elfedit_sec_getstr(argstate->obj_state, 210 symstate->sym.sec->sec_shdr->sh_link, 0); 215 if (symstate->versym.sec != NULL) 218 symstate->versym.sec = elfedit_sec_getversym(argstate->obj_state, 219 symstate->sym.sec, 1503 elfedit_section_t *sec = local 1544 elfedit_section_t *sec; local [all...] |
/illumos-gate/usr/src/cmd/itadm/ |
H A D | itadm.c | 65 #define ITADM_CHKAUTH(sec) {\ 66 if (!chkauthattr(sec, itadm_uname)) {\ 69 sec);\ 654 char *sec = "solaris.smf.modify.stmf"; local 657 ITADM_CHKAUTH(sec); 825 char *sec = "solaris.smf.read.stmf"; local 832 ITADM_CHKAUTH(sec); 995 char *sec = "solaris.smf.modify.stmf"; local 997 ITADM_CHKAUTH(sec); 1071 char *sec local 1311 char *sec = "solaris.smf.modify.stmf"; local 1435 char *sec = "solaris.smf.read.stmf"; local 1533 char *sec = "solaris.smf.modify.stmf"; local 1594 char *sec = "solaris.smf.modify.stmf"; local 1730 char *sec = "solaris.smf.read.stmf"; local 1819 char *sec = "solaris.smf.modify.stmf"; local 1867 char *sec = "solaris.smf.modify.stmf"; local 1943 char *sec = "solaris.smf.read.stmf"; local [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/ |
H A D | pkgserv.c | 1238 my_cond_reltimedwait(hrtime_t delta, int sec) argument 1240 hrtime_t wait = sec * LLNANOSEC - delta;
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_srv.c | 345 struct sec_ol sec = {0, 0}; local 416 &sec); 439 if (sec.sec_flags & SEC_QUERY) 441 sec.sec_index);
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | nl7chttp.c | 222 ssize_t sec; local 415 sec = n; 536 sec = n; 580 + hour) * 60 + min) * 60 + sec; 605 ssize_t sec; local 610 sec = now % 60; 685 i = sec / 10; 687 *cp++ = '0' + (sec - i * 10);
|
/illumos-gate/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 1082 int year, month, day, hour, minute, sec, gmtoff; local 1089 sec = HDE_DATE_SEC(dp); 1098 tvp->tv_sec += ((hour * 60) + minute) * 60 + sec; 1117 int year, month, day, hour, minute, sec, gmtoff; local 1124 sec = HSV_DATE_SEC(dp); 1133 tvp->tv_sec += ((hour * 60) + minute) * 60 + sec;
|
/illumos-gate/usr/src/uts/common/io/ipw/ |
H A D | ipw2100.c | 737 struct ipw2100_security sec; local 924 (void) memset(&sec, 0, sizeof (sec)); 928 sec.authmode = (ic->ic_bss->in_authmode == WL_SHAREDKEY) ? 930 sec.ciphers = LE_32(IPW2100_CIPHER_NONE); 932 "ipw2100_config(): Setting authmode to %u\n", sec.authmode)); 934 &sec, sizeof (sec));
|