Home
last modified time | relevance | path

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

12345

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_parse_call_math.c308 ret = snprintf(buf, remaining, "$%d", arg); in format_name_sym_helper()
314 remaining -= ret; in format_name_sym_helper()
315 if (remaining <= 0) in format_name_sym_helper()
372 remaining -= ret; in format_expr_helper()
373 if (remaining <= 0) in format_expr_helper()
378 remaining -= ret; in format_expr_helper()
379 if (remaining <= 0) in format_expr_helper()
386 remaining -= ret; in format_expr_helper()
387 if (remaining <= 0) in format_expr_helper()
395 remaining -= ret; in format_expr_helper()
[all …]
H A Dcheck_return_efault.c30 STATE(remaining);
43 set_state_expr(my_id, expr->left, &remaining); in match_copy()
70 if (!slist_has_state(sm->possible, &remaining)) in match_return_var()
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c669 remaining -= used; in filter()
677 remaining -= used; in filter()
682 remaining -= used; in filter()
689 remaining -= used; in filter()
696 remaining -= used; in filter()
704 remaining -= used; in filter()
711 remaining -= used; in filter()
718 remaining -= used; in filter()
724 remaining -= used; in filter()
741 remaining -= used; in filter()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Diommu.c229 uint64_t remaining = len; in iommu_create_mapping() local
233 while (remaining > 0) { in iommu_create_mapping()
236 mapped = ops->create_mapping(domain, gpa, hpa, remaining); in iommu_create_mapping()
239 remaining -= mapped; in iommu_create_mapping()
246 uint64_t remaining = len; in iommu_remove_mapping() local
250 while (remaining > 0) { in iommu_remove_mapping()
253 unmapped = ops->remove_mapping(domain, gpa, remaining); in iommu_remove_mapping()
255 remaining -= unmapped; in iommu_remove_mapping()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Dpro_alloc.c166 memory_list_t * remaining = lp->next; in _dwarf_p_dealloc() local
167 remaining->next = remaining; in _dwarf_p_dealloc()
168 remaining->prev = remaining; in _dwarf_p_dealloc()
H A Ddwarfstring.c479 dwarfstring_i remaining = v; in dwarfstring_append_printf_i() local
499 remaining = -v; in dwarfstring_append_printf_i()
509 remaining = -v; in dwarfstring_append_printf_i()
522 remaining /= divisor; in dwarfstring_append_printf_i()
525 if (!remaining) { in dwarfstring_append_printf_i()
730 dwarfstring_u remaining = v; in dwarfstring_append_printf_u() local
736 dig = remaining & 0xf; in dwarfstring_append_printf_u()
737 remaining = remaining >> 4; in dwarfstring_append_printf_u()
740 if (!remaining) { in dwarfstring_append_printf_u()
752 remaining /= divisor; in dwarfstring_append_printf_u()
[all …]
/illumos-gate/usr/src/common/ucode/
H A Ducode_utils_intel.c149 int remaining; in ucode_validate_intel() local
154 for (remaining = size; remaining > 0; ) { in ucode_validate_intel()
157 uint8_t *curbuf = &ucodep[size - remaining]; in ucode_validate_intel()
192 remaining -= total_size; in ucode_validate_intel()
/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvtd.c194 int i, remaining, pathrem; in vtd_device_scope() local
216 remaining = drhd->Header.Length - in vtd_device_scope()
218 while (remaining > sizeof (ACPI_DMAR_DEVICE_SCOPE)) { in vtd_device_scope()
220 (ACPI_DMAR_DEVICE_SCOPE *)(end - remaining); in vtd_device_scope()
221 remaining -= device_scope->Length; in vtd_device_scope()
421 int i, units, remaining, tmp; in vtd_init() local
463 remaining = dmar->Header.Length - sizeof (ACPI_TABLE_DMAR); in vtd_init()
464 while (remaining > sizeof (ACPI_DMAR_HEADER)) { in vtd_init()
465 hdr = (ACPI_DMAR_HEADER *)(end - remaining); in vtd_init()
466 if (hdr->Length > remaining) in vtd_init()
[all …]
/illumos-gate/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 …]
/illumos-gate/usr/src/boot/i386/isoboot/
H A Dcd9660read.c325 size_t size, remaining, n; in cd9660_fsread() local
345 remaining = nbytes; in cd9660_fsread()
348 while (remaining > 0) { in cd9660_fsread()
357 if (remaining < ISO_DEFAULT_BLOCK_SIZE - byte_off) { in cd9660_fsread()
358 n = remaining; in cd9660_fsread()
363 remaining -= n; in cd9660_fsread()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/data/
H A Dbash_pre_rc.sh98 typeset prefix remaining=${.sh.value} var= n= k=
99 while [[ $remaining ]]
100 do prefix=${remaining%%'\'*}
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dfastlz_api.c380 unsigned long remaining; in decompress_buffer() local
468 remaining = chunk_size; in decompress_buffer()
472 r = (CUDBG_BLOCK_SIZE < remaining) ? in decompress_buffer()
473 CUDBG_BLOCK_SIZE : remaining; in decompress_buffer()
490 remaining -= bytes_read; in decompress_buffer()
521 remaining = in decompress_buffer()
527 if (remaining != chunk_extra) { in decompress_buffer()
H A Dt4_ioctl.c1343 uint32_t addr, off, remaining, i, n; in read_card_mem() local
1366 remaining = mr.len; in read_card_mem()
1369 while (remaining) { in read_card_mem()
1373 n = min(remaining, mw_aperture - off); in read_card_mem()
1385 remaining -= n; in read_card_mem()
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_bootcfg.c253 size_t remaining; in efx_bootcfg_write() local
297 for (offset = 0; offset < sector_length; offset += remaining) { in efx_bootcfg_write()
298 remaining = MIN(chunk_length, sector_length - offset); in efx_bootcfg_write()
304 MIN(remaining, used_bytes - offset)); in efx_bootcfg_write()
311 offset, (caddr_t)chunk, remaining)) != 0) in efx_bootcfg_write()
/illumos-gate/usr/src/cmd/ucodeadm/
H A Ducodeadm.c374 int remaining; in ucode_gen_files_intel() local
387 for (remaining = size; remaining > 0; ) { in ucode_gen_files_intel()
392 uint8_t *curbuf = &buf[size - remaining]; in ucode_gen_files_intel()
401 remaining -= total_size; in ucode_gen_files_intel()
542 int remaining; in ucode_list_intel() local
545 for (remaining = size; remaining > 0; ) { in ucode_list_intel()
546 uint8_t *curbuf = &buf[size - remaining]; in ucode_list_intel()
557 remaining -= total_size; in ucode_list_intel()
/illumos-gate/usr/src/uts/intel/os/
H A Dmicrocode_intel.c324 int remaining; in ucode_extract_intel() local
333 for (remaining = size; remaining > 0; ) { in ucode_extract_intel()
335 uint8_t *curbuf = &ucodep[size - remaining]; in ucode_extract_intel()
372 remaining -= total_size; in ucode_extract_intel()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_common.c1199 *remaining -= len; in sctp_next_parm()
1205 *remaining -= pad; in sctp_next_parm()
1265 ssize_t remaining; in sctp_get_addrparams() local
1348 if (remaining < sizeof (*ph)) { in sctp_get_addrparams()
1386 if (remaining >= PARM_ADDR4_LEN) { in sctp_get_addrparams()
1424 if (remaining >= PARM_ADDR6_LEN) { in sctp_get_addrparams()
1456 ph = sctp_next_parm(ph, &remaining); in sctp_get_addrparams()
1515 ssize_t remaining; in sctp_secure_restart_check() local
1540 if (remaining < sizeof (*ph)) { in sctp_secure_restart_check()
1552 if (remaining >= PARM_ADDR4_LEN) { in sctp_secure_restart_check()
[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()
1448 ssize_t remaining; in sctp_addrlist2sctp() local
1470 remaining = ntohs(ich->sch_len) - sizeof (*ich) - sizeof (*iack); in sctp_addrlist2sctp()
1471 if (remaining < sizeof (*ph)) { in sctp_addrlist2sctp()
1521 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()
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_manage.c229 u16 remaining, i, j, prev_bytes; in e1000_mng_host_if_write_generic() local
253 remaining = length & 0x3; in e1000_mng_host_if_write_generic()
254 length -= remaining; in e1000_mng_host_if_write_generic()
271 if (remaining) { in e1000_mng_host_if_write_generic()
273 if (j < remaining) in e1000_mng_host_if_write_generic()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba.c1037 int remaining; in usba_add_to_list() local
1042 remaining = head->count; in usba_add_to_list()
1067 remaining--; in usba_add_to_list()
1109 int remaining; in usba_rm_from_list() local
1118 remaining = head->count; in usba_rm_from_list()
1128 remaining--; in usba_rm_from_list()
1273 int remaining; in usba_check_in_list() local
1277 remaining = head->count; in usba_check_in_list()
1285 remaining--; in usba_check_in_list()
1305 int remaining; in usba_list_entry_leaks() local
[all …]
/illumos-gate/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 …]
/illumos-gate/usr/src/grub/grub-0.97/
H A Dcompile42 Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
/illumos-gate/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 …]

12345