Home
last modified time | relevance | path

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

/xnu-8796.121.2/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 void (*sksegment_ctor_fn_t)(struct sksegment *,
186 typedef void (*sksegment_dtor_fn_t)(struct sksegment *,
254 TAILQ_HEAD(segfreehead, sksegment) skr_seg_free; /* free segment list */
255 RB_HEAD(segtfreehead, sksegment) skr_seg_tfree; /* free tree */
341 struct sksegment **, struct sksegment **, uint32_t);
348 struct sksegment **);
H A Dskmem_region.c120 static int sksegment_cmp(const struct sksegment *, const struct sksegment *);
121 static struct sksegment *sksegment_create(struct skmem_region *, uint32_t);
122 static void sksegment_destroy(struct skmem_region *, struct sksegment *);
124 struct sksegment *, boolean_t);
125 static struct sksegment *sksegment_freelist_remove(struct skmem_region *,
126 struct sksegment *, uint32_t, boolean_t);
127 static struct sksegment *sksegment_freelist_grow(struct skmem_region *);
128 static struct sksegment *sksegment_alloc_with_idx(struct skmem_region *,
131 struct sksegment *);
133 struct sksegment *, struct sksegment **);
[all …]
H A Dskmem_cache_var.h89 struct sksegment *sl_seg; /* backing segment */
90 struct sksegment *sl_segm; /* backing mirrored segment */
H A Dskmem_cache.c917 struct sksegment *sg, *sgm; in skmem_slab_create()
/xnu-8796.121.2/bsd/skywalk/packet/
H A Dos_packet.h488 struct sksegment;
495 typedef struct sksegment *kern_segment_t;
H A Dpbufpool.c54 static void pp_buf_seg_ctor(struct sksegment *, IOSKMemoryBufferRef, void *);
55 static void pp_buf_seg_dtor(struct sksegment *, IOSKMemoryBufferRef, void *);
913 pp_buf_seg_ctor(struct sksegment *sg, IOSKMemoryBufferRef md, void *arg) in pp_buf_seg_ctor()
923 pp_buf_seg_dtor(struct sksegment *sg, IOSKMemoryBufferRef md, void *arg) in pp_buf_seg_dtor()
H A Dpacket_common.h1966 static inline struct sksegment *