Searched refs:dest_size (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-mgmtaux.c | 889 int dest_size; in xge_hal_aux_stats_hal_read() local 962 dest_size = sizeof(key) - strlen(key); in xge_hal_aux_stats_hal_read() 964 xge_os_strlcpy(dest_addr, "full_cnt", dest_size); in xge_hal_aux_stats_hal_read() 967 xge_os_strlcpy(dest_addr, "usage_max", dest_size); in xge_hal_aux_stats_hal_read() 970 xge_os_strlcpy(dest_addr, "usage_cnt", dest_size); in xge_hal_aux_stats_hal_read() 973 xge_os_strlcpy(dest_addr, "reserve_free_swaps_cnt", dest_size); in xge_hal_aux_stats_hal_read() 977 xge_os_strlcpy(dest_addr, "avg_compl_per_intr_cnt", dest_size); in xge_hal_aux_stats_hal_read() 981 xge_os_strlcpy(dest_addr, "total_compl_cnt", dest_size); in xge_hal_aux_stats_hal_read() 984 xge_os_strlcpy(dest_addr, "bump_cnt", dest_size); in xge_hal_aux_stats_hal_read() 1001 dest_size = sizeof(key) - strlen(key); in xge_hal_aux_stats_hal_read() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_sprintf_overflow.c | 26 int dest_size; in match_sprintf() local 34 dest_size = get_array_size_bytes(dest); in match_sprintf() 35 if (!dest_size) in match_sprintf() 46 if (dest_size < data_size) in match_sprintf() 48 data_name, data_size, dest_size); in match_sprintf()
|
H A D | check_strcpy_overflow.c | 26 int dest_size; in match_strcpy() local 31 dest_size = get_array_size_bytes(dest); in match_strcpy() 32 if (!dest_size) in match_strcpy() 42 if (data_size && dest_size >= data_size) in match_strcpy() 50 fn, data_name, dest_name, data_size, dest_size); in match_strcpy()
|
H A D | check_snprintf_overflow.c | 27 int dest_size; in match_snprintf() local 37 dest_size = get_array_size_bytes(dest); in match_snprintf() 40 if (dest_size > 1 && dest_size < limit_size.value) in match_snprintf() 42 sval_to_str(limit_size), dest_size); in match_snprintf()
|
/illumos-gate/usr/src/uts/i86pc/io/ioat/ |
H A D | ioat_chan.c | 968 uint32_t dest_size; in ioat_cmd_post() local 1044 dest_size = PAGESIZE; in ioat_cmd_post() 1046 dest_size = PAGESIZE - (dest_addr & PAGEOFFSET); in ioat_cmd_post() 1050 xfer_size = MIN(src_size, dest_size); in ioat_cmd_post() 1388 uint32_t dest_size; in ioat_ring_reserve() local 1420 dest_size = PAGESIZE; in ioat_ring_reserve() 1422 dest_size = PAGESIZE - (dest_addr & PAGEOFFSET); in ioat_ring_reserve() 1426 xfer_size = MIN(src_size, dest_size); in ioat_ring_reserve()
|