Lines Matching refs:ex
244 struct efs_extent ex;
260 ret = efs_extent_iterator_next(&exi, &ex);
266 start = ex.ex_offset * EFS_BB_SIZE;
267 len = ex.ex_length * EFS_BB_SIZE;
271 ret = efs_extent_iterator_next(&exi, &ex);
306 struct efs_extent ex;
334 while ((ret = efs_extent_iterator_next(&exi, &ex)) == 0) {
335 for (i = 0; i < ex.ex_length; i++) {
337 ex.ex_bn + i, NULL, &bp);
505 struct efs_extent ex;
513 while ((ret = efs_extent_iterator_next(&exi, &ex)) == 0) {
514 for (i = 0; i < ex.ex_length; i++) {
516 ex.ex_bn + i, NULL, &bp);
605 struct efs_extent ex;
617 while ((ret = efs_extent_iterator_next(&exi, &ex)) == 0) {
618 if (ap->a_bn >= ex.ex_offset &&
619 ap->a_bn < (ex.ex_offset + ex.ex_length)) {
632 if (ex.ex_magic != EFS_EXTENT_MAGIC) {
637 if (ap->a_bn < ex.ex_offset) {
642 KASSERT(ap->a_bn >= ex.ex_offset);
643 KASSERT(ex.ex_length > ap->a_bn - ex.ex_offset);
645 *ap->a_bnp = ex.ex_bn + (ap->a_bn - ex.ex_offset);
647 *ap->a_runp = ex.ex_length - (ap->a_bn - ex.ex_offset) - 1;