Home
last modified time | relevance | path

Searched refs:zone (Results 1 – 25 of 104) sorted by relevance

12345

/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-zone.c67 cvmx_zone_t zone; in cvmx_zone_create_from_addr() local
82 zone->name = name; in cvmx_zone_create_from_addr()
92 *(void **)(zone->baseptr + (i*elem_size)) = zone->freelist; in cvmx_zone_create_from_addr()
93 zone->freelist = (void *)(zone->baseptr + (i*elem_size)); in cvmx_zone_create_from_addr()
96 return(zone); in cvmx_zone_create_from_addr()
103 cvmx_zone_t zone; in cvmx_zone_create_from_arena() local
107 if (NULL == zone) in cvmx_zone_create_from_arena()
127 *(void **)(zone->baseptr + (i*elem_size)) = zone->freelist; in cvmx_zone_create_from_arena()
128 zone->freelist = (void *)(zone->baseptr + (i*elem_size)); in cvmx_zone_create_from_arena()
131 return(zone); in cvmx_zone_create_from_arena()
[all …]
H A Dcvmx-malloc.h156 static inline uint32_t cvmx_zone_size(cvmx_zone_t zone) in cvmx_zone_size() argument
158 return(zone->elem_size); in cvmx_zone_size()
160 static inline char *cvmx_zone_name(cvmx_zone_t zone) in cvmx_zone_name() argument
162 return(zone->name); in cvmx_zone_name()
212 void * cvmx_zone_alloc(cvmx_zone_t zone, uint32_t flags);
219 void cvmx_zone_free(cvmx_zone_t zone, void *ptr);
/f-stack/freebsd/vm/
H A Duma_core.c503 zone->uz_name, zone, bucket); in bucket_alloc()
2277 zone = arg->zone; in keg_ctor()
2689 zone->uz_arg = zone; in zone_ctor()
2723 karg.zone = zone; in zone_ctor()
3047 args.zone = zone; in uma_kcreate()
3537 zone->uz_name, zone, bucket); in cache_alloc()
3617 item = item_ctor(zone, zone->uz_flags, zone->uz_size, udata, in uma_zalloc_domain()
4119 zone->uz_name, zone); in zone_alloc_item()
4129 zone->uz_name, zone); in zone_alloc_item()
4294 zone->uz_name, zone, bucket); in zone_free_cross()
[all …]
H A Duma.h309 void uma_zdestroy(uma_zone_t zone);
356 uma_zalloc(uma_zone_t zone, int flags) in uma_zalloc() argument
397 uma_zfree(uma_zone_t zone, void *item) in uma_zfree() argument
399 uma_zfree_arg(zone, item, NULL); in uma_zfree()
405 uma_zfree_pcpu_arg(zone, item, NULL); in uma_zfree_pcpu()
411 void uma_zwait(uma_zone_t zone);
525 int uma_zone_get_max(uma_zone_t zone);
561 int uma_zone_get_cur(uma_zone_t zone);
625 smr_t uma_zone_get_smr(uma_zone_t zone);
658 int uma_zone_exhausted(uma_zone_t zone);
[all …]
H A Duma_int.h557 #define KEG_GET(zone, keg) do { \ argument
558 (keg) = (zone)->uz_keg; \
560 ("%s: Invalid zone %p type", __func__, (zone))); \
629 vtozoneslab(vm_offset_t va, uma_zone_t *zone, uma_slab_t *slab) in vtozoneslab() argument
635 *zone = p->plinks.uma.zone; in vtozoneslab()
639 vsetzoneslab(vm_offset_t va, uma_zone_t zone, uma_slab_t slab) in vsetzoneslab() argument
645 p->plinks.uma.zone = zone; in vsetzoneslab()
673 void *uma_small_alloc(uma_zone_t zone, vm_size_t bytes, int domain,
H A Dvm_pager.c197 uma_zone_t zone; in pbuf_zsecond_create() local
199 zone = uma_zsecond_create(name, pbuf_ctor, pbuf_dtor, NULL, NULL, in pbuf_zsecond_create()
208 nswbuf_max += uma_zone_set_max(zone, max); in pbuf_zsecond_create()
210 uma_prealloc(pbuf_zone, uma_zone_set_max(zone, max)); in pbuf_zsecond_create()
212 return (zone); in pbuf_zsecond_create()
H A Dmemguard.c490 memguard_cmp_zone(uma_zone_t zone) in memguard_cmp_zone() argument
494 zone->uz_flags & UMA_ZONE_NOFREE) in memguard_cmp_zone()
497 if (memguard_cmp(zone->uz_size)) in memguard_cmp_zone()
504 return (strcmp(zone->uz_name, vm_memguard_desc) == 0); in memguard_cmp_zone()
/f-stack/tools/compat/include/vm/
H A Duma.h309 void uma_zdestroy(uma_zone_t zone);
356 uma_zalloc(uma_zone_t zone, int flags) in uma_zalloc() argument
397 uma_zfree(uma_zone_t zone, void *item) in uma_zfree() argument
399 uma_zfree_arg(zone, item, NULL); in uma_zfree()
405 uma_zfree_pcpu_arg(zone, item, NULL); in uma_zfree_pcpu()
411 void uma_zwait(uma_zone_t zone);
525 int uma_zone_get_max(uma_zone_t zone);
561 int uma_zone_get_cur(uma_zone_t zone);
625 smr_t uma_zone_get_smr(uma_zone_t zone);
658 int uma_zone_exhausted(uma_zone_t zone);
[all …]
H A Duma_int.h556 #define KEG_GET(zone, keg) do { \ argument
557 (keg) = (zone)->uz_keg; \
559 ("%s: Invalid zone %p type", __func__, (zone))); \
627 vtozoneslab(vm_offset_t va, uma_zone_t *zone, uma_slab_t *slab) in vtozoneslab() argument
633 *zone = p->plinks.uma.zone; in vtozoneslab()
637 vsetzoneslab(vm_offset_t va, uma_zone_t zone, uma_slab_t slab) in vsetzoneslab() argument
643 p->plinks.uma.zone = zone; in vsetzoneslab()
670 void *uma_small_alloc(uma_zone_t zone, vm_size_t bytes, int domain,
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Dzone.c208 zone_destroy(malloc_zone_t *zone) { in zone_destroy() argument
233 zone_free(zone, to_be_freed[i]); in zone_batch_free()
259 zone_check(malloc_zone_t *zone) { in zone_check() argument
272 zone_force_lock(malloc_zone_t *zone) { in zone_force_lock() argument
285 zone_force_unlock(malloc_zone_t *zone) { in zone_force_unlock() argument
319 zone_locked(malloc_zone_t *zone) { in zone_locked() argument
325 zone_reinit_lock(malloc_zone_t *zone) { in zone_reinit_lock() argument
328 zone_force_unlock(zone); in zone_reinit_lock()
402 malloc_zone_t *zone; in zone_promote() local
432 zone = zone_default_get(); in zone_promote()
[all …]
/f-stack/freebsd/contrib/zlib/test/
H A Dinfcover.c79 if (zone == NULL || (zone->limit && zone->total + len > zone->limit)) in mem_alloc()
100 zone->first = item; in mem_alloc()
104 if (zone->total > zone->highwater) in mem_alloc()
105 zone->highwater = zone->total; in mem_alloc()
150 zone->rogue++; in mem_free()
165 zone->total = 0; in mem_setup()
167 zone->limit = 0; in mem_setup()
168 zone->notlifo = 0; in mem_setup()
169 zone->rogue = 0; in mem_setup()
225 if (zone->rogue) in mem_done()
[all …]
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dcred.h133 struct zone;
134 extern void crsetzone(cred_t *, struct zone *);
135 extern struct zone *crgetzone(const cred_t *);
168 extern boolean_t valid_ephemeral_uid(struct zone *, uid_t);
169 extern boolean_t valid_ephemeral_gid(struct zone *, gid_t);
171 extern int eph_uid_alloc(struct zone *, int, uid_t *, int);
172 extern int eph_gid_alloc(struct zone *, int, gid_t *, int);
H A Dsid.h83 #define kidmap_getsidbyuid(zone, uid, sid_prefix, rid) (1) argument
84 #define kidmap_getsidbygid(zone, gid, sid_prefix, rid) (1) argument
/f-stack/freebsd/contrib/device-tree/Bindings/thermal/
H A Dthermal.txt38 the IC. See thermal zone binding for more details
106 Type: phandle of zone.
113 of all cooling contributions within a thermal zone.
121 * Thermal zone nodes
130 Type: unsigned when checking this thermal zone.
192 (a) - CPU thermal zone
194 The CPU thermal zone example below describes how to setup one thermal zone
406 hotspots: one for CPU thermal zone, one for GPU thermal zone and the
407 other to monitor a DSP thermal zone.
414 zone and <bandgap 2> is used to monitor DSP thermal zone. Each zone
[all …]
H A Dthermal-zones.yaml8 title: Thermal zone binding
28 (temperature derivative over time) in two situations for a thermal zone:
30 2. when the zone just needs to be monitored (polling-delay) or when
55 Each thermal zone node contains information about how frequently it
57 this zone, one sub-node containing the various trip points for this
58 zone and one sub-node containing all the zone cooling-maps.
67 sensors in this zone support interrupts.
75 framework and assumes that the thermal sensors in this zone
83 thermal zone.
89 that binds all the sensors listed in this thermal zone.
[all …]
H A Drcar-thermal.yaml20 - const: renesas,rcar-thermal # Generic without thermal-zone
26 - const: renesas,rcar-gen2-thermal # Generic thermal-zone
33 - const: renesas,rcar-gen2-thermal # Generic thermal-zone
34 - const: renesas,rcar-thermal # Generic without thermal-zone
105 # Example (with thermal-zone)
/f-stack/lib/include/vm/
H A Duma_int.h85 vtozoneslab(vm_offset_t va, uma_zone_t *zone, uma_slab_t *slab) in vtozoneslab() argument
96 *zone = up->up_zone; in vtozoneslab()
100 vsetzoneslab(vm_offset_t va, uma_zone_t zone, uma_slab_t slab) in vsetzoneslab() argument
111 up->up_zone = zone; in vsetzoneslab()
118 up->up_zone = zone; in vsetzoneslab()
/f-stack/freebsd/kern/
H A Dkern_malloc.c635 uma_zone_t zone; variable
658 size = zone->uz_size;
675 uma_zone_t zone; in malloc_domain() local
869 uma_zone_t zone; in free() local
887 size = zone->uz_size; in free()
909 uma_zone_t zone; in zfree() local
927 size = zone->uz_size; in zfree()
947 uma_zone_t zone; in realloc() local
973 zone = NULL; in realloc()
1041 uma_zone_t zone; in malloc_usable_size() local
[all …]
/f-stack/dpdk/drivers/common/iavf/
H A Diavf_impl.c38 mem->zone = (const void *)mz; in iavf_allocate_dma_mem_d()
50 rte_memzone_free((const struct rte_memzone *)mem->zone); in iavf_free_dma_mem_d()
51 mem->zone = NULL; in iavf_free_dma_mem_d()
/f-stack/freebsd/netinet/
H A Dsctp_os_bsd.h242 #define SCTP_ZONE_INIT(zone, name, size, number) { \ argument
243 zone = uma_zcreate(name, size, NULL, NULL, NULL, NULL, UMA_ALIGN_PTR,\
245 uma_zone_set_max(zone, number); \
248 #define SCTP_ZONE_DESTROY(zone) uma_zdestroy(zone) argument
251 #define SCTP_ZONE_GET(zone, type) \ argument
252 (type *)uma_zalloc(zone, M_NOWAIT);
255 #define SCTP_ZONE_FREE(zone, element) \ argument
256 uma_zfree(zone, element);
H A Dtcp_hostcache.c246 V_tcp_hostcache.zone = in tcp_hc_init()
249 uma_zone_set_max(V_tcp_hostcache.zone, V_tcp_hostcache.cache_limit); in tcp_hc_init()
271 uma_zdestroy(V_tcp_hostcache.zone); in tcp_hc_destroy()
397 uma_zfree(V_tcp_hostcache.zone, hc_entry); in tcp_hc_insert()
403 hc_entry = uma_zalloc(V_tcp_hostcache.zone, M_NOWAIT); in tcp_hc_insert()
702 uma_zfree(V_tcp_hostcache.zone, hc_entry); in tcp_hc_purge_internal()
/f-stack/freebsd/contrib/device-tree/Bindings/display/
H A Drepaper.txt21 - pervasive,thermal-zone: name of thermometer's thermal zone
51 pervasive,thermal-zone = "display";
/f-stack/freebsd/contrib/openzfs/lib/libspl/
H A DMakefile.am38 os/linux/zone.c
47 os/freebsd/zone.c
/f-stack/freebsd/contrib/device-tree/Bindings/power/supply/
H A Dcharger-manager.txt24 - cm-thermal-zone : name of external thermometer's thermal zone
53 cm-thermal-zone = "thermal_zone.1"
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_osdep.h186 const void *zone; member
263 mem->zone = (const void *)mz; in ice_alloc_dma_mem()
275 "%"PRIu64, ((const struct rte_memzone *)mem->zone)->name, in ice_free_dma_mem()
277 rte_memzone_free((const struct rte_memzone *)mem->zone); in ice_free_dma_mem()
278 mem->zone = NULL; in ice_free_dma_mem()

12345