Searched refs:CMD_HASDATA (Results 1 – 1 of 1) sorted by relevance
72 #define CMD_HASDATA(X) ((int)(X) >= 0) macro330 if (CMD_HASDATA(p = getcmditem("offset")) && (v = atou(p))) in get_disk_image_geometry()423 if (CMD_HASDATA(p = getcmditem("c")) && (v = atou(p))) in get_disk_image_geometry()425 if (CMD_HASDATA(p = getcmditem("h")) && (v = atou(p))) { in get_disk_image_geometry()429 if (CMD_HASDATA(p = getcmditem("s")) && (v = atou(p))) { in get_disk_image_geometry()581 hd_geometry.driveno = CMD_HASDATA(p) ? atou(p) & 0x7f : 0; in get_disk_image_geometry()583 hd_geometry.driveno = CMD_HASDATA(p) ? atou(p) | 0x80 : 0x80; in get_disk_image_geometry()708 if (CMD_HASDATA(p = getcmditem("stack"))) in stack_needed()