| /freebsd-14.2/lib/libmemstat/ |
| H A D | memstat.c | 104 free(mtp); in _memstat_mtl_empty() 138 return (mtp); in memstat_mtl_find() 155 mtp = malloc(sizeof(*mtp)); in _memstat_mt_allocate() 156 if (mtp == NULL) in _memstat_mt_allocate() 159 bzero(mtp, sizeof(*mtp)); in _memstat_mt_allocate() 168 return (mtp); in _memstat_mt_allocate() 186 mtp->mt_size = 0; in _memstat_mt_reset_stats() 192 mtp->mt_bytes = 0; in _memstat_mt_reset_stats() 193 mtp->mt_count = 0; in _memstat_mt_reset_stats() 194 mtp->mt_free = 0; in _memstat_mt_reset_stats() [all …]
|
| H A D | memstat_uma.c | 230 mtp->mt_bytes = mtp->mt_memalloced - mtp->mt_memfreed; in memstat_sysctl_uma() 234 mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; in memstat_sysctl_uma() 244 mtp->mt_free += mtp->mt_kegfree; in memstat_sysctl_uma() 246 mtp->mt_free += mtp->mt_zonefree; in memstat_sysctl_uma() 451 mtp->mt_memalloced = mtp->mt_numallocs * mtp->mt_size; in memstat_kvm_uma() 452 mtp->mt_memfreed = mtp->mt_numfrees * mtp->mt_size; in memstat_kvm_uma() 453 mtp->mt_bytes = mtp->mt_memalloced - mtp->mt_memfreed; in memstat_kvm_uma() 455 mtp->mt_byteslimit = mtp->mt_countlimit * mtp->mt_size; in memstat_kvm_uma() 456 mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; in memstat_kvm_uma() 483 mtp->mt_free += mtp->mt_kegfree; in memstat_kvm_uma() [all …]
|
| H A D | memstat.h | 128 const char *memstat_get_name(const struct memory_type *mtp); 129 int memstat_get_allocator(const struct memory_type *mtp); 133 uint64_t memstat_get_size(const struct memory_type *mtp); 134 uint64_t memstat_get_rsize(const struct memory_type *mtp); 139 uint64_t memstat_get_bytes(const struct memory_type *mtp); 140 uint64_t memstat_get_count(const struct memory_type *mtp); 141 uint64_t memstat_get_free(const struct memory_type *mtp); 143 uint64_t memstat_get_sleeps(const struct memory_type *mtp); 147 void memstat_set_caller_pointer(struct memory_type *mtp, 166 const struct memory_type *mtp, int cpu, int index); [all …]
|
| H A D | memstat_malloc.c | 83 struct memory_type *mtp; in memstat_sysctl_malloc() local 190 mtp = NULL; in memstat_sysctl_malloc() 191 if (mtp == NULL) in memstat_sysctl_malloc() 194 if (mtp == NULL) { in memstat_sysctl_malloc() 238 mtp->mt_bytes = mtp->mt_memalloced - mtp->mt_memfreed; in memstat_sysctl_malloc() 239 mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; in memstat_sysctl_malloc() 388 mtp = NULL; in memstat_kvm_malloc() 389 if (mtp == NULL) in memstat_kvm_malloc() 392 if (mtp == NULL) { in memstat_kvm_malloc() 433 mtp->mt_bytes = mtp->mt_memalloced - mtp->mt_memfreed; in memstat_kvm_malloc() [all …]
|
| H A D | memstat_internal.h | 125 void _memstat_mt_reset_stats(struct memory_type *mtp,
|
| /freebsd-14.2/usr.bin/netstat/ |
| H A D | mbuf.c | 71 struct memory_type *mtp; in mbpr() local 121 if (mtp == NULL) { in mbpr() 127 mbuf_free = memstat_get_free(mtp); in mbpr() 130 mbuf_size = memstat_get_size(mtp); in mbpr() 133 if (mtp == NULL) { in mbpr() 145 if (mtp == NULL) { in mbpr() 158 if (mtp == NULL) { in mbpr() 163 tag_bytes = memstat_get_bytes(mtp); in mbpr() 166 if (mtp == NULL) { in mbpr() 179 if (mtp == NULL) { in mbpr() [all …]
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_malloc.c | 890 *mtpp = mtp; in free_save_type() 1076 free(addr, mtp); in realloc() 1314 mtp = data; in malloc_init() 1317 mtp->ks_shortdesc, mtp->ks_version); in malloc_init() 1339 mtp = data; in malloc_uninit() 1386 for (mtp = kmemstatistics; mtp != NULL; mtp = mtp->ks_next) { in malloc_desc2type() 1388 return (mtp); in malloc_desc2type() 1425 for (mtp = kmemstatistics; mtp != NULL; mtp = mtp->ks_next) { in sysctl_kern_malloc_stats() 1486 for (mtp = kmemstatistics, i = 0; mtp != NULL; mtp = mtp->ks_next, i++) in malloc_type_list() 1551 for (mtp = kmemstatistics; mtp != NULL; mtp = mtp->ks_next) { in DB_SHOW_COMMAND_FLAGS() [all …]
|
| /freebsd-14.2/sys/libkern/ |
| H A D | asprintf.c | 35 vasprintf(char **buf, struct malloc_type *mtp, const char *format, va_list va) in vasprintf() argument 51 *buf = malloc(len, mtp, M_NOWAIT); in vasprintf() 57 free(*buf, mtp); in vasprintf() 65 asprintf(char **buf, struct malloc_type *mtp, const char *format, ...) in asprintf() argument 71 ret = vasprintf(buf, mtp, format, va); in asprintf()
|
| /freebsd-14.2/usr.bin/vmstat/ |
| H A D | vmstat.c | 1342 struct memory_type *mtp; in domemstat_malloc() local 1373 for (mtp = memstat_mtl_first(mtlp); mtp != NULL; in domemstat_malloc() 1374 mtp = memstat_mtl_next(mtp)) { in domemstat_malloc() 1376 memstat_get_count(mtp) == 0) in domemstat_malloc() 1383 memstat_get_name(mtp), (uintmax_t)memstat_get_count(mtp), in domemstat_malloc() 1409 struct memory_type *mtp; in domemstat_zone() local 1439 for (mtp = memstat_mtl_first(mtlp); mtp != NULL; in domemstat_zone() 1440 mtp = memstat_mtl_next(mtp)) { in domemstat_zone() 1441 len = strlen(memstat_get_name(mtp)); in domemstat_zone() 1448 (uintmax_t)memstat_get_size(mtp), in domemstat_zone() [all …]
|
| /freebsd-14.2/sys/vm/ |
| H A D | memguard.c | 416 memguard_realloc(void *addr, unsigned long size, struct malloc_type *mtp, in memguard_realloc() argument 457 memguard_cmp_mtp(struct malloc_type *mtp, unsigned long size) in memguard_cmp_mtp() argument 468 return (strcmp(mtp->ks_shortdesc, vm_memguard_desc) == 0); in memguard_cmp_mtp() 478 return (mtp == vm_memguard_mtype); in memguard_cmp_mtp() 479 if (strcmp(mtp->ks_shortdesc, vm_memguard_desc) == 0) { in memguard_cmp_mtp() 480 vm_memguard_mtype = mtp; in memguard_cmp_mtp()
|
| H A D | memguard.h | 52 #define memguard_realloc(a, s, mtp, f) NULL argument 55 #define memguard_cmp_mtp(mtp, size) 0 argument
|
| /freebsd-14.2/sys/contrib/device-tree/src/arm64/qcom/ |
| H A D | msm8916-mtp.dts | 12 compatible = "qcom,msm8916-mtp", "qcom,msm8916-mtp/1", "qcom,msm8916";
|
| H A D | msm8996-mtp.dts | 12 compatible = "qcom,msm8996-mtp", "qcom,msm8996";
|
| H A D | msm8998-mtp.dts | 13 compatible = "qcom,msm8998-mtp", "qcom,msm8998";
|
| H A D | sm8350-mtp.dts | 19 compatible = "qcom,sm8350-mtp", "qcom,sm8350";
|
| /freebsd-14.2/sys/cddl/dev/dtmalloc/ |
| H A D | dtmalloc.c | 104 dtmalloc_type_cb(struct malloc_type *mtp, void *arg __unused) in dtmalloc_type_cb() argument 107 struct malloc_type_internal *mtip = &mtp->ks_mti; in dtmalloc_type_cb() 115 strlcpy(name, mtp->ks_shortdesc, sizeof(name)); in dtmalloc_type_cb()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/arm/ |
| H A D | qcom.yaml | 99 mtp 170 - qcom,apq8084-mtp 289 - qcom,msm8996-mtp 311 - qcom,msm8998-mtp 812 - qcom,sdx55-mtp 819 - qcom,sdx65-mtp 861 - qcom,sdm845-mtp 916 - qcom,sm8150-mtp 925 - qcom,sm8250-mtp 935 - qcom,sm8350-mtp [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/src/arm/ |
| H A D | qcom-apq8084-mtp.dts | 7 compatible = "qcom,apq8084-mtp", "qcom,apq8084";
|
| H A D | qcom-sdx55-mtp.dts | 16 compatible = "qcom,sdx55-mtp", "qcom,sdx55";
|
| H A D | qcom-sdx65-mtp.dts | 15 compatible = "qcom,sdx65-mtp", "qcom,sdx65";
|
| /freebsd-14.2/sys/dev/sfxge/common/ |
| H A D | siena_mcdi.c | 171 __in const efx_mcdi_transport_t *mtp) in siena_mcdi_init() argument 178 _NOTE(ARGUNUSED(mtp)) in siena_mcdi_init()
|
| H A D | siena_impl.h | 112 __in const efx_mcdi_transport_t *mtp);
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | uma_zalloc_arg.sh | 76 @@ -472,6 +473,19 @@ malloc(unsigned long size, struct malloc_type *mtp, int flags) 83 + mtp->ks_shortdesc)) {
|
| /freebsd-14.2/sys/sys/ |
| H A D | malloc.h | 270 struct malloc_type *mtp, struct domainset *ds, int flags)
|
| H A D | systm.h | 221 int asprintf(char **ret, struct malloc_type *mtp, const char *format, 228 int vasprintf(char **ret, struct malloc_type *mtp, const char *format,
|