Home
last modified time | relevance | path

Searched refs:segment_t (Results 1 – 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
Dsegment.c88 gcp->seglist = calloc(MAX_SEGMENTS + 1, sizeof(segment_t *)); in segment_init()
95 static segment_t *new_segment(void) in new_segment()
98 segment_t *segp = (segment_t *) calloc(1, sizeof(segment_t)); in new_segment()
109 static segment_t *get_seg_slot(void) in get_seg_slot()
112 segment_t *segp, **segpp; in get_seg_slot()
144 static void unmap_segment(segment_t * segp) in unmap_segment()
173 static void free_seg_slot(segment_t * segp) in free_seg_slot()
204 segment_t *segp, **segpp; in segment_cleanup()
254 static int map_anon_segment(segment_t * segp) in map_anon_segment()
287 static int open_file(segment_t * segp) in open_file()
[all …]
Dmemtoy.h56 segment_t **seglist; /* list of known segments */
57 segment_t *seg_avail; /* an available segment */
Dsegment.h40 typedef struct segment segment_t; typedef