Lines Matching refs:ti_size
2846 int ret = -1, ti_size; in cdrom_get_last_written() local
2858 ti_size = cdrom_get_track_info(cdi, last_track, 1, &ti); in cdrom_get_last_written()
2859 if (ti_size < (int)offsetof(typeof(ti), track_start)) in cdrom_get_last_written()
2867 ti_size = cdrom_get_track_info(cdi, last_track, 1, &ti); in cdrom_get_last_written()
2870 if (ti_size < (int)(offsetof(typeof(ti), track_size) in cdrom_get_last_written()
2875 if (ti.lra_v && ti_size >= (int)(offsetof(typeof(ti), last_rec_address) in cdrom_get_last_written()
2911 int ret, ti_size; in cdrom_get_next_writable() local
2923 ti_size = cdrom_get_track_info(cdi, last_track, 1, &ti); in cdrom_get_next_writable()
2924 if (ti_size < 0 || ti_size < offsetof(typeof(ti), track_start)) in cdrom_get_next_writable()
2932 ti_size = cdrom_get_track_info(cdi, last_track, 1, &ti); in cdrom_get_next_writable()
2933 if (ti_size < 0) in cdrom_get_next_writable()
2938 if (ti.nwa_v && ti_size >= offsetof(typeof(ti), next_writable) in cdrom_get_next_writable()