Searched refs:mtp (Results 1 - 16 of 16) sorted by relevance

/freebsd-10.1-release/lib/libmemstat/
H A Dmemstat.c88 memstat_mtl_next(struct memory_type *mtp) argument
91 return (LIST_NEXT(mtp, mt_list));
97 struct memory_type *mtp; local
99 while ((mtp = LIST_FIRST(&list->mtl_list))) {
100 free(mtp->mt_percpu_alloc);
101 free(mtp->mt_percpu_cache);
102 LIST_REMOVE(mtp, mt_list);
103 free(mtp);
131 struct memory_type *mtp; local
133 LIST_FOREACH(mtp,
152 struct memory_type *mtp; local
178 _memstat_mt_reset_stats(struct memory_type *mtp, int maxcpus) argument
215 memstat_get_name(const struct memory_type *mtp) argument
222 memstat_get_allocator(const struct memory_type *mtp) argument
229 memstat_get_countlimit(const struct memory_type *mtp) argument
236 memstat_get_byteslimit(const struct memory_type *mtp) argument
243 memstat_get_sizemask(const struct memory_type *mtp) argument
250 memstat_get_size(const struct memory_type *mtp) argument
257 memstat_get_memalloced(const struct memory_type *mtp) argument
264 memstat_get_memfreed(const struct memory_type *mtp) argument
271 memstat_get_numallocs(const struct memory_type *mtp) argument
278 memstat_get_numfrees(const struct memory_type *mtp) argument
285 memstat_get_bytes(const struct memory_type *mtp) argument
292 memstat_get_count(const struct memory_type *mtp) argument
299 memstat_get_free(const struct memory_type *mtp) argument
306 memstat_get_failures(const struct memory_type *mtp) argument
313 memstat_get_sleeps(const struct memory_type *mtp) argument
320 memstat_get_caller_pointer(const struct memory_type *mtp, int index) argument
327 memstat_set_caller_pointer(struct memory_type *mtp, int index, void *value) argument
334 memstat_get_caller_uint64(const struct memory_type *mtp, int index) argument
341 memstat_set_caller_uint64(struct memory_type *mtp, int index, uint64_t value) argument
348 memstat_get_zonefree(const struct memory_type *mtp) argument
355 memstat_get_kegfree(const struct memory_type *mtp) argument
362 memstat_get_percpu_memalloced(const struct memory_type *mtp, int cpu) argument
369 memstat_get_percpu_memfreed(const struct memory_type *mtp, int cpu) argument
376 memstat_get_percpu_numallocs(const struct memory_type *mtp, int cpu) argument
383 memstat_get_percpu_numfrees(const struct memory_type *mtp, int cpu) argument
390 memstat_get_percpu_sizemask(const struct memory_type *mtp, int cpu) argument
397 memstat_get_percpu_caller_pointer(const struct memory_type *mtp, int cpu, int index) argument
405 memstat_set_percpu_caller_pointer(struct memory_type *mtp, int cpu, int index, void *value) argument
413 memstat_get_percpu_caller_uint64(const struct memory_type *mtp, int cpu, int index) argument
421 memstat_set_percpu_caller_uint64(struct memory_type *mtp, int cpu, int index, uint64_t value) argument
429 memstat_get_percpu_free(const struct memory_type *mtp, int cpu) argument
[all...]
H A Dmemstat.h98 struct memory_type *memstat_mtl_next(struct memory_type *mtp);
121 const char *memstat_get_name(const struct memory_type *mtp);
122 int memstat_get_allocator(const struct memory_type *mtp);
123 uint64_t memstat_get_countlimit(const struct memory_type *mtp);
124 uint64_t memstat_get_byteslimit(const struct memory_type *mtp);
125 uint64_t memstat_get_sizemask(const struct memory_type *mtp);
126 uint64_t memstat_get_size(const struct memory_type *mtp);
127 uint64_t memstat_get_memalloced(const struct memory_type *mtp);
128 uint64_t memstat_get_memfreed(const struct memory_type *mtp);
129 uint64_t memstat_get_numallocs(const struct memory_type *mtp);
[all...]
H A Dmemstat_uma.c80 struct memory_type *mtp; local
179 mtp = memstat_mtl_find(list, ALLOCATOR_UMA,
182 mtp = NULL;
183 if (mtp == NULL)
184 mtp = _memstat_mt_allocate(list, ALLOCATOR_UMA,
186 if (mtp == NULL) {
196 _memstat_mt_reset_stats(mtp, maxid + 1);
198 mtp->mt_numallocs = uthp->uth_allocs;
199 mtp->mt_numfrees = uthp->uth_frees;
200 mtp
299 struct memory_type *mtp; local
[all...]
H A Dmemstat_malloc.c71 struct memory_type *mtp; local
170 mtp = memstat_mtl_find(list, ALLOCATOR_MALLOC,
173 mtp = NULL;
174 if (mtp == NULL)
175 mtp = _memstat_mt_allocate(list, ALLOCATOR_MALLOC,
177 if (mtp == NULL) {
187 _memstat_mt_reset_stats(mtp, maxcpus);
197 mtp->mt_memalloced += mtsp->mts_memalloced;
198 mtp->mt_memfreed += mtsp->mts_memfreed;
199 mtp
283 struct memory_type *mtp; local
[all...]
H A Dmemstat_internal.h123 void _memstat_mt_reset_stats(struct memory_type *mtp,
/freebsd-10.1-release/usr.bin/netstat/
H A Dmbuf.c69 struct memory_type *mtp; local
118 mtp = memstat_mtl_find(mtlp, ALLOCATOR_UMA, MBUF_MEM_NAME);
119 if (mtp == NULL) {
123 mbuf_count = memstat_get_count(mtp);
124 mbuf_bytes = memstat_get_bytes(mtp);
125 mbuf_free = memstat_get_free(mtp);
126 mbuf_failures = memstat_get_failures(mtp);
127 mbuf_sleeps = memstat_get_sleeps(mtp);
128 mbuf_size = memstat_get_size(mtp);
130 mtp
[all...]
/freebsd-10.1-release/sys/kern/
H A Dkern_malloc.c326 malloc_type_zone_allocated(struct malloc_type *mtp, unsigned long size, argument
333 mtip = mtp->ks_handle;
347 (uintptr_t) mtp, (uintptr_t) mtip,
356 malloc_type_allocated(struct malloc_type *mtp, unsigned long size) argument
360 malloc_type_zone_allocated(mtp, size, -1);
370 malloc_type_freed(struct malloc_type *mtp, unsigned long size) argument
376 mtip = mtp->ks_handle;
386 (uintptr_t) mtp, (uintptr_t) mtip,
440 malloc(unsigned long size, struct malloc_type *mtp, int flags) argument
451 KASSERT(mtp
540 free(void *addr, struct malloc_type *mtp) argument
601 realloc(void *addr, unsigned long size, struct malloc_type *mtp, int flags) argument
660 reallocf(void *addr, unsigned long size, struct malloc_type *mtp, int flags) argument
815 struct malloc_type *mtp; local
839 struct malloc_type *mtp, *temp; local
891 struct malloc_type *mtp; local
907 struct malloc_type *mtp; local
963 struct malloc_type *mtp, **bufmtp; local
998 struct malloc_type *mtp; local
1029 struct malloc_type *mtp; local
[all...]
/freebsd-10.1-release/sys/vm/
H A Dmemguard.h51 #define memguard_realloc(a, s, mtp, f) NULL
53 #define memguard_cmp_mtp(mtp, size) 0
H A Dmemguard.c93 * If mtp is NULL, it will be initialized in memguard_cmp().
432 memguard_realloc(void *addr, unsigned long size, struct malloc_type *mtp, argument
473 memguard_cmp_mtp(struct malloc_type *mtp, unsigned long size) argument
484 return (strcmp(mtp->ks_shortdesc, vm_memguard_desc) == 0);
494 return (mtp == vm_memguard_mtype);
495 if (strcmp(mtp->ks_shortdesc, vm_memguard_desc) == 0) {
496 vm_memguard_mtype = mtp;
/freebsd-10.1-release/usr.bin/vmstat/
H A Dvmstat.c1208 struct memory_type *mtp; local
1235 for (mtp = memstat_mtl_first(mtlp); mtp != NULL;
1236 mtp = memstat_mtl_next(mtp)) {
1237 if (memstat_get_numallocs(mtp) == 0 &&
1238 memstat_get_count(mtp) == 0)
1241 memstat_get_name(mtp), memstat_get_count(mtp),
1242 (memstat_get_bytes(mtp)
1262 struct memory_type *mtp; local
[all...]
/freebsd-10.1-release/sys/cddl/dev/dtmalloc/
H A Ddtmalloc.c111 dtmalloc_type_cb(struct malloc_type *mtp, void *arg __unused) argument
114 struct malloc_type_internal *mtip = mtp->ks_handle;
122 strlcpy(name, mtp->ks_shortdesc, sizeof(name));
/freebsd-10.1-release/contrib/amd/amq/
H A Damq.c628 amq_mount_tree_p *mtp = amqproc_mnttree_1(&fs, clnt); local
629 if (mtp) {
630 amq_mount_tree *mt = *mtp;
642 xdr_pri_free((XDRPROC_T_TYPE) xdr_amq_mount_tree_p, (caddr_t) mtp);
/freebsd-10.1-release/usr.sbin/bhyve/
H A Dbhyverun.c236 struct mt_vmm_info *mtp; local
239 mtp = param;
240 vcpu = mtp->mt_vcpu;
243 pthread_set_name_np(mtp->mt_thr, tname);
245 vm_loop(mtp->mt_ctx, vcpu, vmexit[vcpu].rip);
/freebsd-10.1-release/etc/
H A Dprotocols103 mtp 92 MTP # Multicast Transport Protocol
/freebsd-10.1-release/sys/dev/sfxge/common/
H A Defx_mcdi.c588 __in const efx_mcdi_transport_t *mtp)
601 emip->emi_mtp = mtp;
586 efx_mcdi_init( __in efx_nic_t *enp, __in const efx_mcdi_transport_t *mtp) argument
H A Defx.h165 __in const efx_mcdi_transport_t *mtp);

Completed in 119 milliseconds