| /f-stack/tools/libmemstat/ |
| H A D | memstat.c | 110 free(mtp); in _memstat_mtl_empty() 144 return (mtp); in memstat_mtl_find() 161 mtp = malloc(sizeof(*mtp)); in _memstat_mt_allocate() 162 if (mtp == NULL) in _memstat_mt_allocate() 165 bzero(mtp, sizeof(*mtp)); in _memstat_mt_allocate() 174 return (mtp); in _memstat_mt_allocate() 192 mtp->mt_size = 0; in _memstat_mt_reset_stats() 198 mtp->mt_bytes = 0; in _memstat_mt_reset_stats() 199 mtp->mt_count = 0; in _memstat_mt_reset_stats() 200 mtp->mt_free = 0; in _memstat_mt_reset_stats() [all …]
|
| H A D | memstat_uma.c | 238 mtp->mt_bytes = mtp->mt_memalloced - mtp->mt_memfreed; in memstat_sysctl_uma() 242 mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; in memstat_sysctl_uma() 252 mtp->mt_free += mtp->mt_kegfree; in memstat_sysctl_uma() 254 mtp->mt_free += mtp->mt_zonefree; in memstat_sysctl_uma() 460 mtp->mt_memalloced = mtp->mt_numallocs * mtp->mt_size; in memstat_kvm_uma() 461 mtp->mt_memfreed = mtp->mt_numfrees * mtp->mt_size; in memstat_kvm_uma() 462 mtp->mt_bytes = mtp->mt_memalloced - mtp->mt_memfreed; in memstat_kvm_uma() 464 mtp->mt_byteslimit = mtp->mt_countlimit * mtp->mt_size; in memstat_kvm_uma() 465 mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; in memstat_kvm_uma() 492 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 | 93 struct memory_type *mtp; in memstat_sysctl_malloc() local 202 mtp = NULL; in memstat_sysctl_malloc() 203 if (mtp == NULL) in memstat_sysctl_malloc() 206 if (mtp == NULL) { in memstat_sysctl_malloc() 250 mtp->mt_bytes = mtp->mt_memalloced - mtp->mt_memfreed; in memstat_sysctl_malloc() 251 mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; in memstat_sysctl_malloc() 401 mtp = NULL; in memstat_kvm_malloc() 402 if (mtp == NULL) in memstat_kvm_malloc() 405 if (mtp == NULL) { in memstat_kvm_malloc() 446 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,
|
| /f-stack/tools/netstat/ |
| H A D | mbuf.c | 79 struct memory_type *mtp; in mbpr() local 133 if (mtp == NULL) { in mbpr() 139 mbuf_free = memstat_get_free(mtp); in mbpr() 142 mbuf_size = memstat_get_size(mtp); in mbpr() 145 if (mtp == NULL) { in mbpr() 157 if (mtp == NULL) { in mbpr() 170 if (mtp == NULL) { in mbpr() 175 tag_bytes = memstat_get_bytes(mtp); in mbpr() 178 if (mtp == NULL) { in mbpr() 191 if (mtp == NULL) { in mbpr() [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | kern_malloc.c | 824 *mtpp = mtp; in free_save_type() 1000 free(addr, mtp); in realloc() 1210 mtp = data; in malloc_init() 1213 mtp->ks_shortdesc, mtp->ks_version); in malloc_init() 1235 mtp = data; in malloc_uninit() 1282 for (mtp = kmemstatistics; mtp != NULL; mtp = mtp->ks_next) { in malloc_desc2type() 1284 return (mtp); in malloc_desc2type() 1321 for (mtp = kmemstatistics; mtp != NULL; mtp = mtp->ks_next) { in sysctl_kern_malloc_stats() 1382 for (mtp = kmemstatistics, i = 0; mtp != NULL; mtp = mtp->ks_next, i++) in malloc_type_list() 1447 for (mtp = kmemstatistics; mtp != NULL; mtp = mtp->ks_next) { in DB_SHOW_COMMAND() [all …]
|
| /f-stack/freebsd/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()
|
| /f-stack/freebsd/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 | sm8250-mtp.dts | 17 compatible = "qcom,sm8250-mtp";
|
| H A D | sm8150-mtp.dts | 18 compatible = "qcom,sm8150-mtp";
|
| H A D | sdm845-mtp.dts | 16 compatible = "qcom,sdm845-mtp", "qcom,sdm845";
|
| /f-stack/freebsd/vm/ |
| H A D | memguard.h | 54 #define memguard_realloc(a, s, mtp, f) NULL argument 57 #define memguard_cmp_mtp(mtp, size) 0 argument
|
| 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()
|
| /f-stack/freebsd/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
|
| /f-stack/freebsd/contrib/device-tree/src/arm/ |
| H A D | qcom-apq8084-mtp.dts | 7 compatible = "qcom,apq8084-mtp", "qcom,apq8084";
|
| /f-stack/dpdk/drivers/common/sfc_efx/base/ |
| H A D | siena_mcdi.c | 148 __in const efx_mcdi_transport_t *mtp) in siena_mcdi_init() argument 155 _NOTE(ARGUNUSED(mtp)) in siena_mcdi_init()
|
| H A D | siena_impl.h | 110 __in const efx_mcdi_transport_t *mtp);
|
| H A D | ef10_impl.h | 398 __in const efx_mcdi_transport_t *mtp);
|
| H A D | efx.h | 351 __in const efx_mcdi_transport_t *mtp);
|
| /f-stack/lib/ |
| H A D | ff_glue.c | 1268 malloc_domainset(size_t size, struct malloc_type *mtp, struct domainset *ds, in malloc_domainset() argument 1271 return (malloc(size, mtp, flags)); in malloc_domainset() 1275 malloc_exec(size_t size, struct malloc_type *mtp, int flags) in malloc_exec() argument 1278 return (malloc(size, mtp, flags)); in malloc_exec()
|
| /f-stack/freebsd/sys/ |
| H A D | malloc.h | 268 struct malloc_type *mtp, struct domainset *ds, int flags)
|
| H A D | systm.h | 321 int asprintf(char **ret, struct malloc_type *mtp, const char *format, 328 int vasprintf(char **ret, struct malloc_type *mtp, const char *format,
|