t2fnext           167 source4/libcli/clilist.c 			next_parms.t2fnext.level = RAW_SEARCH_TRANS2;
t2fnext           168 source4/libcli/clilist.c 			next_parms.t2fnext.data_level = state.data_level;
t2fnext           169 source4/libcli/clilist.c 			next_parms.t2fnext.in.max_count = max_matches;
t2fnext           170 source4/libcli/clilist.c 			next_parms.t2fnext.in.last_name = state.last_name;
t2fnext           171 source4/libcli/clilist.c 			next_parms.t2fnext.in.handle = ff_dir_handle;
t2fnext           172 source4/libcli/clilist.c 			next_parms.t2fnext.in.resume_key = 0;
t2fnext           173 source4/libcli/clilist.c 			next_parms.t2fnext.in.flags = FLAG_TRANS2_FIND_CLOSE_IF_END;
t2fnext           184 source4/libcli/clilist.c 			ff_searchcount = next_parms.t2fnext.out.count;
t2fnext           185 source4/libcli/clilist.c 			ff_eos = next_parms.t2fnext.out.end_of_search;
t2fnext           186 source4/libcli/clilist.c 			received = next_parms.t2fnext.out.count;
t2fnext          2521 source4/libcli/raw/interfaces.h 	} t2fnext;
t2fnext           282 source4/libcli/raw/rawsearch.c 	if (io->t2fnext.level != RAW_SEARCH_TRANS2) {
t2fnext           286 source4/libcli/raw/rawsearch.c 	if (io->t2fnext.data_level >= RAW_SEARCH_DATA_GENERIC) {
t2fnext           290 source4/libcli/raw/rawsearch.c 	if (io->t2fnext.data_level == RAW_SEARCH_DATA_EA_LIST) {
t2fnext           293 source4/libcli/raw/rawsearch.c 				       io->t2fnext.in.num_names,
t2fnext           294 source4/libcli/raw/rawsearch.c 				       io->t2fnext.in.ea_names)) {
t2fnext           304 source4/libcli/raw/rawsearch.c 	SSVAL(tp.in.params.data, 0, io->t2fnext.in.handle);
t2fnext           305 source4/libcli/raw/rawsearch.c 	SSVAL(tp.in.params.data, 2, io->t2fnext.in.max_count);
t2fnext           306 source4/libcli/raw/rawsearch.c 	SSVAL(tp.in.params.data, 4, io->t2fnext.data_level);
t2fnext           307 source4/libcli/raw/rawsearch.c 	SIVAL(tp.in.params.data, 6, io->t2fnext.in.resume_key);
t2fnext           308 source4/libcli/raw/rawsearch.c 	SSVAL(tp.in.params.data, 10, io->t2fnext.in.flags);
t2fnext           311 source4/libcli/raw/rawsearch.c 			       io->t2fnext.in.last_name,
t2fnext           806 source4/libcli/raw/rawsearch.c 	io->t2fnext.out.count = SVAL(p_blob.data, 0);
t2fnext           807 source4/libcli/raw/rawsearch.c 	io->t2fnext.out.end_of_search = SVAL(p_blob.data, 2);
t2fnext           811 source4/libcli/raw/rawsearch.c 					  io->t2fnext.in.flags, io->t2fnext.out.count,
t2fnext           924 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 		if (search->handle == io->t2fnext.in.handle) break;
t2fnext           936 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 	if (!(io->t2fnext.in.flags & FLAG_TRANS2_FIND_CONTINUE) &&
t2fnext           937 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 	    (io->t2fnext.in.flags & FLAG_TRANS2_FIND_REQUIRE_RESUME) &&
t2fnext           938 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 	    io->t2fnext.in.last_name && *io->t2fnext.in.last_name) {
t2fnext           941 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 			if (strcmp(io->t2fnext.in.last_name, dir->files[i-1].name) == 0) {
t2fnext           949 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 			if (strcmp(io->t2fnext.in.last_name, dir->files[i-1].name) == 0) {
t2fnext           957 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 	max_count = search->current_index + io->t2fnext.in.max_count;
t2fnext           979 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 	io->t2fnext.out.count = i - search->current_index;
t2fnext           980 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 	io->t2fnext.out.end_of_search = (i == dir->count) ? 1 : 0;
t2fnext           985 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 	if ((io->t2fnext.in.flags & FLAG_TRANS2_FIND_CLOSE) ||
t2fnext           986 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 	    ((io->t2fnext.in.flags & FLAG_TRANS2_FIND_CLOSE_IF_END) && (i == dir->count))) {
t2fnext           572 source4/ntvfs/posix/pvfs_search.c 	handle = io->t2fnext.in.handle;
t2fnext           587 source4/ntvfs/posix/pvfs_search.c 	if (io->t2fnext.in.last_name && *io->t2fnext.in.last_name) {
t2fnext           588 source4/ntvfs/posix/pvfs_search.c 		status = pvfs_list_seek(dir, io->t2fnext.in.last_name, &search->current_index);
t2fnext           589 source4/ntvfs/posix/pvfs_search.c 		if (!NT_STATUS_IS_OK(status) && io->t2fnext.in.resume_key) {
t2fnext           590 source4/ntvfs/posix/pvfs_search.c 			status = pvfs_list_seek_ofs(dir, io->t2fnext.in.resume_key, 
t2fnext           593 source4/ntvfs/posix/pvfs_search.c 	} else if (!(io->t2fnext.in.flags & FLAG_TRANS2_FIND_CONTINUE)) {
t2fnext           594 source4/ntvfs/posix/pvfs_search.c 		status = pvfs_list_seek_ofs(dir, io->t2fnext.in.resume_key, 
t2fnext           601 source4/ntvfs/posix/pvfs_search.c 	search->num_ea_names = io->t2fnext.in.num_names;
t2fnext           602 source4/ntvfs/posix/pvfs_search.c 	search->ea_names = io->t2fnext.in.ea_names;
t2fnext           604 source4/ntvfs/posix/pvfs_search.c 	status = pvfs_search_fill(pvfs, req, io->t2fnext.in.max_count, search, io->generic.data_level,
t2fnext           610 source4/ntvfs/posix/pvfs_search.c 	io->t2fnext.out.count = reply_count;
t2fnext           611 source4/ntvfs/posix/pvfs_search.c 	io->t2fnext.out.end_of_search = pvfs_list_eos(dir, search->current_index) ? 1 : 0;
t2fnext           614 source4/ntvfs/posix/pvfs_search.c 	if ((io->t2fnext.in.flags & FLAG_TRANS2_FIND_CLOSE) ||
t2fnext           615 source4/ntvfs/posix/pvfs_search.c 	    ((io->t2fnext.in.flags & FLAG_TRANS2_FIND_CLOSE_IF_END) && 
t2fnext           616 source4/ntvfs/posix/pvfs_search.c 	     io->t2fnext.out.end_of_search)) {
t2fnext           921 source4/ntvfs/simple/vfs_simple.c 		if (search->handle == io->t2fnext.in.handle) break;
t2fnext           933 source4/ntvfs/simple/vfs_simple.c 	if (!(io->t2fnext.in.flags & FLAG_TRANS2_FIND_CONTINUE) &&
t2fnext           934 source4/ntvfs/simple/vfs_simple.c 	    (io->t2fnext.in.flags & FLAG_TRANS2_FIND_REQUIRE_RESUME) &&
t2fnext           935 source4/ntvfs/simple/vfs_simple.c 	    io->t2fnext.in.last_name && *io->t2fnext.in.last_name) {
t2fnext           938 source4/ntvfs/simple/vfs_simple.c 			if (strcmp(io->t2fnext.in.last_name, dir->files[i-1].name) == 0) {
t2fnext           946 source4/ntvfs/simple/vfs_simple.c 			if (strcmp(io->t2fnext.in.last_name, dir->files[i-1].name) == 0) {
t2fnext           954 source4/ntvfs/simple/vfs_simple.c 	max_count = search->current_index + io->t2fnext.in.max_count;
t2fnext           976 source4/ntvfs/simple/vfs_simple.c 	io->t2fnext.out.count = i - search->current_index;
t2fnext           977 source4/ntvfs/simple/vfs_simple.c 	io->t2fnext.out.end_of_search = (i == dir->count) ? 1 : 0;
t2fnext           982 source4/ntvfs/simple/vfs_simple.c 	if ((io->t2fnext.in.flags & FLAG_TRANS2_FIND_CLOSE) ||
t2fnext           983 source4/ntvfs/simple/vfs_simple.c 	    ((io->t2fnext.in.flags & FLAG_TRANS2_FIND_CLOSE_IF_END) && (i == dir->count))) {
t2fnext           925 source4/smb_server/smb/trans2.c 	SSVAL(param, VWV(0), search->t2fnext.out.count);
t2fnext           926 source4/smb_server/smb/trans2.c 	SSVAL(param, VWV(1), search->t2fnext.out.end_of_search);
t2fnext           952 source4/smb_server/smb/trans2.c 	search->t2fnext.in.handle        = SVAL(trans->in.params.data, 0);
t2fnext           953 source4/smb_server/smb/trans2.c 	search->t2fnext.in.max_count     = SVAL(trans->in.params.data, 2);
t2fnext           955 source4/smb_server/smb/trans2.c 	search->t2fnext.in.resume_key    = IVAL(trans->in.params.data, 6);
t2fnext           956 source4/smb_server/smb/trans2.c 	search->t2fnext.in.flags         = SVAL(trans->in.params.data, 10);
t2fnext           958 source4/smb_server/smb/trans2.c 	smbsrv_blob_pull_string(&req->in.bufinfo, &trans->in.params, 12, &search->t2fnext.in.last_name, 0);
t2fnext           959 source4/smb_server/smb/trans2.c 	if (search->t2fnext.in.last_name == NULL) {
t2fnext           963 source4/smb_server/smb/trans2.c 	search->t2fnext.level = RAW_SEARCH_TRANS2;
t2fnext           964 source4/smb_server/smb/trans2.c 	search->t2fnext.data_level = (enum smb_search_data_level)level;
t2fnext           965 source4/smb_server/smb/trans2.c 	if (search->t2fnext.data_level >= RAW_SEARCH_DATA_GENERIC) {
t2fnext           969 source4/smb_server/smb/trans2.c 	if (search->t2fnext.data_level == RAW_SEARCH_DATA_EA_LIST) {
t2fnext           971 source4/smb_server/smb/trans2.c 					       &search->t2fnext.in.num_names, 
t2fnext           972 source4/smb_server/smb/trans2.c 					       &search->t2fnext.in.ea_names));
t2fnext           980 source4/smb_server/smb/trans2.c 	state->data_level	= search->t2fnext.data_level;
t2fnext           982 source4/smb_server/smb/trans2.c 	state->flags		= search->t2fnext.in.flags;
t2fnext           579 source4/torture/raw/search.c 			io2.t2fnext.level = RAW_SEARCH_TRANS2;
t2fnext           580 source4/torture/raw/search.c 			io2.t2fnext.data_level = data_level;
t2fnext           581 source4/torture/raw/search.c 			io2.t2fnext.in.handle = io.t2ffirst.out.handle;
t2fnext           582 source4/torture/raw/search.c 			io2.t2fnext.in.max_count = per_search;
t2fnext           583 source4/torture/raw/search.c 			io2.t2fnext.in.resume_key = 0;
t2fnext           584 source4/torture/raw/search.c 			io2.t2fnext.in.flags = FLAG_TRANS2_FIND_CLOSE_IF_END;
t2fnext           585 source4/torture/raw/search.c 			io2.t2fnext.in.last_name = "";
t2fnext           588 source4/torture/raw/search.c 				io2.t2fnext.in.resume_key = extract_resume_key(&result->list[result->count-1],
t2fnext           589 source4/torture/raw/search.c 									       io2.t2fnext.level, io2.t2fnext.data_level);
t2fnext           590 source4/torture/raw/search.c 				if (io2.t2fnext.in.resume_key == 0) {
t2fnext           592 source4/torture/raw/search.c 					       level_name(io2.t2fnext.level, io2.t2fnext.data_level));
t2fnext           595 source4/torture/raw/search.c 				io2.t2fnext.in.flags |= FLAG_TRANS2_FIND_REQUIRE_RESUME |
t2fnext           599 source4/torture/raw/search.c 				io2.t2fnext.in.last_name = extract_name(&result->list[result->count-1],
t2fnext           600 source4/torture/raw/search.c 									io2.t2fnext.level, io2.t2fnext.data_level);
t2fnext           603 source4/torture/raw/search.c 				io2.t2fnext.in.flags |= FLAG_TRANS2_FIND_CONTINUE;
t2fnext           617 source4/torture/raw/search.c 		} else if (io2.t2fnext.out.count == 0 ||
t2fnext           618 source4/torture/raw/search.c 			   io2.t2fnext.out.end_of_search) {
t2fnext           847 source4/torture/raw/search.c 	io2.t2fnext.level = RAW_SEARCH_TRANS2;
t2fnext           848 source4/torture/raw/search.c 	io2.t2fnext.data_level = RAW_SEARCH_DATA_BOTH_DIRECTORY_INFO;
t2fnext           849 source4/torture/raw/search.c 	io2.t2fnext.in.handle = io.t2ffirst.out.handle;
t2fnext           850 source4/torture/raw/search.c 	io2.t2fnext.in.max_count = 1;
t2fnext           851 source4/torture/raw/search.c 	io2.t2fnext.in.resume_key = 0;
t2fnext           852 source4/torture/raw/search.c 	io2.t2fnext.in.flags = 0;
t2fnext           853 source4/torture/raw/search.c 	io2.t2fnext.in.last_name = result.list[result.count-1].both_directory_info.name.s;
t2fnext           877 source4/torture/raw/search.c 	io2.t2fnext.level = RAW_SEARCH_TRANS2;
t2fnext           878 source4/torture/raw/search.c 	io2.t2fnext.data_level = RAW_SEARCH_DATA_BOTH_DIRECTORY_INFO;
t2fnext           879 source4/torture/raw/search.c 	io2.t2fnext.in.handle = io.t2ffirst.out.handle;
t2fnext           880 source4/torture/raw/search.c 	io2.t2fnext.in.max_count = num_files + 3;
t2fnext           881 source4/torture/raw/search.c 	io2.t2fnext.in.resume_key = 0;
t2fnext           882 source4/torture/raw/search.c 	io2.t2fnext.in.flags = 0;
t2fnext           883 source4/torture/raw/search.c 	io2.t2fnext.in.last_name = ".";
t2fnext          1204 source4/torture/raw/search.c 	io2.t2fnext.level = RAW_SEARCH_TRANS2;
t2fnext          1205 source4/torture/raw/search.c 	io2.t2fnext.data_level = RAW_SEARCH_DATA_EA_SIZE;
t2fnext          1206 source4/torture/raw/search.c 	io2.t2fnext.in.handle = io.t2ffirst.out.handle;
t2fnext          1207 source4/torture/raw/search.c 	io2.t2fnext.in.max_count = 100;
t2fnext          1208 source4/torture/raw/search.c 	io2.t2fnext.in.resume_key = result.list[i-1].ea_size.resume_key;
t2fnext          1209 source4/torture/raw/search.c 	io2.t2fnext.in.flags = FLAG_TRANS2_FIND_REQUIRE_RESUME;
t2fnext          1210 source4/torture/raw/search.c 	io2.t2fnext.in.last_name = result.list[i-1].ea_size.name.s;
t2fnext          1231 source4/torture/raw/search.c 			io2.t2fnext.in.resume_key = result.list[i-1].ea_size.resume_key;
t2fnext          1232 source4/torture/raw/search.c 			io2.t2fnext.in.last_name = result.list[i-1].ea_size.name.s;
t2fnext          1324 source4/torture/raw/search.c 	nxt.t2fnext.level = RAW_SEARCH_TRANS2;
t2fnext          1325 source4/torture/raw/search.c 	nxt.t2fnext.data_level = RAW_SEARCH_DATA_EA_LIST;
t2fnext          1326 source4/torture/raw/search.c 	nxt.t2fnext.in.handle = io.t2ffirst.out.handle;
t2fnext          1327 source4/torture/raw/search.c 	nxt.t2fnext.in.max_count = 2;
t2fnext          1328 source4/torture/raw/search.c 	nxt.t2fnext.in.resume_key = result.list[1].ea_list.resume_key;
t2fnext          1329 source4/torture/raw/search.c 	nxt.t2fnext.in.flags = FLAG_TRANS2_FIND_REQUIRE_RESUME | FLAG_TRANS2_FIND_CONTINUE;
t2fnext          1330 source4/torture/raw/search.c 	nxt.t2fnext.in.last_name = result.list[1].ea_list.name.s;
t2fnext          1331 source4/torture/raw/search.c 	nxt.t2fnext.in.num_names = 2;
t2fnext          1332 source4/torture/raw/search.c 	nxt.t2fnext.in.ea_names = talloc_array(tctx, struct ea_name, 2);
t2fnext          1333 source4/torture/raw/search.c 	nxt.t2fnext.in.ea_names[0].name.s = "SECOND EA";
t2fnext          1334 source4/torture/raw/search.c 	nxt.t2fnext.in.ea_names[1].name.s = "THIRD EA";