Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 25 of 326) sorted by path

12345678910>>...14

/illumos-gate/usr/src/boot/common/
H A Disapnp.c73 int cur, i; in isapnp_send_Initiation_LFSR() local
79 cur = 0x6a; in isapnp_send_Initiation_LFSR()
80 outb(_PNP_ADDRESS, cur); in isapnp_send_Initiation_LFSR()
83 cur = (cur >> 1) | (((cur ^ (cur >> 1)) << 7) & 0xff); in isapnp_send_Initiation_LFSR()
84 outb(_PNP_ADDRESS, cur); in isapnp_send_Initiation_LFSR()
/illumos-gate/usr/src/boot/efi/loader/
H A Dmemmap.c79 struct smap_buf *cur, *next; in efi_getsmap() local
142 STAILQ_FOREACH(cur, &head, sb_bufs) in efi_getsmap()
143 smapbase[n++] = cur->sb_smap; in efi_getsmap()
145 cur = STAILQ_FIRST(&head); in efi_getsmap()
146 while (cur != NULL) { in efi_getsmap()
147 next = STAILQ_NEXT(cur, sb_bufs); in efi_getsmap()
148 free(cur); in efi_getsmap()
149 cur = next; in efi_getsmap()
/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiossmap.c61 struct smap_buf *cur, *next; in bios_getsmap() local
98 STAILQ_FOREACH(cur, &head, bufs) in bios_getsmap()
99 smapbase[n++] = cur->smap; in bios_getsmap()
105 STAILQ_FOREACH(cur, &head, bufs) in bios_getsmap()
106 smapattr[n++] = cur->xattr & in bios_getsmap()
111 cur = STAILQ_FIRST(&head); in bios_getsmap()
112 while (cur != NULL) { in bios_getsmap()
113 next = STAILQ_NEXT(cur, bufs); in bios_getsmap()
114 free(cur); in bios_getsmap()
115 cur = next; in bios_getsmap()
/illumos-gate/usr/src/boot/libsa/
H A Dpkgfs.c713 if (cur == NULL) { in scan_tarfile()
740 cur = malloc(sizeof(*cur)); in scan_tarfile()
741 if (cur == NULL) in scan_tarfile()
743 memset(cur, 0, sizeof(*cur)); in scan_tarfile()
744 cur->tf_pkg = pkg; in scan_tarfile()
749 free(cur); in scan_tarfile()
758 free(cur); in scan_tarfile()
764 cur->tf_size = pkg_atol(cur->tf_hdr.ut_size, in scan_tarfile()
773 ofs = cur->tf_ofs + cur->tf_size; in scan_tarfile()
777 free(cur); in scan_tarfile()
[all …]
/illumos-gate/usr/src/cmd/acct/lib/
H A Dpnpsplit.c85 struct tm cur, end, hours; in pnpsplit() local
102 memcpy(&cur, localtime(&tcur), sizeof(cur)); in pnpsplit()
103 sameday = cur.tm_yday == end.tm_yday; in pnpsplit()
104 if (ssh(&cur)) { /* ssh:only NONPRIME */ in pnpsplit()
110 tmp = tmsecs(&cur, &daysend); in pnpsplit()
115 for (hp = h; tmless(hp, &cur); hp++); in pnpsplit()
126 tmp = tmsecs(&cur, &hours); in pnpsplit()
129 cur.tm_sec = hp->h_sec; in pnpsplit()
130 cur.tm_min = hp->h_min; in pnpsplit()
131 cur.tm_hour = hp->h_hour; in pnpsplit()
/illumos-gate/usr/src/cmd/acctadm/
H A Dres.c349 ac_res_t *buf, *cur; in buf2str() local
384 for (cur = buf; cur->ar_id != AC_NONE; cur++) { in buf2str()
385 if (cur->ar_state == state) { in buf2str()
388 if (id2name(cur->ar_id, type) == NULL) in buf2str()
390 ac_type_name(type), cur->ar_id); in buf2str()
391 (void) strcat(str, id2name(cur->ar_id, type)); in buf2str()
H A Dutils.c154 struct stat cur; in open_exacct_file() local
163 stat(file, &new) != -1 && stat(name, &cur) != -1 && in open_exacct_file()
164 new.st_dev == cur.st_dev && new.st_ino == cur.st_ino) in open_exacct_file()
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen4.c50 char *cur, *last, *cp1, *cp2, *ep, *t; in main() local
55 cur = buf2; in main()
56 while (gets(cur) != NULL) { in main()
57 if (goodstart(cur) && goodstart(last)) { in main()
62 cp1 = cur + 2; in main()
111 t = cur; in main()
112 cur = last; in main()
/illumos-gate/usr/src/cmd/bhyve/
H A Dnet_backends.c816 ring->head = ring->cur = head; in netmap_send()
905 ring->head = ring->cur = head; in netmap_recv()
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dutil.c77 xmlNodePtr cur, node; in load_policies() local
92 cur = xmlDocGetRootElement(doc); in load_policies()
93 if (cur == NULL) { in load_policies()
98 node = cur->xmlChildrenNode; in load_policies()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c300 #define V(offset) MAX0(cur.offset - old.offset)
321 struct ppp_stats64 cur, old; in intpr() local
328 get_ppp_stats(&cur); in intpr()
466 old = cur; in intpr()
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c2014 struct usr *cur, *prev; in free_if_unused() local
2027 for (cur = uhead, prev = NULL; in free_if_unused()
2028 cur != u; in free_if_unused()
2029 prev = cur, cur = cur->nextusr) { in free_if_unused()
2030 if (cur == NULL) { in free_if_unused()
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c790 struct options *cur; in valid_options() local
801 for (cur = optlist; cur != NULL; cur = cur->next) { in valid_options()
804 prop = sa_create_property(cur->optname, cur->optvalue); in valid_options()
4056 struct options *cur; in remove_options() local
4064 for (cur = optlist; cur != NULL; cur = cur->next) { in remove_options()
4092 struct options *cur; in valid_unset() local
4099 for (cur = optlist; cur != NULL; cur = cur->next) { in valid_unset()
4104 cur->optname); in valid_unset()
4123 struct options *cur; in valid_unset_security() local
4132 for (cur = optlist; cur != NULL; cur = cur->next) { in valid_unset_security()
[all …]
/illumos-gate/usr/src/cmd/ed/
H A Ded.c192 long cur; member
1511 (--a2)->cur = (--a1)->cur; in append()
1512 rdot->cur = tl; in append()
1653 (a1++)->cur = (a2++)->cur; in rdelete()
1676 (a1++)->cur = (a2++)->cur; in gdelete()
1886 a1->cur &= ~01; in global()
1888 a1->cur |= 01; in global()
1962 a1->cur &= ~01; in substitute()
2261 a2->cur = a1->cur; in reverse()
2587 a1->cur &= ~01; in globaln()
[all …]
/illumos-gate/usr/src/cmd/file/
H A Dmagicutils.c1100 intmax_t cur; in f_getmaxoffset() local
1112 cur = ep->e_off; in f_getmaxoffset()
1115 cur += strlen(ep->e_value.str); in f_getmaxoffset()
1119 cur += sizeof (uchar_t); in f_getmaxoffset()
1123 cur += sizeof (uint16_t); in f_getmaxoffset()
1127 cur += sizeof (uint32_t); in f_getmaxoffset()
1131 cur += sizeof (uint64_t); in f_getmaxoffset()
1134 if (cur <= INT_MAX && cur > max) { in f_getmaxoffset()
1135 max = cur; in f_getmaxoffset()
/illumos-gate/usr/src/cmd/idmap/idmap/
H A Didmap_engine.c216 const char *cur; in line2array() local
220 for (cur = line; len = get_param(&param, cur); cur += len) { in line2array()
/illumos-gate/usr/src/cmd/ipdadm/
H A Dipdadm.c351 char *cur, *res; in ipdadm_remove() local
368 cur = argv[0]; in ipdadm_remove()
369 while ((res = strchr(cur, ',')) != NULL) { in ipdadm_remove()
371 if ((rval = ipdadm_remove_valid(cur)) == 0) { in ipdadm_remove()
373 "argument: %s\n", g_pname, cur); in ipdadm_remove()
377 cur = res + 1; in ipdadm_remove()
380 if ((rval = ipdadm_remove_valid(cur)) == 0) { in ipdadm_remove()
382 g_pname, cur); in ipdadm_remove()
/illumos-gate/usr/src/cmd/krb5/klist/
H A Dklist.c398 krb5_cc_cursor cur; local
474 if ((code = krb5_cc_start_seq_get(kcontext, cache, &cur))) {
480 while (!(code = krb5_cc_next_cred(kcontext, cache, &cur, &creds))) {
497 if ((code = krb5_cc_end_seq_get(kcontext, cache, &cur))) {
/illumos-gate/usr/src/cmd/localedef/
H A Dctype.c172 wchar_t cur; in add_ctype_range() local
179 for (cur = last_ctype + 1; cur <= end; cur++) { in add_ctype_range()
180 if ((ctn = get_ctype(cur)) == NULL) { in add_ctype_range()
/illumos-gate/usr/src/cmd/logins/
H A Dlogins.c1104 struct localpw *cur; in fill_localpw() local
1119 cur = lpw; in fill_localpw()
1121 return (cur); in fill_localpw()
1127 struct localpw *next, *cur; in build_localpw() local
1142 cur = fill_localpw(next, pw); in build_localpw()
1144 next = cur->next; in build_localpw()
1155 cur = fill_localpw(next, pw); in build_localpw()
1156 next = cur->next; in build_localpw()
1164 cur->next = NULL; in build_localpw()
/illumos-gate/usr/src/cmd/look/
H A Dwords5858 cur
/illumos-gate/usr/src/cmd/luxadm/
H A Dfchba.c358 void add_path(struct path_entry *head, struct path_entry *cur) { in add_path() argument
361 tmp->next = cur; in add_path()
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd1.c119 int cur[1]; in scroll() local
121 cur[0] = 0; in scroll()
147 return (headers(cur)); in scroll()
H A Dmyfopen.c104 register NODE *cur, *prev; in del1() local
106 for (prev = cur = fplist; cur != (NODE *)NULL; cur = cur->next) { in del1()
107 if (cur == oldcur) { in del1()
108 if (cur == fplist) { in del1()
109 cur = fplist = cur->next; in del1()
111 prev->next = cur->next; in del1()
119 prev = cur; in del1()
121 return(cur); in del1()
141 register NODE *cur; in my_fclose() local
145 cur = search(iop); in my_fclose()
[all …]
/illumos-gate/usr/src/cmd/make/lib/makestate/
H A Dld_file.c98 Stritem *cur; in mk_state_update_exit() local
123 for (cur = list; cur; cur = cur->next) in mk_state_update_exit()
124 (void) fprintf(ofp, " %s", cur->str); in mk_state_update_exit()

12345678910>>...14