Home
last modified time | relevance | path

Searched refs:sksegment (Results 1 – 7 of 7) sorted by relevance

/xnu-12377.81.4/bsd/skywalk/mem/
H A Dskmem_region_var.h69 struct sksegment { struct
70 TAILQ_ENTRY(sksegment) sg_link; /* sksegment linkage */
71 RB_ENTRY(sksegment) sg_node; /* sksegment node in tree */
94 TAILQ_HEAD(, sksegment) sgb_head; /* sksegment allocated list */ argument
184 typedef int (*sksegment_ctor_fn_t)(struct sksegment *,
186 typedef void (*sksegment_dtor_fn_t)(struct sksegment *,
256 TAILQ_HEAD(segfreehead, sksegment) skr_seg_free; /* free segment list */
257 RB_HEAD(segtfreehead, sksegment) skr_seg_tfree; /* free tree */
345 void *__sized_by(*msize) *, struct sksegment **, struct sksegment **,
353 struct sksegment **);
H A Dskmem_region.c122 static int sksegment_cmp(const struct sksegment *, const struct sksegment *);
123 static struct sksegment *sksegment_create(struct skmem_region *, uint32_t);
124 static void sksegment_destroy(struct skmem_region *, struct sksegment *);
126 struct sksegment *, boolean_t);
127 static struct sksegment *sksegment_freelist_remove(struct skmem_region *,
128 struct sksegment *, uint32_t, boolean_t);
129 static struct sksegment *sksegment_freelist_grow(struct skmem_region *);
130 static struct sksegment *sksegment_alloc_with_idx(struct skmem_region *,
133 struct sksegment *, uint32_t seg_size);
135 struct sksegment *, uint32_t seg_size, struct sksegment **);
[all …]
H A Dskmem_cache_var.h98 struct sksegment *sl_seg; /* backing segment */
99 struct sksegment *sl_segm; /* backing mirrored segment */
H A Dskmem_slab.c70 struct sksegment *__single sg, *__single sgm; in skmem_slab_create()
/xnu-12377.81.4/bsd/skywalk/packet/
H A Dos_packet.h506 struct sksegment;
513 typedef struct sksegment *kern_segment_t;
H A Dpbufpool.c58 static int pp_buf_seg_ctor(struct sksegment *, IOSKMemoryBufferRef, void *);
59 static void pp_buf_seg_dtor(struct sksegment *, IOSKMemoryBufferRef, void *);
916 pp_buf_seg_ctor(struct sksegment *sg, IOSKMemoryBufferRef md, void *arg) in pp_buf_seg_ctor()
929 pp_buf_seg_dtor(struct sksegment *sg, IOSKMemoryBufferRef md, void *arg) in pp_buf_seg_dtor()
H A Dpacket_common.h1875 static inline struct sksegment *