Searched defs:sec (Results 51 - 75 of 146) sorted by relevance

123456

/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dsections.c348 conv_sec_type(uchar_t osabi, Half mach, Word sec, Conv_fmt_flags_t fmt_flags, argument
351 return (conv_map_ds(osabi, mach, sec,
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c314 uint32_t sec = startsec; local
315 uint32_t lastsec = sec + 1;
322 while (sec != lastsec) {
323 if (pread(fd, buf, bufsize, (off_t)sec * secsz) != bufsize) {
326 lastsec = sec;
334 relsect = sec + ltohi(ipart[i].relsect);
339 if (is_dos_extended(systid) && (sec == lastsec)) {
340 sec = startsec + ltohi(ipart[i].relsect);
342 relsect = startsec = sec;
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_alloc.c1016 rela_free(struct Dwarf_Section_s * sec) argument
1018 if (sec->dss_data_was_malloc) {
1019 free(sec->dss_data);
1021 sec->dss_data = 0;
1022 sec->dss_data_was_malloc = 0;
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_health.c188 int sec = 0; local
268 if (!ip->isprimary && down && ++sec == 5) {
269 sec = 0;
/illumos-gate/usr/src/cmd/format/
H A Dlabel.c273 int error = 0, head, sec; local
359 "%s cyl %d alt %d hd %d sec %d",
448 for (sec = 1; ((sec < BAD_LISTCNT * 2 + 1) && (sec < nsect));
449 sec += 2) {
451 ((chs2bn(ncyl + acyl - 1, head, sec))
H A Dmenu_command.c445 fmt_print("<%s cyl %d alt %d hd %d sec %d>\n",
754 fmt_print("<%s cyl %d alt %d hd %d sec %d>\n",
770 fmt_print("%s cyl %d alt %d hd %d sec %d",
1053 * 20% done tick (sec)
1864 int sec, head, i; local
1922 for (sec = 1; ((sec < BAD_LISTCNT * 2 + 1) && (sec < nsect));
1923 sec += 2) {
1924 bn = chs2bn(ncyl + acyl - 1, head, sec)
2109 int sec, head, i, status; local
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dmansearch.h86 int sec; /* section number, 10 means invalid */ member in struct:manpage
92 const char *sec; /* mansection/NULL */ member in struct:mansearch
H A Dmain.c130 const char *sec; local
265 search.sec = optarg;
339 search.sec = (char *)uc;
417 sec = res[i].file;
418 sec += strcspn(sec, "123456789");
419 if (sec[0] == '\0')
421 prio = sec_prios[sec[0] - '1'];
422 if (sec[1] != '/')
630 const char *sec, cons
629 fs_lookup(const struct manpaths *paths, size_t ipath, const char *sec, const char *arch, const char *name, struct manpage **res, size_t *ressz) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c350 int flags, sec; local
530 sec = STRUCT_FGET(args, acregmin);
531 if (sec < 0 || sec > SMBFS_ACMINMAX)
532 sec = SMBFS_ACMINMAX;
533 smi->smi_acregmin = SEC2HR(sec);
536 sec = STRUCT_FGET(args, acregmax);
537 if (sec < 0 || sec > SMBFS_ACMAXMAX)
538 sec
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsvcctl_scm.c151 int64_t sec; local
153 r = scf_value_get_time(mgr_ctx->mc_scf_gval, &sec, &ns);
154 ((struct timeval *)vp)->tv_sec = sec;
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.c1865 sa_security_t sec; local
1907 for (sec = sa_get_security(share, NULL, NULL);
1908 sec != NULL;
1909 sec = sa_get_next_security(sec)) {
1912 proto = sa_get_security_attr(sec, "type");
1913 sectype = sa_get_security_attr(sec, "sectype");
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_dof.c924 dof_sec_t *sec; local
949 sec = (dof_sec_t *)((uintptr_t)dof + sizeof (dof_hdr_t));
950 sec->dofs_type = DOF_SECT_OPTDESC;
951 sec->dofs_align = sizeof (uint64_t);
952 sec->dofs_flags = DOF_SECF_LOAD;
953 sec->dofs_entsize = sizeof (dof_optdesc_t);
955 dofo = (dof_optdesc_t *)((uintptr_t)sec +
958 sec->dofs_offset = (uintptr_t)dofo - (uintptr_t)dof;
959 sec->dofs_size = sizeof (dof_optdesc_t) * nopts;
H A Ddt_options.c708 { "sec", NANOSEC / SEC },
861 dof_sec_t *sec; local
889 sec = (dof_sec_t *)(uintptr_t)((uintptr_t)dof +
892 if (sec->dofs_type != DOF_SECT_OPTDESC)
898 for (offs = 0; offs < sec->dofs_size; offs += sec->dofs_entsize) {
900 ((uintptr_t)dof + sec->dofs_offset + offs);
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c1001 sec,
1009 if ((sec = tm -> tm_sec) < 0 || sec > 59
1031 result = 60 * result + sec;
1000 sec, local
/illumos-gate/usr/src/cmd/vrrpadm/
H A Dvrrpadm.c733 int sec, msec, min; local
736 sec = mill / 1000;
737 min = sec > 60 ? sec / 60 : 0;
738 sec %= 60;
741 (void) snprintf(str, len, "%4dm%2ds", min, sec);
743 (void) snprintf(str, len, "%4d.%03ds", sec, msec);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa_supplicant.c146 wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec) argument
148 wpa_printf(MSG_DEBUG, "Setting scan request: %d sec %d usec",
149 sec, usec);
151 (void) eloop_register_timeout(sec, usec, wpa_supplicant_scan,
177 int sec, int usec)
179 wpa_printf(MSG_DEBUG, "Setting authentication timeout: %d sec "
180 "%d usec", sec, usec);
182 (void) eloop_register_timeout(sec, usec, wpa_supplicant_timeout,
176 wpa_supplicant_req_auth_timeout(struct wpa_supplicant *wpa_s, int sec, int usec) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop.c485 * to 1/10 sec. A higher value
569 int sec, usec; local
593 sec = tvp->tv_sec - ptvp->tv_sec;
597 sec -= 1;
599 (void) sprintf(lp, "%3d.%05d ", sec, usec / 10);
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddof.c587 dof_sec_walk(uintptr_t addr, void *ignored, int *sec) argument
589 mdb_printf("%3d ", (*sec)++);
611 int sec = 0; local
614 (mdb_walk_cb_t)dof_sec_walk, &sec) == -1) {
804 dof_sect_strtab(uintptr_t addr, dof_sec_t *sec) argument
809 sz = (size_t)sec->dofs_size;
811 if (mdb_vread(strtab, sz, addr + sec->dofs_offset) != sz) {
831 dof_sect_provider(dof_hdr_t *dofh, uintptr_t addr, dof_sec_t *sec, argument
843 sz = MIN(sec->dofs_size, sizeof (dof_provider_t));
844 if (mdb_vread(&pv, sz, addr + sec
963 dof_sect_prargs(uintptr_t addr, dof_sec_t *sec) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c121 elfedit_section_t *sec = obj_state->os_secarr; local
125 for (ndx = 0; ndx < shnum; ndx++, sec++) {
126 if (strcmp(shnam, sec->sec_name) == 0) {
129 EC_WORD(sec->sec_shndx), sec->sec_name, shnam);
157 elfedit_section_t *sec = obj_state->os_secarr; local
161 for (ndx = 0; ndx < shnum; ndx++, sec++) {
162 if (shtype == sec->sec_shdr->sh_type) {
165 EC_WORD(sec->sec_shndx), sec
300 elfedit_section_t *sec; local
502 elfedit_sec_issymtab(elfedit_obj_state_t *obj_state, elfedit_section_t *sec, int issue_err, elfedit_atoui_sym_t **atoui_list) argument
808 elfedit_sec_findstr(elfedit_section_t *sec, Word tail_ign, const char *str, Word *ret_offset) argument
1210 elfedit_sec_msgprefix(elfedit_section_t *sec) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dstr.c97 STR_OPT_F_ANY = 1, /* -any: treat any sec. as strtab */
119 elfedit_section_t *sec; member in struct:__anon1515::__anon1516
123 elfedit_section_t *sec; member in struct:__anon1515::__anon1517
330 argstate->str.sec = elfedit_sec_get(obj_state, ndx);
345 argstate->str.sec = elfedit_sec_getstr(obj_state, ndx, 1);
355 argstate->dyn.sec = NULL;
362 (argstate->str.sec->sec_shndx ==
364 argstate->dyn.sec = elfedit_sec_getdyn(obj_state,
375 argstate->str.sec->sec_data->d_size)) {
379 EC_WORD(argstate->str.sec
752 elfedit_section_t *sec; local
822 elfedit_section_t *sec; local
[all...]
H A Dsyminfo.c116 elfedit_section_t *sec; member in struct:__anon1532::__anon1533
121 elfedit_section_t *sec; member in struct:__anon1532::__anon1534
126 elfedit_section_t *sec; member in struct:__anon1532::__anon1535
129 elfedit_section_t *sec; member in struct:__anon1532::__anon1536
189 argstate->syminfo.sec = elfedit_sec_getsyminfo(obj_state,
219 if (argstate->sym.sec != NULL)
222 argstate->sym.sec = elfedit_sec_getsymtab(argstate->obj_state,
223 1, argstate->syminfo.sec->sec_shdr->sh_link, NULL,
229 if (argstate->str.sec != NULL)
233 argstate->str.sec
[all...]
/illumos-gate/usr/src/cmd/acct/
H A Dacctcom.c593 * arg has form hr:min:sec, min or sec are assumed to be 0 if omitted
599 long hr, min, sec; local
601 min = sec = 0;
603 if(sscanf(str, "%ld:%ld:%ld", &hr, &min, &sec) < 1) {
607 sec += (min*60);
608 sec += (hr*3600);
609 return(sec + timezone);
719 diag("-O sec \tshow processes that exceed CPU system time sec");
[all...]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dsyms.c640 const char *sec, const char *poststr)
655 if (sec == NULL)
656 sec = conv_sym_shndx(osabi, mach, sym->st_shndx,
665 sec, Elf_demangle_name(poststr));
638 Elf_syms_table_entry(Lm_list *lml, int caller, const char *prestr, uchar_t osabi, Half mach, Sym *sym, Versym verndx, int gnuver, const char *sec, const char *poststr) argument
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_io.c202 uint32_t sec; member in struct:__anon4549
218 tv.sec = (uint32_t)time->tv_sec;
/illumos-gate/usr/src/uts/common/os/
H A Dtimers.c90 time_t sec; local
115 sec = ts.tv_sec;
129 else if ((sec <= last.tv_sec) && /* same or lower seconds, and */
130 ((sec != last.tv_sec) || /* either different second or */
132 ((last.tv_sec - sec) <= 5)) { /* not way back in time */
133 sec = last.tv_sec;
137 sec++;
140 last.tv_sec = sec;
144 tv->tv_sec = sec;
800 itp->it_value.tv_usec = 0; /* sec i
898 time_t sec; local
944 int64_t sec; local
1175 uint32_t sec, nsec, tmp; local
1249 uint32_t sec, nsec, tmp; local
[all...]

Completed in 127 milliseconds

123456