Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 25 of 96) sorted by relevance

1234

/titanic_41/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c512 size_t used, remaining; in filter() local
656 remaining = out_len; in filter()
662 used = snprintf(bp, remaining, "%hu", in filter()
665 used = strlcpy(bp, event->ae_desc, remaining); in filter()
667 remaining -= used; in filter()
671 used = strlcpy(bp, " failed", remaining); in filter()
673 used = strlcpy(bp, " ok", remaining); in filter()
675 remaining -= used; in filter()
678 used = snprintf(bp, remaining, " session %u", in filter()
680 remaining -= used; in filter()
[all …]
/titanic_41/usr/src/common/ucode/
H A Ducode_utils.c170 int remaining; in ucode_validate_intel() local
175 for (remaining = size; remaining > 0; ) { in ucode_validate_intel()
178 uint8_t *curbuf = &ucodep[size - remaining]; in ucode_validate_intel()
215 remaining -= total_size; in ucode_validate_intel()
/titanic_41/usr/src/lib/libshell/common/data/
H A Dbash_pre_rc.sh98 typeset prefix remaining=${.sh.value} var= n= k=
99 while [[ $remaining ]]
100 do prefix=${remaining%%'\'*}
/titanic_41/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_matching.c267 int *remaining, in parse_rule_component() argument
287 *remaining -= kw->length; in parse_rule_component()
334 len = (*remaining); in parse_rule_component()
349 *remaining -= len; in parse_rule_component()
395 int remaining; in parse_rule_set() local
405 remaining = strlen(rule); in parse_rule_set()
414 if (remaining > 1) { in parse_rule_set()
418 remaining -= 2; in parse_rule_set()
422 remaining -= 2; in parse_rule_set()
426 while (remaining > 0) { in parse_rule_set()
[all …]
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_common.c1191 sctp_next_parm(sctp_parm_hdr_t *current, ssize_t *remaining) in sctp_next_parm() argument
1197 *remaining -= len; in sctp_next_parm()
1198 if (*remaining < sizeof (*current) || len < sizeof (*current)) { in sctp_next_parm()
1203 *remaining -= pad; in sctp_next_parm()
1263 ssize_t remaining; in sctp_get_addrparams() local
1344 remaining = ntohs(ich->sch_len) - sizeof (*ich) - in sctp_get_addrparams()
1346 if (remaining < sizeof (*ph)) { in sctp_get_addrparams()
1384 if (remaining >= PARM_ADDR4_LEN) { in sctp_get_addrparams()
1422 if (remaining >= PARM_ADDR6_LEN) { in sctp_get_addrparams()
1454 ph = sctp_next_parm(ph, &remaining); in sctp_get_addrparams()
[all …]
H A Dsctp_cookie.c163 ssize_t remaining; in validate_init_params() local
192 remaining = ntohs(ch->sch_len) - sizeof (*ch); in validate_init_params()
194 remaining -= sizeof (*ic); in validate_init_params()
195 if (remaining < sizeof (*cph)) { in validate_init_params()
331 cph = sctp_next_parm(cph, &remaining); in validate_init_params()
1446 ssize_t remaining; in sctp_addrlist2sctp() local
1468 remaining = ntohs(ich->sch_len) - sizeof (*ich) - sizeof (*iack); in sctp_addrlist2sctp()
1469 if (remaining < sizeof (*ph)) { in sctp_addrlist2sctp()
1519 ph = sctp_next_parm(ph, &remaining); in sctp_addrlist2sctp()
H A Dsctp_hash.c357 ssize_t mlen, remaining; in sctp_lookup_by_faddrs() local
399 remaining = ntohs(ich->sch_len) - sizeof (*ich) - in sctp_lookup_by_faddrs()
401 if (remaining < sizeof (*ph)) { in sctp_lookup_by_faddrs()
408 totaddr = remaining/addr_len; in sctp_lookup_by_faddrs()
456 ph = sctp_next_parm(ph, &remaining); in sctp_lookup_by_faddrs()
/titanic_41/usr/src/uts/common/io/e1000api/
H A De1000_manage.c230 u16 remaining, i, j, prev_bytes; in e1000_mng_host_if_write_generic() local
254 remaining = length & 0x3; in e1000_mng_host_if_write_generic()
255 length -= remaining; in e1000_mng_host_if_write_generic()
272 if (remaining) { in e1000_mng_host_if_write_generic()
274 if (j < remaining) in e1000_mng_host_if_write_generic()
/titanic_41/usr/src/cmd/latencytop/common/
H A Ddisplay.c789 int remaining; in lt_display_loop() local
830 remaining = duration - (int)(lt_millisecond() - start); in lt_display_loop()
832 if (remaining <= 0) { in lt_display_loop()
846 if (next_snap > 0 && remaining > next_snap) { in lt_display_loop()
847 remaining = next_snap; in lt_display_loop()
850 timeout.tv_sec = remaining / 1000; in lt_display_loop()
851 timeout.tv_usec = (remaining % 1000) * 1000; in lt_display_loop()
/titanic_41/usr/src/uts/common/io/usb/usba/
H A Dusba.c1023 int remaining; in usba_add_to_list() local
1028 remaining = head->count; in usba_add_to_list()
1053 remaining--; in usba_add_to_list()
1059 if ((next->next && (remaining == 0)) || in usba_add_to_list()
1060 ((next->next == NULL) && remaining)) { in usba_add_to_list()
1095 int remaining; in usba_rm_from_list() local
1104 remaining = head->count; in usba_rm_from_list()
1114 remaining--; in usba_rm_from_list()
1117 if ((e && (remaining == 0)) || in usba_rm_from_list()
1118 ((e == NULL) && (remaining))) { in usba_rm_from_list()
[all …]
/titanic_41/usr/src/cmd/ucodeadm/
H A Ducodeadm.c316 int remaining; in ucode_gen_files_intel() local
329 for (remaining = size; remaining > 0; ) { in ucode_gen_files_intel()
334 uint8_t *curbuf = &buf[size - remaining]; in ucode_gen_files_intel()
343 remaining -= total_size; in ucode_gen_files_intel()
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_ioctl.c481 uint32_t base, size, lo, hi, win, off, remaining, i, n; in read_card_mem() local
543 remaining = mr.len; in read_card_mem()
545 while (remaining) { in read_card_mem()
552 n = min(remaining, MEMWIN2_APERTURE - off); in read_card_mem()
554 for (i = 0; i < n; i += 4, remaining -= 4) in read_card_mem()
/titanic_41/usr/src/lib/libc/capabilities/sun4u-opl/common/
H A Dmemcpy.s177 addcc %o2, 16, %o2 ! adjust remaining count
232 cmp %o2, 64 ! do we have < 64 bytes remaining
270 cmp %o2, 32 ! do we have < 32 bytes remaining
279 cmp %o2, 8 ! do we have < 8 bytes remaining
288 cmp %o2, 8 ! do we have < 8 bytes remaining
568 addcc %o2, 16, %o2 ! adjust remaining count
620 ! Currently, o2 is the actual count remaining
868 bne %ncc, 2f ! exactly 1 block remaining?
883 ! This is when there is exactly 1 block remaining and SRC is aligned
982 bne %ncc, 2f ! exactly 1 block remaining?
[all …]
/titanic_41/usr/src/grub/grub-0.97/
H A Dcompile42 Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
/titanic_41/usr/src/lib/libc/capabilities/sun4u-us3/common/
H A Dmemcpy.s201 addcc %o2, 16, %o2 ! adjust remaining count
256 cmp %o2, 64 ! do we have < 64 bytes remaining
293 cmp %o2, 32 ! do we have < 32 bytes remaining
302 cmp %o2, 8 ! do we have < 8 bytes remaining
311 cmp %o2, 8 ! do we have < 8 bytes remaining
586 addcc %o2, 16, %o2 ! adjust remaining count
637 ! Currently, o2 is the actual count remaining
894 bne %ncc, 2f ! exactly 1 block remaining?
909 ! This is when there is exactly 1 block remaining and SRC is aligned
1016 bne %ncc, 2f ! exactly 1 block remaining?
[all …]
/titanic_41/usr/src/uts/common/xen/io/
H A Dxenbus_dev.c487 int remaining; in xenbusdrv_queue_reply() local
493 remaining = sizeof (xbs->read_buffer) - in xenbusdrv_queue_reply()
496 if (sizeof (*msg) + msg->len > remaining) { in xenbusdrv_queue_reply()
/titanic_41/usr/src/lib/libc/sparcv9/crt/
H A D__align_cpy_8.s97 bz,a,pt %xcc, .wrdbl3 ! Have 8 bytes remaining to copy.
/titanic_41/usr/src/uts/i86pc/os/
H A Dmicrocode.c971 int remaining; in ucode_extract_intel() local
980 for (remaining = size; remaining > 0; ) { in ucode_extract_intel()
982 uint8_t *curbuf = &ucodep[size - remaining]; in ucode_extract_intel()
1023 remaining -= total_size; in ucode_extract_intel()
/titanic_41/usr/src/lib/libc/sparc/gen/
H A Dmemcmp.s146 and %o2, 3, %o2 ! remaining bytes
230 b .bytcmp ! compare remaining bytes, if any
/titanic_41/usr/src/lib/libc/sparcv9/gen/
H A Dmemcmp.s143 and %o2, 3, %o2 ! remaining bytes
226 b .bytcmp ! compare remaining bytes, if any
H A Dmemset.s110 b .wrchar ! write the remaining bytes
/titanic_41/usr/src/cmd/ssh/scp/
H A Dscp.c1235 int ratio, barlength, i, remaining; in progressmeter() local
1303 remaining = (int)(totalbytes / (statbytes / elapsed) - in progressmeter()
1306 remaining = (int)elapsed; in progressmeter()
1308 i = remaining / 3600; in progressmeter()
1315 i = remaining % 3600; in progressmeter()
/titanic_41/usr/src/lib/libc/capabilities/sun4v/common/
H A Dmemset.s196 ! Set the remaining doubles
232 ! Set the remaining bytes, if any
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_consume.c1727 int64_t remaining; in dt_trunc() local
1755 remaining = *((int64_t *)addr); in dt_trunc()
1759 remaining = *((int32_t *)addr); in dt_trunc()
1763 remaining = *((int16_t *)addr); in dt_trunc()
1766 remaining = *((int8_t *)addr); in dt_trunc()
1772 if (remaining < 0) { in dt_trunc()
1774 remaining = -remaining; in dt_trunc()
1779 assert(remaining >= 0); in dt_trunc()
1780 trunc.dttd_remaining = remaining; in dt_trunc()
/titanic_41/usr/src/lib/libtnfctl/
H A Dmapfile-vers77 # Redunce all remaining globals to local scope

1234