Lines Matching refs:ti_size
2830 int ret = -1, ti_size; in cdrom_get_last_written() local
2842 ti_size = cdrom_get_track_info(cdi, last_track, 1, &ti); in cdrom_get_last_written()
2843 if (ti_size < (int)offsetof(typeof(ti), track_start)) in cdrom_get_last_written()
2851 ti_size = cdrom_get_track_info(cdi, last_track, 1, &ti); in cdrom_get_last_written()
2854 if (ti_size < (int)(offsetof(typeof(ti), track_size) in cdrom_get_last_written()
2859 if (ti.lra_v && ti_size >= (int)(offsetof(typeof(ti), last_rec_address) in cdrom_get_last_written()
2896 int ret, ti_size; in cdrom_get_next_writable() local
2908 ti_size = cdrom_get_track_info(cdi, last_track, 1, &ti); in cdrom_get_next_writable()
2909 if (ti_size < 0 || ti_size < offsetof(typeof(ti), track_start)) in cdrom_get_next_writable()
2917 ti_size = cdrom_get_track_info(cdi, last_track, 1, &ti); in cdrom_get_next_writable()
2918 if (ti_size < 0) in cdrom_get_next_writable()
2923 if (ti.nwa_v && ti_size >= offsetof(typeof(ti), next_writable) in cdrom_get_next_writable()