Lines Matching refs:opt_end

194 	struct opthdr *opt_end;  in svr4_optcom_req()  local
336 opt_end = (struct opthdr *)((uchar_t *)opt_start + in svr4_optcom_req()
339 for (opt = opt_start; opt < opt_end; opt = next_opt) { in svr4_optcom_req()
345 (uchar_t *)opt_end) in svr4_optcom_req()
363 ((next_opt >= opt_end) && in svr4_optcom_req()
364 (((uchar_t *)next_opt - (uchar_t *)opt_end) >= in svr4_optcom_req()
420 for (opt = opt_start; opt < opt_end; opt = next_opt) { in svr4_optcom_req()
467 for (opt = opt_start; opt < opt_end; opt = next_opt) { in svr4_optcom_req()
639 struct T_opthdr *opt_start, *opt_end; in process_topthdrs_first_pass() local
654 opt_end = (struct T_opthdr *)((uchar_t *)opt_start + tor->OPT_length); in process_topthdrs_first_pass()
656 for (opt = opt_start; opt && (opt < opt_end); in process_topthdrs_first_pass()
662 if (!(_TPI_TOPT_VALID(opt, opt_start, opt_end))) in process_topthdrs_first_pass()
862 struct T_opthdr *opt_start, *opt_end; in do_options_second_pass() local
877 opt_end = (struct T_opthdr *)((uchar_t *)opt_start + tor->OPT_length); in do_options_second_pass()
880 for (opt = opt_start; opt && (opt < opt_end); in do_options_second_pass()
884 ASSERT(_TPI_TOPT_VALID(opt, opt_start, opt_end)); in do_options_second_pass()
1524 struct T_opthdr *opt, *opt_start, *opt_end; in tpi_optcom_buf() local
1564 opt_end = (struct T_opthdr *)((uchar_t *)opt_start in tpi_optcom_buf()
1574 for (opt = opt_start; opt && (opt < opt_end); in tpi_optcom_buf()
1580 if (!_TPI_TOPT_VALID(opt, opt_start, opt_end)) { in tpi_optcom_buf()