Searched refs:PED_ASSERT (Results 1 - 25 of 55) sorted by relevance

123

/osnet-11/usr/src/lib/libparted/common/libparted/fs/reiserfs/
H A Dgeom_dal.c30 PED_ASSERT(dal != NULL, return 0);
41 PED_ASSERT(dal != NULL, return 0);
55 PED_ASSERT(dal != NULL, return 0);
66 PED_ASSERT(dal != NULL, return 0);
71 PED_ASSERT(dal != NULL, return 0);
76 PED_ASSERT(dal1 != NULL, return 0);
77 PED_ASSERT(dal2 != NULL, return 0);
85 PED_ASSERT(dal != NULL, return 0);
86 PED_ASSERT(st != NULL, return 0);
135 PED_ASSERT(da
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/cs/
H A Dgeom.c60 PED_ASSERT (geom != NULL, return 0);
61 PED_ASSERT (dev != NULL, return 0);
78 PED_ASSERT (dev != NULL, return NULL);
106 PED_ASSERT (geom != NULL, return NULL);
142 PED_ASSERT (geom != NULL, return);
155 PED_ASSERT (geom != NULL, return 0);
156 PED_ASSERT (geom->dev != NULL, return 0);
213 PED_ASSERT (a != NULL, return 0);
214 PED_ASSERT (b != NULL, return 0);
235 PED_ASSERT (
[all...]
H A Dconstraint.c67 PED_ASSERT (constraint != NULL, return 0);
68 PED_ASSERT (start_range != NULL, return 0);
69 PED_ASSERT (end_range != NULL, return 0);
70 PED_ASSERT (min_size > 0, return 0);
71 PED_ASSERT (max_size > 0, return 0);
129 PED_ASSERT (min != NULL, return NULL);
130 PED_ASSERT (max != NULL, return NULL);
131 PED_ASSERT (ped_geometry_test_inside (max, min), return NULL);
154 PED_ASSERT (min != NULL, return NULL);
169 PED_ASSERT (ma
[all...]
H A Dnatmath.c105 PED_ASSERT (a >= 0, return 0);
106 PED_ASSERT (b >= 0, return 0);
130 PED_ASSERT (align != NULL, return 0);
347 PED_ASSERT (align != NULL, return -1);
384 PED_ASSERT (align != NULL, return -1);
412 PED_ASSERT (align != NULL, return -1);
451 PED_ASSERT (align != NULL, return -1);
/osnet-11/usr/src/lib/libparted/common/libparted/
H A Ddevice.c113 PED_ASSERT (path != NULL, return);
154 PED_ASSERT (path != NULL, return NULL);
227 PED_ASSERT (dev != NULL, return 0);
228 PED_ASSERT (!dev->external_mode, return 0);
249 PED_ASSERT (dev != NULL, return 0);
250 PED_ASSERT (!dev->external_mode, return 0);
251 PED_ASSERT (dev->open_count > 0, return 0);
286 PED_ASSERT (dev != NULL, return 0);
287 PED_ASSERT (!dev->external_mode, return 0);
306 PED_ASSERT (de
[all...]
H A Ddisk.c71 PED_ASSERT (disk_type != NULL, return);
72 PED_ASSERT (disk_type->ops != NULL, return);
73 PED_ASSERT (disk_type->name != NULL, return);
85 PED_ASSERT (disk_types != NULL, return);
86 PED_ASSERT (disk_type != NULL, return);
91 PED_ASSERT (walk != NULL, return);
123 PED_ASSERT (name != NULL, return NULL);
143 PED_ASSERT (dev != NULL, return NULL);
185 PED_ASSERT (dev != NULL, return NULL);
255 PED_ASSERT (old_dis
[all...]
H A Dfilesys.c49 PED_ASSERT (fs_type != NULL, return);
50 PED_ASSERT (fs_type->ops != NULL, return);
51 PED_ASSERT (fs_type->name != NULL, return);
63 PED_ASSERT (fs_types != NULL, return);
64 PED_ASSERT (fs_type != NULL, return);
69 PED_ASSERT (walk != NULL, return);
82 PED_ASSERT (fs_type != NULL, return);
83 PED_ASSERT (alias != NULL, return);
103 PED_ASSERT (fs_aliases != NULL, return);
104 PED_ASSERT (fs_typ
[all...]
H A Dtimer.c69 PED_ASSERT (handler != NULL, return NULL);
130 PED_ASSERT (nest_frac >= 0.0, return NULL);
131 PED_ASSERT (nest_frac <= 1.0, return NULL);
/osnet-11/usr/src/lib/libparted/common/include/parted/
H A Ddebug.h44 #define PED_ASSERT(cond, action) \ macro
67 #define PED_ASSERT(cond, action) \ macro
82 #define PED_ASSERT(cond, action) do {} while (0) macro
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dcalc.c116 PED_ASSERT (geom != NULL, return 0);
125 PED_ASSERT (new_cluster_count
185 PED_ASSERT (out_cluster_count != NULL, return 0);
186 PED_ASSERT (out_fat_size != NULL, return 0);
237 PED_ASSERT (out_cluster_sectors != NULL, return 0);
238 PED_ASSERT (out_cluster_count != NULL, return 0);
239 PED_ASSERT (out_fat_size != NULL, return 0);
294 PED_ASSERT (geom != NULL, return 0);
295 PED_ASSERT (out_cluster_sectors != NULL, return 0);
296 PED_ASSERT (out_cluster_coun
[all...]
H A Dclstdup.c34 PED_ASSERT (cluster >= 2 && cluster < old_fs_info->cluster_count + 2,
136 PED_ASSERT (first <= last, return 0);
157 PED_ASSERT (first <= last, return 0);
182 PED_ASSERT (first <= last, return 0);
189 PED_ASSERT (first_underlay <= last_underlay, return 0);
218 PED_ASSERT (first <= last, return 0);
260 PED_ASSERT (first <= last, return 0);
285 PED_ASSERT (first <= last, return 0);
299 PED_ASSERT (first <= last, return 0);
322 PED_ASSERT (ct
[all...]
H A Dfatio.c42 PED_ASSERT (frag >= 0 && frag < fs_info->frag_count, return 0);
61 PED_ASSERT (frag >= 0 && frag < fs_info->frag_count, return 0);
97 PED_ASSERT (cluster >= 2
118 PED_ASSERT (cluster >= 2
H A Dtable.c92 PED_ASSERT (new_cluster_count + 2 <= ft->size, return 0);
103 PED_ASSERT (ft->cluster_count + 2 <= ft->size, return 0);
122 PED_ASSERT (ft->raw_size >= fs_info->fat_sectors * 512, return 0);
157 PED_ASSERT (ft->raw_size >= fs_info->fat_sectors * 512, return 0);
278 PED_ASSERT (0, (void) 0);
308 PED_ASSERT (0, (void) 0);
418 PED_ASSERT (0, (void) 0);
H A Dbootsector.c41 PED_ASSERT (bs != NULL, return 0);
42 PED_ASSERT (geom != NULL, return 0);
133 PED_ASSERT (bs != NULL, return 0);
293 PED_ASSERT (bs != NULL, return 0);
306 PED_ASSERT (bs != NULL, return 0);
385 PED_ASSERT (bs != NULL, return 0);
403 PED_ASSERT (is != NULL, return 0);
426 PED_ASSERT (is != NULL, return 0);
446 PED_ASSERT (is != NULL, return 0);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ntfs/
H A Dntfs.c54 PED_ASSERT(geom != NULL, return 0);
73 PED_ASSERT(geom != NULL, return 0);
84 PED_ASSERT(geom != NULL, return 0);
108 PED_ASSERT(geom != NULL, return 0);
138 PED_ASSERT(geom != NULL, return 0);
139 PED_ASSERT(partpath != NULL, return 0);
173 PED_ASSERT(cmd != NULL, return 0);
204 PED_ASSERT(geom != NULL, return 0);
205 PED_ASSERT(timer != NULL, return 0);
253 PED_ASSERT(f
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/arch/
H A Dsolaris.c104 PED_ASSERT(dev != NULL, return (0));
105 PED_ASSERT(!dev->external_mode, return (0));
129 PED_ASSERT(dev != NULL, return);
130 PED_ASSERT(dev->open_count > 0, return);
206 PED_ASSERT(dev != NULL, return (0));
207 PED_ASSERT(dev->open_count > 0, return (0));
238 PED_ASSERT(dev != NULL, return (0));
267 PED_ASSERT(path != NULL, return (NULL));
309 PED_ASSERT(dev != NULL, return);
329 PED_ASSERT(de
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Dpc98.c193 PED_ASSERT (dev != NULL, return 0);
234 PED_ASSERT (dev != NULL, return 0);
248 PED_ASSERT (disk != NULL, return);
256 PED_ASSERT (dev != NULL, return 0);
265 PED_ASSERT (dev != NULL, return);
266 PED_ASSERT (c != NULL, return);
267 PED_ASSERT (h != NULL, return);
268 PED_ASSERT (s != NULL, return);
280 PED_ASSERT (disk != NULL, return 0);
281 PED_ASSERT (raw_par
[all...]
H A Drdb.c336 PED_ASSERT(dev != NULL, return 0);
354 PED_ASSERT(dev != NULL, return NULL);
368 PED_ASSERT(sizeof(*rdb) <= disk->dev->sector_size, return NULL);
428 PED_ASSERT(disk != NULL, return NULL);
429 PED_ASSERT(disk->dev != NULL, return NULL);
430 PED_ASSERT(disk->disk_specific != NULL, return NULL);
445 PED_ASSERT(disk != NULL, return);
446 PED_ASSERT(disk->disk_specific != NULL, return);
477 PED_ASSERT(disk != NULL, return 0);
478 PED_ASSERT(dis
[all...]
H A Ddos.c184 PED_ASSERT (dev != NULL, return 0);
245 PED_ASSERT (dev != NULL, return NULL);
279 PED_ASSERT (disk != NULL, return);
349 PED_ASSERT (bios_geom != NULL, return 0);
350 PED_ASSERT (chs != NULL, return 0);
369 PED_ASSERT (dev != NULL, return);
370 PED_ASSERT (chs != NULL, return);
394 PED_ASSERT (disk != NULL, return 0);
395 PED_ASSERT (raw_part != NULL, return 0);
404 PED_ASSERT (dis
[all...]
H A Dpt-common.h22 PED_ASSERT (err == 0, return 0); \
31 PED_ASSERT (err == 0, return 0); \
H A Daix.c57 PED_ASSERT (dev != NULL, return 0);
145 PED_ASSERT (part != NULL, return);
201 PED_ASSERT (part != NULL, return 0);
H A Dpt-tools.c43 PED_ASSERT (buflen <= disk->dev->sector_size, return 0);
68 PED_ASSERT (b != NULL, return 0);
91 PED_ASSERT (dev->sector_size <= sizeof zero, return 0);
H A Dmac.c214 PED_ASSERT (dev != NULL, return 0);
283 PED_ASSERT (dev != NULL, return NULL);
341 PED_ASSERT (partition_map != NULL, return 0);
349 PED_ASSERT (partition_map->type == PED_PARTITION_NORMAL, return 0);
718 PED_ASSERT (i <= disk->dev->sector_size / 512, break);
745 PED_ASSERT (disk != NULL, return 0);
923 PED_ASSERT (part->num > 0, goto error);
981 PED_ASSERT (num > 0, goto error);
1013 PED_ASSERT (num > 0, return 0);
1072 PED_ASSERT (dis
[all...]
H A Dbsd.c172 PED_ASSERT (dev != NULL, return 0);
198 PED_ASSERT(dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0, return 0);
355 PED_ASSERT (disk != NULL, return 0);
356 PED_ASSERT (disk->dev != NULL, return 0);
453 PED_ASSERT (part != NULL, return);
483 PED_ASSERT (part != NULL, return 0);
484 PED_ASSERT (part->disk_specific != NULL, return 0);
485 PED_ASSERT (part->disk != NULL, return 0);
515 PED_ASSERT (part != NULL, return 0);
516 PED_ASSERT (par
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/hfs/
H A Dprobe.c44 PED_ASSERT (geom != NULL, return 0);
45 PED_ASSERT (dev != NULL, return 0);
71 PED_ASSERT (geom != NULL, return NULL);
72 PED_ASSERT (hfsc_can_use_geom (geom), return NULL);
107 PED_ASSERT (geom != NULL, return NULL);
177 PED_ASSERT (geom != NULL, return NULL);
200 PED_ASSERT (geom != NULL, return NULL);

Completed in 79 milliseconds

123