io_parse_restrictions
ret = io_parse_restrictions(arg, nr_args, &ctx->restrictions);
ret = io_parse_restrictions(ures->restrictions, tres.nr_res, res);