Searched refs:segment_t (Results 1 – 5 of 5) sorted by relevance
88 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 …]
56 segment_t **seglist; /* list of known segments */57 segment_t *seg_avail; /* an available segment */
40 typedef struct segment segment_t; typedef
1101 segment_t = list_t1104 segment_t = list_t[first_idx_mid_seg:last_idx_mid_seg]1107 segment_t = list_t[:first_idx_mid_seg]1110 segment_t = list_t[last_idx_mid_seg:]1113 segment_t = []1115 return (segment_t, segment_coord)
616 segment_t, segment_coord = mtb_packets.get_segments(618 self.assertEqual(segment_t, expected_segment_t)