| /f-stack/freebsd/contrib/ncsw/Peripherals/FM/MAC/ |
| H A D | fman_memac.c | 54 uint32_t tmp; in fman_memac_set_promiscuous() local 101 uint32_t tmp; in fman_memac_enable() local 116 uint32_t tmp; in fman_memac_disable() local 131 uint32_t tmp; in fman_memac_reset_stat() local 144 uint32_t tmp; in fman_memac_reset() local 165 tmp = 0; in fman_memac_init() 203 tmp = 0; in fman_memac_init() 217 tmp = 0; in fman_memac_init() 242 uint32_t tmp; in fman_memac_set_exception() local 272 uint32_t tmp; in fman_memac_get_max_frame_len() local [all …]
|
| H A D | fman_dtsec.c | 142 tmp = 0; in fman_dtsec_init() 159 tmp = 0; in fman_dtsec_init() 170 tmp = 0; in fman_dtsec_init() 184 tmp = 0; in fman_dtsec_init() 213 tmp = 0; in fman_dtsec_init() 218 tmp = 0; in fman_dtsec_init() 225 tmp = 0; in fman_dtsec_init() 237 tmp = 0; in fman_dtsec_init() 279 tmp = 0; in fman_dtsec_init() 624 tmp = (((tmp & 0x000000FF) << 24) | in fman_dtsec_add_addr_in_paddr() [all …]
|
| H A D | fman_tgec.c | 52 uint32_t tmp; in fman_tgec_reset_stat() local 56 tmp |= CMD_CFG_STAT_CLR; in fman_tgec_reset_stat() 159 uint32_t tmp; in fman_tgec_enable() local 163 tmp |= CMD_CFG_RX_EN; in fman_tgec_enable() 165 tmp |= CMD_CFG_TX_EN; in fman_tgec_enable() 183 uint32_t tmp; in fman_tgec_set_promiscuous() local 218 uint32_t tmp; in fman_tgec_set_rx_ignore_pause_frames() local 230 uint32_t tmp; in fman_tgec_enable_1588_time_stamp() local 319 uint32_t tmp; in fman_tgec_init() local 324 tmp |= CMD_CFG_WAN_MODE; in fman_tgec_init() [all …]
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_uuid.c | 29 tmp >>= 8; in uuid_pack() 31 tmp >>= 8; in uuid_pack() 33 tmp >>= 8; in uuid_pack() 38 tmp >>= 8; in uuid_pack() 43 tmp >>= 8; in uuid_pack() 60 tmp = (tmp << 8) | *ptr++; in uuid_unpack() 61 tmp = (tmp << 8) | *ptr++; in uuid_unpack() 62 tmp = (tmp << 8) | *ptr++; in uuid_unpack() 66 tmp = (tmp << 8) | *ptr++; in uuid_unpack() 70 tmp = (tmp << 8) | *ptr++; in uuid_unpack() [all …]
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/FM/Port/ |
| H A D | fman_port.c | 60 tmp = 0; in init_bmi_rx() 158 tmp = 0; in init_bmi_rx() 165 tmp = 0; in init_bmi_rx() 181 tmp = 0; in init_bmi_tx() 262 tmp = 0; in init_bmi_tx() 269 tmp = 0; in init_bmi_tx() 285 tmp = 0; in init_bmi_oh() 355 tmp = 0; in init_bmi_oh() 362 tmp = 0; in init_bmi_oh() 377 tmp = 0; in init_qmi() [all …]
|
| /f-stack/dpdk/lib/librte_eal/x86/include/ |
| H A D | rte_atomic_32.h | 88 uint64_t tmp; in rte_atomic64_init() local 101 uint64_t tmp; in rte_atomic64_read() local 107 tmp, tmp); in rte_atomic64_read() 109 return tmp; in rte_atomic64_read() 116 uint64_t tmp; in rte_atomic64_set() local 129 uint64_t tmp; in rte_atomic64_add() local 134 tmp, tmp + inc); in rte_atomic64_add() 142 uint64_t tmp; in rte_atomic64_sub() local 147 tmp, tmp - dec); in rte_atomic64_sub() 172 tmp, tmp + inc); in rte_atomic64_add_return() [all …]
|
| /f-stack/dpdk/lib/librte_rib/ |
| H A D | rte_rib.c | 126 while ((tmp != NULL) && !is_valid_node(tmp)) in rte_rib_lookup_parent() 127 tmp = tmp->parent; in rte_rib_lookup_parent() 128 return tmp; in rte_rib_lookup_parent() 179 while ((tmp) && (tmp->depth < depth)) in rte_rib_get_nxt() 180 tmp = get_nxt_node(tmp, ip); in rte_rib_get_nxt() 185 tmp = tmp->parent; in rte_rib_get_nxt() 191 tmp = (tmp->parent) ? tmp->parent->right : NULL; in rte_rib_get_nxt() 201 tmp = (tmp->left) ? tmp->left : tmp->right; in rte_rib_get_nxt() 299 tmp = (ip & (1 << (31 - d))) ? &(*tmp)->right : &(*tmp)->left; in rte_rib_insert() 524 while ((tmp = rte_rib_get_nxt(rib, 0, 0, tmp, in rte_rib_free() [all …]
|
| H A D | rte_rib6.c | 149 while ((tmp != NULL) && (!is_valid_node(tmp))) in rte_rib6_lookup_parent() 150 tmp = tmp->parent; in rte_rib6_lookup_parent() 152 return tmp; in rte_rib6_lookup_parent() 212 while ((tmp) && (tmp->depth < depth)) in rte_rib6_get_nxt() 213 tmp = get_nxt_node(tmp, tmp_ip); in rte_rib6_get_nxt() 218 tmp = tmp->parent; in rte_rib6_get_nxt() 224 tmp = (tmp->parent != NULL) ? tmp->parent->right : NULL; in rte_rib6_get_nxt() 234 tmp = (tmp->left != NULL) ? tmp->left : tmp->right; in rte_rib6_get_nxt() 343 tmp = (get_dir(tmp_ip, (*tmp)->depth)) ? &(*tmp)->right : in rte_rib6_insert() 591 while ((tmp = rte_rib6_get_nxt(rib, 0, 0, tmp, in rte_rib6_free() [all …]
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/FM/ |
| H A D | fman_ncsw.c | 172 uint32_t tmp; in fman_enable_time_stamp() local 318 uint32_t tmp; in fman_set_liodn_per_port() local 344 uint32_t tmp; in fman_resume_stalled_port() local 445 uint32_t tmp; in fman_set_size_of_fifo() local 459 uint32_t tmp; in fman_get_num_of_tasks() local 471 uint32_t tmp; in fman_get_num_extra_tasks() local 486 uint32_t tmp; in fman_set_num_of_tasks() local 501 uint32_t tmp; in fman_get_num_of_dmas() local 513 uint32_t tmp; in fman_get_num_extra_dmas() local 1015 tmp = 0; in fman_set_ports_bandwidth() [all …]
|
| /f-stack/dpdk/app/test/ |
| H A D | test_cmdline_cirbuf.c | 29 memset(tmp, 0, sizeof(tmp)); in test_cirbuf_string_misc() 70 memset(tmp, 0, sizeof(tmp)); in test_cirbuf_string_misc() 106 memset(tmp, 0, sizeof(tmp)); in test_cirbuf_string_misc() 140 memset(tmp, 0, sizeof(tmp)); in test_cirbuf_string_add_del() 168 memset(tmp, 0, sizeof(tmp)); in test_cirbuf_string_add_del() 191 memset(tmp, 0, sizeof(tmp)); in test_cirbuf_string_add_del() 222 memset(tmp, 0, sizeof(tmp)); in test_cirbuf_string_add_del() 258 memset(tmp, 0, sizeof(tmp)); in test_cirbuf_string_add_del_reverse() 285 memset(tmp, 0, sizeof(tmp)); in test_cirbuf_string_add_del_reverse() 391 memset(tmp, 0, sizeof(tmp)); in test_cirbuf_string_get_del_boundaries() [all …]
|
| /f-stack/dpdk/lib/librte_eal/freebsd/include/ |
| H A D | rte_os.h | 19 cpuset_t tmp; \ 20 CPU_COPY(src1, &tmp); \ 21 CPU_AND(&tmp, src2); \ 22 CPU_COPY(&tmp, dst); \ 26 cpuset_t tmp; \ 28 CPU_OR(&tmp, src2); \ 29 CPU_COPY(&tmp, dst); \ 37 cpuset_t tmp; \ 38 CPU_FILL(&tmp); \ 45 cpuset_t tmp; \ [all …]
|
| /f-stack/tools/compat/include/sys/ |
| H A D | tree.h | 442 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \ 452 elm = tmp; \ 458 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \ 637 tmp = RB_LEFT(tmp, field); \ 639 tmp = RB_RIGHT(tmp, field); \ 666 tmp = RB_LEFT(tmp, field); \ 668 tmp = RB_RIGHT(tmp, field); \ 687 tmp = RB_LEFT(tmp, field); \ 690 tmp = RB_RIGHT(tmp, field); \ 752 tmp = RB_LEFT(tmp, field); \ [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/ |
| H A D | xattr_004_pos.ksh | 52 log_must umount /tmp/$NEWFS_DEFAULT_FS.$$ 53 log_must rm -rf /tmp/$NEWFS_DEFAULT_FS.$$ 65 log_must mkdir /tmp/$NEWFS_DEFAULT_FS.$$ 68 /tmp/$NEWFS_DEFAULT_FS.$$ 84 log_must umount /tmp/$NEWFS_DEFAULT_FS.$$ 96 echo "TEST XATTR" >/tmp/xattr1 99 /tmp/$NEWFS_DEFAULT_FS.$$/$NEWFS_DEFAULT_FS-file.$$ </tmp/xattr1 109 /tmp/$NEWFS_DEFAULT_FS.$$/$NEWFS_DEFAULT_FS-file.$$ \ 116 log_must diff /tmp/xattr1.$$ /tmp/xattr1 118 log_must rm /tmp/xattr1 /tmp/xattr1.$$ [all …]
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/os/linux/ |
| H A D | zutil_device_path_os.c | 88 if (!tmp) in zfs_strip_partition() 91 if ((part = strstr(tmp, "-part")) && part != tmp) { in zfs_strip_partition() 96 } else if ((tmp[0] == 'h' || tmp[0] == 's' || tmp[0] == 'v') && in zfs_strip_partition() 108 return (tmp); in zfs_strip_partition() 193 if (tmp != NULL) in dm_get_underlying_path() 196 dev_str = tmp; in dm_get_underlying_path() 221 free(tmp); in dm_get_underlying_path() 234 char *tmp; in zfs_dev_is_dm() local 239 free(tmp); in zfs_dev_is_dm() 315 char *tmp; in zfs_get_underlying_path() local [all …]
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | localtime.c | 69 tmp->tm_isdst = dst; in nolocks_localtime() 70 tmp->tm_hour = seconds / secs_hour; in nolocks_localtime() 71 tmp->tm_min = (seconds % secs_hour) / secs_min; in nolocks_localtime() 77 tmp->tm_wday = (days+4)%7; in nolocks_localtime() 80 tmp->tm_year = 1970; in nolocks_localtime() 86 tmp->tm_year++; in nolocks_localtime() 94 mdays[1] += is_leap_year(tmp->tm_year); in nolocks_localtime() 96 tmp->tm_mon = 0; in nolocks_localtime() 97 while(days >= mdays[tmp->tm_mon]) { in nolocks_localtime() 98 days -= mdays[tmp->tm_mon]; in nolocks_localtime() [all …]
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-atomic.h | 80 uint32_t tmp; in cvmx_atomic_add32_nosync() local 90 : [val] "+m" (*ptr), [tmp] "=&r" (tmp) in cvmx_atomic_add32_nosync() 161 uint64_t tmp; in cvmx_atomic_add64_nosync() local 170 : [val] "+m" (*ptr), [tmp] "=&r" (tmp) in cvmx_atomic_add64_nosync() 253 : [val] "+m" (*ptr), [tmp] "=&r" (tmp), [ret] "=&r" (ret) in cvmx_atomic_compare_and_store32_nosync() 311 : [val] "+m" (*ptr), [tmp] "=&r" (tmp), [ret] "=&r" (ret) in cvmx_atomic_compare_and_store64_nosync() 394 : [val] "+m" (*ptr), [tmp] "=&r" (tmp), [ret] "=&r" (ret) in cvmx_atomic_fetch_and_add64_nosync() 479 : [val] "+m" (*ptr), [tmp] "=&r" (tmp), [ret] "=&r" (ret) in cvmx_atomic_fetch_and_add32_nosync() 536 : [val] "+m" (*ptr), [tmp] "=&r" (tmp), [ret] "=&r" (ret) in cvmx_atomic_fetch_and_bset64_nosync() 569 : [val] "+m" (*ptr), [tmp] "=&r" (tmp), [ret] "=&r" (ret) in cvmx_atomic_fetch_and_bset32_nosync() [all …]
|
| H A D | cvmx-spinlock.h | 136 unsigned int tmp; in cvmx_spinlock_trylock() local 148 : [val] "+m" (lock->value), [tmp] "=&r" (tmp) in cvmx_spinlock_trylock() 152 return (!!tmp); /* normalize to 0 or 1 */ in cvmx_spinlock_trylock() 162 unsigned int tmp; in cvmx_spinlock_lock() local 173 : [val] "+m" (lock->value), [tmp] "=&r" (tmp) in cvmx_spinlock_lock() 199 unsigned int tmp; in cvmx_spinlock_bit_lock() local 214 : [val] "+m" (*word), [tmp] "=&r" (tmp), [sav] "=&r" (sav) in cvmx_spinlock_bit_lock() 233 unsigned int tmp; in cvmx_spinlock_bit_trylock() local 248 : [val] "+m" (*word), [tmp] "=&r" (tmp) in cvmx_spinlock_bit_trylock() 390 volatile unsigned int tmp; in _int_cvmx_spinlock_rec_lock() local [all …]
|
| /f-stack/dpdk/lib/librte_fib/ |
| H A D | dir24_8.h | 118 uint64_t tmp; \ 152 uint64_t tmp; in dir24_8_lookup_bulk() local 163 tmp = get_tbl8(dp, tmp, ips[i], nh_sz); in dir24_8_lookup_bulk() 165 next_hops[i] = tmp >> 1; in dir24_8_lookup_bulk() 170 tmp = get_tbl8(dp, tmp, ips[i], nh_sz); in dir24_8_lookup_bulk() 172 next_hops[i] = tmp >> 1; in dir24_8_lookup_bulk() 217 uint64_t tmp; in dir24_8_lookup_bulk_uni() local 229 tmp = get_tbl8(dp, tmp, ips[i], nh_sz); in dir24_8_lookup_bulk_uni() 231 next_hops[i] = tmp >> 1; in dir24_8_lookup_bulk_uni() 236 tmp = get_tbl8(dp, tmp, ips[i], nh_sz); in dir24_8_lookup_bulk_uni() [all …]
|
| /f-stack/freebsd/mips/mips/ |
| H A D | elf_trampoline.c | 84 tmp += 4; in bzero() 87 *tmp = 0; in bzero() 88 tmp++; in bzero() 122 Elf_Size tmp; in load_kernel() local 175 tmp = SYMTAB_MAGIC; in load_kernel() 176 memcpy((void *)lastaddr, &tmp, sizeof(tmp)); in load_kernel() 180 memcpy((void *)lastaddr, &tmp, sizeof(tmp)); in load_kernel() 184 memcpy((void *)lastaddr, &tmp, sizeof(tmp)); in load_kernel() 194 memcpy((void *)lastaddr, &tmp, sizeof(tmp)); in load_kernel() 203 tmp = 0; in load_kernel() [all …]
|
| /f-stack/freebsd/crypto/aesni/ |
| H A D | intel_sha256.c | 71 __m128i tmp; in intel_sha256_step() local 81 tmp = _mm_shuffle_epi32(tmp, 0xB1); // CDAB in intel_sha256_step() 129 msgtmp0 = _mm_add_epi32(msgtmp0, tmp); in intel_sha256_step() 140 msgtmp1 = _mm_add_epi32(msgtmp1, tmp); in intel_sha256_step() 151 msgtmp2 = _mm_add_epi32(msgtmp2, tmp); in intel_sha256_step() 162 msgtmp3 = _mm_add_epi32(msgtmp3, tmp); in intel_sha256_step() 173 msgtmp0 = _mm_add_epi32(msgtmp0, tmp); in intel_sha256_step() 184 msgtmp1 = _mm_add_epi32(msgtmp1, tmp); in intel_sha256_step() 195 msgtmp2 = _mm_add_epi32(msgtmp2, tmp); in intel_sha256_step() 206 msgtmp3 = _mm_add_epi32(msgtmp3, tmp); in intel_sha256_step() [all …]
|
| /f-stack/freebsd/crypto/armv8/ |
| H A D | armv8_crypto_wrap.c | 59 tmp = vaeseq_u8(tmp, keysched[i]); in armv8_aes_enc() 60 tmp = vaesmcq_u8(tmp); in armv8_aes_enc() 61 tmp = vaeseq_u8(tmp, keysched[i + 1]); in armv8_aes_enc() 62 tmp = vaesmcq_u8(tmp); in armv8_aes_enc() 66 tmp = vaesmcq_u8(tmp); in armv8_aes_enc() 67 tmp = vaeseq_u8(tmp, keysched[rounds]); in armv8_aes_enc() 81 tmp = vaesdq_u8(tmp, keysched[i]); in armv8_aes_dec() 82 tmp = vaesimcq_u8(tmp); in armv8_aes_dec() 83 tmp = vaesdq_u8(tmp, keysched[i+1]); in armv8_aes_dec() 84 tmp = vaesimcq_u8(tmp); in armv8_aes_dec() [all …]
|
| /f-stack/freebsd/sys/ |
| H A D | arb.h | 323 if (tmp && ARB_COLOR(tmp, field) == ARB_RED) { \ 333 elm = tmp; \ 339 if (tmp && ARB_COLOR(tmp, field) == ARB_RED) { \ 535 tmp = ARB_LEFT(head, tmp, field); \ 537 tmp = ARB_RIGHT(head, tmp, field); \ 575 tmp = ARB_LEFT(head, tmp, field); \ 577 tmp = ARB_RIGHT(head, tmp, field); \ 601 tmp = ARB_LEFT(head, tmp, field); \ 604 tmp = ARB_RIGHT(head, tmp, field); \ 685 tmp = ARB_LEFT(head, tmp, field); \ [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | sha256.c | 51 zio_cksum_t tmp; in abd_checksum_SHA256() local 65 SHA2Final(&tmp, &ctx); in abd_checksum_SHA256() 75 zcp->zc_word[0] = BE_64(tmp.zc_word[0]); in abd_checksum_SHA256() 76 zcp->zc_word[1] = BE_64(tmp.zc_word[1]); in abd_checksum_SHA256() 77 zcp->zc_word[2] = BE_64(tmp.zc_word[2]); in abd_checksum_SHA256() 78 zcp->zc_word[3] = BE_64(tmp.zc_word[3]); in abd_checksum_SHA256() 98 zio_cksum_t tmp; in abd_checksum_SHA512_byteswap() local 101 zcp->zc_word[0] = BSWAP_64(tmp.zc_word[0]); in abd_checksum_SHA512_byteswap() 102 zcp->zc_word[1] = BSWAP_64(tmp.zc_word[1]); in abd_checksum_SHA512_byteswap() 103 zcp->zc_word[2] = BSWAP_64(tmp.zc_word[2]); in abd_checksum_SHA512_byteswap() [all …]
|
| /f-stack/freebsd/libkern/ |
| H A D | qdivrem.c | 84 union uu tmp; in __qdivrem() local 98 tmp.ul[H] = tmp.ul[L] = 1 / zero; in __qdivrem() 101 return (tmp.q); in __qdivrem() 125 tmp.uq = uq; in __qdivrem() 127 u[1] = HHALF(tmp.ul[H]); in __qdivrem() 128 u[2] = LHALF(tmp.ul[H]); in __qdivrem() 129 u[3] = HHALF(tmp.ul[L]); in __qdivrem() 131 tmp.uq = vq; in __qdivrem() 161 return (tmp.q); in __qdivrem() 269 *arq = tmp.q; in __qdivrem() [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | subr_atomic64.c | 102 ATOMIC64_EMU_UN(load, u_int64_t, (tmp = *p), return (tmp)); 106 ATOMIC64_EMU_BIN(swap, u_int64_t, tmp = *p; *p = v; v = tmp, return(v)); 110 u_int64_t tmp; in atomic_cmpset_64() local 113 tmp = *p; in atomic_cmpset_64() 114 if (tmp == old) in atomic_cmpset_64() 118 return (tmp == old); in atomic_cmpset_64() 123 u_int64_t tmp, tmp_old; in atomic_fcmpset_64() local 126 tmp = *p; in atomic_fcmpset_64() 128 if (tmp == tmp_old) in atomic_fcmpset_64() 131 *old = tmp; in atomic_fcmpset_64() [all …]
|