| /freebsd-13.1/lib/libmemstat/ |
| H A D | memstat.c | 106 free(mtp); in _memstat_mtl_empty() 140 return (mtp); in memstat_mtl_find() 157 mtp = malloc(sizeof(*mtp)); in _memstat_mt_allocate() 158 if (mtp == NULL) in _memstat_mt_allocate() 161 bzero(mtp, sizeof(*mtp)); in _memstat_mt_allocate() 170 return (mtp); in _memstat_mt_allocate() 188 mtp->mt_size = 0; in _memstat_mt_reset_stats() 194 mtp->mt_bytes = 0; in _memstat_mt_reset_stats() 195 mtp->mt_count = 0; in _memstat_mt_reset_stats() 196 mtp->mt_free = 0; in _memstat_mt_reset_stats() [all …]
|
| H A D | memstat_uma.c | 232 mtp->mt_bytes = mtp->mt_memalloced - mtp->mt_memfreed; in memstat_sysctl_uma() 236 mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; in memstat_sysctl_uma() 246 mtp->mt_free += mtp->mt_kegfree; in memstat_sysctl_uma() 248 mtp->mt_free += mtp->mt_zonefree; in memstat_sysctl_uma() 453 mtp->mt_memalloced = mtp->mt_numallocs * mtp->mt_size; in memstat_kvm_uma() 454 mtp->mt_memfreed = mtp->mt_numfrees * mtp->mt_size; in memstat_kvm_uma() 455 mtp->mt_bytes = mtp->mt_memalloced - mtp->mt_memfreed; in memstat_kvm_uma() 457 mtp->mt_byteslimit = mtp->mt_countlimit * mtp->mt_size; in memstat_kvm_uma() 458 mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; in memstat_kvm_uma() 485 mtp->mt_free += mtp->mt_kegfree; in memstat_kvm_uma() [all …]
|
| H A D | memstat.h | 130 const char *memstat_get_name(const struct memory_type *mtp); 131 int memstat_get_allocator(const struct memory_type *mtp); 135 uint64_t memstat_get_size(const struct memory_type *mtp); 136 uint64_t memstat_get_rsize(const struct memory_type *mtp); 141 uint64_t memstat_get_bytes(const struct memory_type *mtp); 142 uint64_t memstat_get_count(const struct memory_type *mtp); 143 uint64_t memstat_get_free(const struct memory_type *mtp); 145 uint64_t memstat_get_sleeps(const struct memory_type *mtp); 149 void memstat_set_caller_pointer(struct memory_type *mtp, 168 const struct memory_type *mtp, int cpu, int index); [all …]
|
| H A D | memstat_malloc.c | 85 struct memory_type *mtp; in memstat_sysctl_malloc() local 192 mtp = NULL; in memstat_sysctl_malloc() 193 if (mtp == NULL) in memstat_sysctl_malloc() 196 if (mtp == NULL) { in memstat_sysctl_malloc() 240 mtp->mt_bytes = mtp->mt_memalloced - mtp->mt_memfreed; in memstat_sysctl_malloc() 241 mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; in memstat_sysctl_malloc() 390 mtp = NULL; in memstat_kvm_malloc() 391 if (mtp == NULL) in memstat_kvm_malloc() 394 if (mtp == NULL) { in memstat_kvm_malloc() 435 mtp->mt_bytes = mtp->mt_memalloced - mtp->mt_memfreed; in memstat_kvm_malloc() [all …]
|
| H A D | memstat_internal.h | 127 void _memstat_mt_reset_stats(struct memory_type *mtp,
|
| /freebsd-13.1/usr.bin/netstat/ |
| H A D | mbuf.c | 73 struct memory_type *mtp; in mbpr() local 123 if (mtp == NULL) { in mbpr() 129 mbuf_free = memstat_get_free(mtp); in mbpr() 132 mbuf_size = memstat_get_size(mtp); in mbpr() 135 if (mtp == NULL) { in mbpr() 147 if (mtp == NULL) { in mbpr() 160 if (mtp == NULL) { in mbpr() 165 tag_bytes = memstat_get_bytes(mtp); in mbpr() 168 if (mtp == NULL) { in mbpr() 181 if (mtp == NULL) { in mbpr() [all …]
|
| /freebsd-13.1/sys/kern/ |
| H A D | kern_malloc.c | 854 *mtpp = mtp; in free_save_type() 1038 free(addr, mtp); in realloc() 1258 mtp = data; in malloc_init() 1261 mtp->ks_shortdesc, mtp->ks_version); in malloc_init() 1283 mtp = data; in malloc_uninit() 1330 for (mtp = kmemstatistics; mtp != NULL; mtp = mtp->ks_next) { in malloc_desc2type() 1332 return (mtp); in malloc_desc2type() 1369 for (mtp = kmemstatistics; mtp != NULL; mtp = mtp->ks_next) { in sysctl_kern_malloc_stats() 1430 for (mtp = kmemstatistics, i = 0; mtp != NULL; mtp = mtp->ks_next, i++) in malloc_type_list() 1495 for (mtp = kmemstatistics; mtp != NULL; mtp = mtp->ks_next) { in DB_SHOW_COMMAND() [all …]
|
| /freebsd-13.1/sys/libkern/ |
| H A D | asprintf.c | 37 vasprintf(char **buf, struct malloc_type *mtp, const char *format, va_list va) in vasprintf() argument 53 *buf = malloc(len, mtp, M_NOWAIT); in vasprintf() 59 free(*buf, mtp); in vasprintf() 67 asprintf(char **buf, struct malloc_type *mtp, const char *format, ...) in asprintf() argument 73 ret = vasprintf(buf, mtp, format, va); in asprintf()
|
| /freebsd-13.1/sys/contrib/device-tree/src/arm64/qcom/ |
| H A D | msm8916-mtp.dts | 8 #include "msm8916-mtp.dtsi" 12 compatible = "qcom,msm8916-mtp", "qcom,msm8916-mtp/1", 13 "qcom,msm8916", "qcom,mtp";
|
| H A D | msm8996-mtp.dts | 8 #include "msm8996-mtp.dtsi" 12 compatible = "qcom,msm8996-mtp";
|
| H A D | msm8998-mtp.dts | 6 #include "msm8998-mtp.dtsi" 10 compatible = "qcom,msm8998-mtp";
|
| H A D | sm8150-mtp.dts | 18 compatible = "qcom,sm8150-mtp";
|
| H A D | sm8250-mtp.dts | 17 compatible = "qcom,sm8250-mtp";
|
| /freebsd-13.1/usr.bin/vmstat/ |
| H A D | vmstat.c | 1409 struct memory_type *mtp; in domemstat_malloc() local 1440 for (mtp = memstat_mtl_first(mtlp); mtp != NULL; in domemstat_malloc() 1441 mtp = memstat_mtl_next(mtp)) { in domemstat_malloc() 1443 memstat_get_count(mtp) == 0) in domemstat_malloc() 1448 memstat_get_name(mtp), (uintmax_t)memstat_get_count(mtp), in domemstat_malloc() 1474 struct memory_type *mtp; in domemstat_zone() local 1505 for (mtp = memstat_mtl_first(mtlp); mtp != NULL; in domemstat_zone() 1506 mtp = memstat_mtl_next(mtp)) { in domemstat_zone() 1514 memstat_get_name(mtp), in domemstat_zone() 1515 (uintmax_t)memstat_get_size(mtp), in domemstat_zone() [all …]
|
| /freebsd-13.1/sys/vm/ |
| H A D | memguard.c | 418 memguard_realloc(void *addr, unsigned long size, struct malloc_type *mtp, in memguard_realloc() argument 459 memguard_cmp_mtp(struct malloc_type *mtp, unsigned long size) in memguard_cmp_mtp() argument 470 return (strcmp(mtp->ks_shortdesc, vm_memguard_desc) == 0); in memguard_cmp_mtp() 480 return (mtp == vm_memguard_mtype); in memguard_cmp_mtp() 481 if (strcmp(mtp->ks_shortdesc, vm_memguard_desc) == 0) { in memguard_cmp_mtp() 482 vm_memguard_mtype = mtp; in memguard_cmp_mtp()
|
| H A D | memguard.h | 54 #define memguard_realloc(a, s, mtp, f) NULL argument 57 #define memguard_cmp_mtp(mtp, size) 0 argument
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/arm/ |
| H A D | qcom.yaml | 52 mtp 102 - qcom,apq8084-mtp 121 - const: qcom,msm8916-mtp/1 122 - const: qcom,msm8916-mtp 133 - const: qcom,msm8996-mtp
|
| /freebsd-13.1/sys/cddl/dev/dtmalloc/ |
| H A D | dtmalloc.c | 114 dtmalloc_type_cb(struct malloc_type *mtp, void *arg __unused) in dtmalloc_type_cb() argument 117 struct malloc_type_internal *mtip = &mtp->ks_mti; in dtmalloc_type_cb() 125 strlcpy(name, mtp->ks_shortdesc, sizeof(name)); in dtmalloc_type_cb()
|
| /freebsd-13.1/sys/contrib/device-tree/src/arm/ |
| H A D | qcom-apq8084-mtp.dts | 7 compatible = "qcom,apq8084-mtp", "qcom,apq8084";
|
| /freebsd-13.1/sys/dev/sfxge/common/ |
| H A D | siena_mcdi.c | 173 __in const efx_mcdi_transport_t *mtp) in siena_mcdi_init() argument 180 _NOTE(ARGUNUSED(mtp)) in siena_mcdi_init()
|
| H A D | siena_impl.h | 114 __in const efx_mcdi_transport_t *mtp);
|
| /freebsd-13.1/usr.sbin/bhyve/ |
| H A D | bhyverun.c | 527 struct mt_vmm_info *mtp; in fbsdrun_start_thread() local 530 mtp = param; in fbsdrun_start_thread() 531 vcpu = mtp->mt_vcpu; in fbsdrun_start_thread() 534 pthread_set_name_np(mtp->mt_thr, tname); in fbsdrun_start_thread() 541 vm_loop(mtp->mt_ctx, vcpu, vmexit[vcpu].rip); in fbsdrun_start_thread()
|
| /freebsd-13.1/sys/sys/ |
| H A D | malloc.h | 271 struct malloc_type *mtp, struct domainset *ds, int flags)
|
| H A D | systm.h | 211 int asprintf(char **ret, struct malloc_type *mtp, const char *format, 218 int vasprintf(char **ret, struct malloc_type *mtp, const char *format,
|
| /freebsd-13.1/lib/libc/net/ |
| H A D | protocols | 103 mtp 92 MTP # Multicast Transport Protocol
|