Home
last modified time | relevance | path

Searched refs:sm (Results 1 – 25 of 45) sorted by relevance

12

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dspace_map.c176 sm->sm_start + sm->sm_size); in space_map_iterate()
365 sm->sm_start + sm->sm_size); in space_map_incremental_destroy()
428 range_tree_add(rt, sm->sm_start, sm->sm_size); in space_map_load_length()
535 dmu_write(sm->sm_os, space_map_object(sm), sm->sm_phys->smp_length, in space_map_write_intro_debug()
768 sm->sm_phys->smp_object = sm->sm_object; in space_map_write()
799 error = dmu_bonus_hold(sm->sm_os, sm->sm_object, sm, &sm->sm_dbuf); in space_map_open_impl()
804 sm->sm_phys = sm->sm_dbuf->db_data; in space_map_open_impl()
847 dmu_buf_rele(sm->sm_dbuf, sm); in space_map_close()
851 kmem_free(sm, sizeof (*sm)); in space_map_close()
885 dmu_buf_rele(sm->sm_dbuf, sm); in space_map_truncate()
[all …]
H A Dspa_log_spacemap.c1119 space_map_t *sm = NULL; in spa_ld_log_sm_data() local
1120 error = space_map_open(&sm, spa_meta_objset(spa), in spa_ld_log_sm_data()
1133 error = space_map_iterate(sm, space_map_length(sm), in spa_ld_log_sm_data()
1136 space_map_close(sm); in spa_ld_log_sm_data()
1144 sls->sls_nblocks = space_map_nblocks(sm); in spa_ld_log_sm_data()
1149 space_map_close(sm); in spa_ld_log_sm_data()
H A Dmetaslab.c1977 space_map_t *sm = msp->ms_sm; in metaslab_aux_histograms_update() local
1978 ASSERT(sm != NULL); in metaslab_aux_histograms_update()
1990 sm->sm_shift, msp->ms_freed); in metaslab_aux_histograms_update()
2011 space_map_t *sm = msp->ms_sm; in metaslab_aux_histograms_update_done() local
2013 if (sm == NULL) { in metaslab_aux_histograms_update_done()
3033 space_map_t *sm = msp->ms_sm; in metaslab_weight_from_spacemap() local
3035 ASSERT(sm != NULL); in metaslab_weight_from_spacemap()
3510 space_map_t *sm = msp->ms_sm; in metaslab_should_condense() local
3516 ASSERT(sm != NULL); in metaslab_should_condense()
3548 space_map_t *sm = msp->ms_sm; in metaslab_condense() local
[all …]
/f-stack/freebsd/netinet/libalias/
H A Dalias_sctp.c1060 sm->ip_hdr = pip; in sctp_PktParser()
1066 sm->sctp_hdr = NULL; in sctp_PktParser()
1113 sm->msg = SN_SCTP_INIT; in sctp_PktParser()
1140 sm->msg = SN_SCTP_ABORT; in sctp_PktParser()
1345 switch (sm->msg) { in AddGlobalIPAddresses()
1755 switch (sm->msg) { in ID_process()
1824 switch (sm->msg) { in INi_process()
1876 switch (sm->msg) { in INa_process()
1924 switch (sm->msg) { in UP_process()
1967 switch (sm->msg) { in CL_process()
[all …]
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dspace_map.h213 int space_map_iterate(space_map_t *sm, uint64_t length,
219 void space_map_histogram_clear(space_map_t *sm);
220 void space_map_histogram_add(space_map_t *sm, range_tree_t *rt,
223 uint64_t space_map_object(space_map_t *sm);
224 int64_t space_map_allocated(space_map_t *sm);
225 uint64_t space_map_length(space_map_t *sm);
226 uint64_t space_map_entries(space_map_t *sm, range_tree_t *rt);
227 uint64_t space_map_nblocks(space_map_t *sm);
233 void space_map_truncate(space_map_t *sm, int blocksize, dmu_tx_t *tx);
235 void space_map_free(space_map_t *sm, dmu_tx_t *tx);
[all …]
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_sign/ed25519/ref10/
H A Dobsolete.c31 crypto_sign_edwards25519sha512batch(unsigned char *sm, in crypto_sign_edwards25519sha512batch() argument
60 memmove(sm + 32, m, (size_t) mlen); in crypto_sign_edwards25519sha512batch()
61 memcpy(sm, sig, 32); in crypto_sign_edwards25519sha512batch()
62 memcpy(sm + 32 + mlen, sig + 32, 32); in crypto_sign_edwards25519sha512batch()
71 const unsigned char *sm, in crypto_sign_edwards25519sha512batch_open() argument
90 if (sm[smlen - 1] & 224) { in crypto_sign_edwards25519sha512batch_open()
95 ge25519_has_small_order(sm) != 0 || in crypto_sign_edwards25519sha512batch_open()
96 ge25519_frombytes_negate_vartime(&R, sm) != 0) { in crypto_sign_edwards25519sha512batch_open()
100 crypto_hash_sha512(h, sm, mlen + 32); in crypto_sign_edwards25519sha512batch_open()
107 ge25519_scalarmult_base(&R, sm + 32 + mlen); in crypto_sign_edwards25519sha512batch_open()
[all …]
H A Dsign.c121 crypto_sign_ed25519(unsigned char *sm, unsigned long long *smlen_p, in crypto_sign_ed25519() argument
127 memmove(sm + crypto_sign_ed25519_BYTES, m, mlen); in crypto_sign_ed25519()
130 sm, &siglen, sm + crypto_sign_ed25519_BYTES, mlen, sk) != 0 || in crypto_sign_ed25519()
135 memset(sm, 0, mlen + crypto_sign_ed25519_BYTES); in crypto_sign_ed25519()
H A Dopen.c68 const unsigned char *sm, unsigned long long smlen, in crypto_sign_ed25519_open() argument
77 if (crypto_sign_ed25519_verify_detached(sm, sm + 64, mlen, pk) != 0) { in crypto_sign_ed25519_open()
84 memmove(m, sm + 64, mlen); in crypto_sign_ed25519_open()
/f-stack/freebsd/contrib/libsodium/test/default/
H A Dsign.c1073 unsigned char sm[1024 + crypto_sign_BYTES]; in main() local
1102 if (memcmp(test_data[i].sig, sm, crypto_sign_BYTES) != 0) { in main()
1106 if (crypto_sign_open(m, NULL, sm, smlen, test_data[i].pk) != 0) { in main()
1110 add_l(sm + 32); in main()
1117 if (crypto_sign_open(m, &mlen, sm, smlen, test_data[i].pk) != 0) { in main()
1126 sm[i + crypto_sign_BYTES - 1U]++; in main()
1131 if (crypto_sign_open(m, &mlen, sm, i % crypto_sign_BYTES, in main()
1162 memcpy(sm, test_data[i].m, i); in main()
1163 if (crypto_sign(sm, &smlen, sm, i, skpk) != 0) { in main()
1166 if (crypto_sign_open(sm, &mlen, sm, smlen, test_data[i].pk) != 0) { in main()
[all …]
/f-stack/freebsd/contrib/device-tree/Bindings/iio/chemical/
H A Datlas,sensor.yaml26 - atlas,do-sm
27 - atlas,ec-sm
28 - atlas,orp-sm
29 - atlas,ph-sm
30 - atlas,rtd-sm
52 compatible = "atlas,orp-sm";
/f-stack/dpdk/app/test/
H A Dtest_meter.c206 struct rte_meter_srtcm sm; in tm_test_srtcm_color_blind_check() local
213 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_color_blind_check()
217 &sm, &sp, time, TM_TEST_SRTCM_CBS_DF - 1) in tm_test_srtcm_color_blind_check()
224 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_color_blind_check()
228 &sm, &sp, time, TM_TEST_SRTCM_CBS_DF + 1) in tm_test_srtcm_color_blind_check()
234 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_color_blind_check()
244 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_color_blind_check()
248 &sm, &sp, time, TM_TEST_SRTCM_EBS_DF + 1) in tm_test_srtcm_color_blind_check()
390 struct rte_meter_srtcm sm; in tm_test_srtcm_aware_check() local
396 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_aware_check()
[all …]
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_sign/
H A Dcrypto_sign.c60 crypto_sign(unsigned char *sm, unsigned long long *smlen_p, in crypto_sign() argument
64 return crypto_sign_ed25519(sm, smlen_p, m, mlen, sk); in crypto_sign()
69 const unsigned char *sm, unsigned long long smlen, in crypto_sign_open() argument
72 return crypto_sign_ed25519_open(m, mlen_p, sm, smlen, pk); in crypto_sign_open()
/f-stack/freebsd/contrib/device-tree/Bindings/firmware/meson/
H A Dmeson_sm.txt7 - compatible: Should be "amlogic,meson-gxbb-sm"
12 sm: secure-monitor {
13 compatible = "amlogic,meson-gxbb-sm";
/f-stack/freebsd/contrib/device-tree/Bindings/nvmem/
H A Damlogic-efuse.txt20 secure-monitor = <&sm>;
35 sm: secure-monitor {
36 compatible = "amlogic,meson-gxbb-sm";
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-dfa.h341 cvmx_dfa_node_next_sm_t sm; /**< This format describes the DFA pointers in small mode */ member
549 next_ptr.sm.w32.next_node0 = destination_node0; in cvmx_dfa_write_edge_sm()
550 next_ptr.sm.w32.p0 = cvmx_llm_parity(destination_node0); in cvmx_dfa_write_edge_sm()
552 next_ptr.sm.w32.next_node1 = destination_node1; in cvmx_dfa_write_edge_sm()
553 next_ptr.sm.w32.p1 = cvmx_llm_parity(destination_node1); in cvmx_dfa_write_edge_sm()
557 next_ptr.sm.w36.next_node0 = destination_node0; in cvmx_dfa_write_edge_sm()
558 next_ptr.sm.w36.p0 = cvmx_llm_parity(destination_node0); in cvmx_dfa_write_edge_sm()
560 next_ptr.sm.w36.next_node1 = destination_node1; in cvmx_dfa_write_edge_sm()
561 next_ptr.sm.w36.p1 = cvmx_llm_parity(destination_node1); in cvmx_dfa_write_edge_sm()
/f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_sign_edwards25519sha512batch.h31 int crypto_sign_edwards25519sha512batch(unsigned char *sm,
41 const unsigned char *sm,
H A Dcrypto_sign.h60 int crypto_sign(unsigned char *sm, unsigned long long *smlen_p,
66 const unsigned char *sm, unsigned long long smlen,
H A Dcrypto_sign_ed25519.h43 int crypto_sign_ed25519(unsigned char *sm, unsigned long long *smlen_p,
49 const unsigned char *sm, unsigned long long smlen,
/f-stack/dpdk/lib/librte_acl/
H A Dacl_run_avx512x16.h252 __mmask16 cm, sm; in resolve_mcgt8_avx512x1() local
277 sm = _mm512_cmpgt_epi32_mask(cp, np); in resolve_mcgt8_avx512x1()
278 cr = _mm512_mask_mov_epi32(nr, sm, cr); in resolve_mcgt8_avx512x1()
279 cp = _mm512_mask_mov_epi32(np, sm, cp); in resolve_mcgt8_avx512x1()
/f-stack/dpdk/lib/librte_bpf/
H A Dbpf_load_elf.c194 Elf64_Sym *sm; in process_reloc() local
203 sm = sd->d_buf; in process_reloc()
212 if (sym * sizeof(sm[0]) >= sd->d_size) in process_reloc()
215 sn = elf_strptr(elf, eh->e_shstrndx, sm[sym].st_name); in process_reloc()
/f-stack/dpdk/drivers/common/mlx5/
H A Dmlx5_common_mp.c70 struct mlx5_mp_arg_queue_state_modify *sm) in mlx5_mp_req_queue_state_modify() argument
82 req->args.state_modify = *sm; in mlx5_mp_req_queue_state_modify()
H A Dmlx5_common_mp.h95 struct mlx5_mp_arg_queue_state_modify *sm);
/f-stack/freebsd/contrib/device-tree/src/arm64/amlogic/
H A Dmeson-a1.dtsi61 sm: secure-monitor { label
62 compatible = "amlogic,meson-gxbb-sm";
/f-stack/freebsd/contrib/device-tree/Bindings/power/
H A Damlogic,meson-sec-pwrc.yaml33 compatible = "amlogic,meson-gxbb-sm";
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb.c415 space_map_t *sm = NULL; in iterate_through_spacemap_logs() local
425 VERIFY0(space_map_iterate(sm, space_map_length(sm), in iterate_through_spacemap_logs()
427 space_map_close(sm); in iterate_through_spacemap_logs()
551 if (sm == NULL) in spacemap_check_ms_sm()
554 VERIFY0(space_map_iterate(sm, space_map_length(sm), in spacemap_check_ms_sm()
1366 if (sm != NULL && in get_dtl_refcount()
1386 if (sm != NULL && in get_metaslab_refcount()
1491 if (sm == NULL) in dump_spacemap()
1543 sm->sm_start; in dump_spacemap()
1864 space_map_t *sm = NULL; in dump_log_spacemaps() local
[all …]

12