t2ffirst 140 source4/libcli/clilist.c first_parms.t2ffirst.level = RAW_SEARCH_TRANS2;
t2ffirst 141 source4/libcli/clilist.c first_parms.t2ffirst.data_level = state.data_level;
t2ffirst 142 source4/libcli/clilist.c first_parms.t2ffirst.in.max_count = max_matches;
t2ffirst 143 source4/libcli/clilist.c first_parms.t2ffirst.in.search_attrib = attribute;
t2ffirst 144 source4/libcli/clilist.c first_parms.t2ffirst.in.pattern = mask;
t2ffirst 145 source4/libcli/clilist.c first_parms.t2ffirst.in.flags = FLAG_TRANS2_FIND_CLOSE_IF_END;
t2ffirst 146 source4/libcli/clilist.c first_parms.t2ffirst.in.storage_type = 0;
t2ffirst 156 source4/libcli/clilist.c ff_dir_handle = first_parms.t2ffirst.out.handle;
t2ffirst 157 source4/libcli/clilist.c ff_searchcount = first_parms.t2ffirst.out.count;
t2ffirst 158 source4/libcli/clilist.c ff_eos = first_parms.t2ffirst.out.end_of_search;
t2ffirst 160 source4/libcli/clilist.c received = first_parms.t2ffirst.out.count;
t2ffirst 2422 source4/libcli/raw/interfaces.h } t2ffirst;
t2ffirst 214 source4/libcli/raw/rawsearch.c if (io->t2ffirst.level != RAW_SEARCH_TRANS2) {
t2ffirst 218 source4/libcli/raw/rawsearch.c if (io->t2ffirst.data_level >= RAW_SEARCH_DATA_GENERIC) {
t2ffirst 222 source4/libcli/raw/rawsearch.c if (io->t2ffirst.data_level == RAW_SEARCH_DATA_EA_LIST) {
t2ffirst 225 source4/libcli/raw/rawsearch.c io->t2ffirst.in.num_names,
t2ffirst 226 source4/libcli/raw/rawsearch.c io->t2ffirst.in.ea_names)) {
t2ffirst 236 source4/libcli/raw/rawsearch.c SSVAL(tp.in.params.data, 0, io->t2ffirst.in.search_attrib);
t2ffirst 237 source4/libcli/raw/rawsearch.c SSVAL(tp.in.params.data, 2, io->t2ffirst.in.max_count);
t2ffirst 238 source4/libcli/raw/rawsearch.c SSVAL(tp.in.params.data, 4, io->t2ffirst.in.flags);
t2ffirst 239 source4/libcli/raw/rawsearch.c SSVAL(tp.in.params.data, 6, io->t2ffirst.data_level);
t2ffirst 240 source4/libcli/raw/rawsearch.c SIVAL(tp.in.params.data, 8, io->t2ffirst.in.storage_type);
t2ffirst 243 source4/libcli/raw/rawsearch.c io->t2ffirst.in.pattern, STR_TERMINATE);
t2ffirst 756 source4/libcli/raw/rawsearch.c io->t2ffirst.out.handle = SVAL(p_blob.data, 0);
t2ffirst 757 source4/libcli/raw/rawsearch.c io->t2ffirst.out.count = SVAL(p_blob.data, 2);
t2ffirst 758 source4/libcli/raw/rawsearch.c io->t2ffirst.out.end_of_search = SVAL(p_blob.data, 4);
t2ffirst 762 source4/libcli/raw/rawsearch.c io->t2ffirst.in.flags, io->t2ffirst.out.count,
t2ffirst 854 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c max_count = io->t2ffirst.in.max_count;
t2ffirst 856 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c dir = cifspsx_list(ntvfs, req, io->t2ffirst.in.pattern);
t2ffirst 886 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c io->t2ffirst.out.count = i;
t2ffirst 887 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c io->t2ffirst.out.handle = search->handle;
t2ffirst 888 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c io->t2ffirst.out.end_of_search = (i == dir->count) ? 1 : 0;
t2ffirst 891 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c if ((io->t2ffirst.in.flags & FLAG_TRANS2_FIND_CLOSE) ||
t2ffirst 892 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c ((io->t2ffirst.in.flags & FLAG_TRANS2_FIND_CLOSE_IF_END) && (i == dir->count))) {
t2ffirst 823 source4/ntvfs/nbench/vfs_nbench.c ZERO_STRUCT(io->t2ffirst.out);
t2ffirst 826 source4/ntvfs/nbench/vfs_nbench.c io->t2ffirst.in.pattern,
t2ffirst 827 source4/ntvfs/nbench/vfs_nbench.c io->t2ffirst.data_level,
t2ffirst 828 source4/ntvfs/nbench/vfs_nbench.c io->t2ffirst.in.max_count,
t2ffirst 829 source4/ntvfs/nbench/vfs_nbench.c io->t2ffirst.out.count,
t2ffirst 477 source4/ntvfs/posix/pvfs_search.c search_attrib = io->t2ffirst.in.search_attrib;
t2ffirst 478 source4/ntvfs/posix/pvfs_search.c pattern = io->t2ffirst.in.pattern;
t2ffirst 479 source4/ntvfs/posix/pvfs_search.c max_count = io->t2ffirst.in.max_count;
t2ffirst 522 source4/ntvfs/posix/pvfs_search.c search->num_ea_names = io->t2ffirst.in.num_names;
t2ffirst 523 source4/ntvfs/posix/pvfs_search.c search->ea_names = io->t2ffirst.in.ea_names;
t2ffirst 540 source4/ntvfs/posix/pvfs_search.c io->t2ffirst.out.count = reply_count;
t2ffirst 541 source4/ntvfs/posix/pvfs_search.c io->t2ffirst.out.handle = search->handle;
t2ffirst 542 source4/ntvfs/posix/pvfs_search.c io->t2ffirst.out.end_of_search = pvfs_list_eos(dir, search->current_index) ? 1 : 0;
t2ffirst 546 source4/ntvfs/posix/pvfs_search.c if ((io->t2ffirst.in.flags & FLAG_TRANS2_FIND_CLOSE) ||
t2ffirst 547 source4/ntvfs/posix/pvfs_search.c ((io->t2ffirst.in.flags & FLAG_TRANS2_FIND_CLOSE_IF_END) &&
t2ffirst 548 source4/ntvfs/posix/pvfs_search.c io->t2ffirst.out.end_of_search)) {
t2ffirst 851 source4/ntvfs/simple/vfs_simple.c max_count = io->t2ffirst.in.max_count;
t2ffirst 853 source4/ntvfs/simple/vfs_simple.c dir = svfs_list(ntvfs, req, io->t2ffirst.in.pattern);
t2ffirst 883 source4/ntvfs/simple/vfs_simple.c io->t2ffirst.out.count = i;
t2ffirst 884 source4/ntvfs/simple/vfs_simple.c io->t2ffirst.out.handle = search->handle;
t2ffirst 885 source4/ntvfs/simple/vfs_simple.c io->t2ffirst.out.end_of_search = (i == dir->count) ? 1 : 0;
t2ffirst 888 source4/ntvfs/simple/vfs_simple.c if ((io->t2ffirst.in.flags & FLAG_TRANS2_FIND_CLOSE) ||
t2ffirst 889 source4/ntvfs/simple/vfs_simple.c ((io->t2ffirst.in.flags & FLAG_TRANS2_FIND_CLOSE_IF_END) && (i == dir->count))) {
t2ffirst 738 source4/ntvfs/smb2/vfs_smb2.c f.in.pattern = io->t2ffirst.in.pattern;
t2ffirst 752 source4/ntvfs/smb2/vfs_smb2.c io->t2ffirst.out.handle = 0;
t2ffirst 753 source4/ntvfs/smb2/vfs_smb2.c io->t2ffirst.out.count = i;
t2ffirst 755 source4/ntvfs/smb2/vfs_smb2.c io->t2ffirst.out.end_of_search = 1;
t2ffirst 838 source4/smb_server/smb/trans2.c SSVAL(param, VWV(0), search->t2ffirst.out.handle);
t2ffirst 839 source4/smb_server/smb/trans2.c SSVAL(param, VWV(1), search->t2ffirst.out.count);
t2ffirst 840 source4/smb_server/smb/trans2.c SSVAL(param, VWV(2), search->t2ffirst.out.end_of_search);
t2ffirst 866 source4/smb_server/smb/trans2.c search->t2ffirst.in.search_attrib = SVAL(trans->in.params.data, 0);
t2ffirst 867 source4/smb_server/smb/trans2.c search->t2ffirst.in.max_count = SVAL(trans->in.params.data, 2);
t2ffirst 868 source4/smb_server/smb/trans2.c search->t2ffirst.in.flags = SVAL(trans->in.params.data, 4);
t2ffirst 870 source4/smb_server/smb/trans2.c search->t2ffirst.in.storage_type = IVAL(trans->in.params.data, 8);
t2ffirst 872 source4/smb_server/smb/trans2.c smbsrv_blob_pull_string(&req->in.bufinfo, &trans->in.params, 12, &search->t2ffirst.in.pattern, 0);
t2ffirst 873 source4/smb_server/smb/trans2.c if (search->t2ffirst.in.pattern == NULL) {
t2ffirst 877 source4/smb_server/smb/trans2.c search->t2ffirst.level = RAW_SEARCH_TRANS2;
t2ffirst 878 source4/smb_server/smb/trans2.c search->t2ffirst.data_level = (enum smb_search_data_level)level;
t2ffirst 879 source4/smb_server/smb/trans2.c if (search->t2ffirst.data_level >= RAW_SEARCH_DATA_GENERIC) {
t2ffirst 883 source4/smb_server/smb/trans2.c if (search->t2ffirst.data_level == RAW_SEARCH_DATA_EA_LIST) {
t2ffirst 885 source4/smb_server/smb/trans2.c &search->t2ffirst.in.num_names,
t2ffirst 886 source4/smb_server/smb/trans2.c &search->t2ffirst.in.ea_names));
t2ffirst 895 source4/smb_server/smb/trans2.c state->data_level = search->t2ffirst.data_level;
t2ffirst 897 source4/smb_server/smb/trans2.c state->flags = search->t2ffirst.in.flags;
t2ffirst 922 source4/torture/nbench/nbio.c io.t2ffirst.level = RAW_SEARCH_TRANS2;
t2ffirst 923 source4/torture/nbench/nbio.c io.t2ffirst.data_level = level;
t2ffirst 924 source4/torture/nbench/nbio.c io.t2ffirst.in.max_count = maxcnt;
t2ffirst 925 source4/torture/nbench/nbio.c io.t2ffirst.in.search_attrib = FILE_ATTRIBUTE_DIRECTORY;
t2ffirst 926 source4/torture/nbench/nbio.c io.t2ffirst.in.pattern = mask;
t2ffirst 927 source4/torture/nbench/nbio.c io.t2ffirst.in.flags = FLAG_TRANS2_FIND_CLOSE;
t2ffirst 928 source4/torture/nbench/nbio.c io.t2ffirst.in.storage_type = 0;
t2ffirst 937 source4/torture/nbench/nbio.c if (NT_STATUS_IS_OK(ret) && io.t2ffirst.out.count != count) {
t2ffirst 940 source4/torture/nbench/nbio.c io.t2ffirst.out.count, count);
t2ffirst 45 source4/torture/raw/chkpath.c io.t2ffirst.level = RAW_SEARCH_TRANS2;
t2ffirst 46 source4/torture/raw/chkpath.c io.t2ffirst.data_level = RAW_SEARCH_DATA_STANDARD;
t2ffirst 47 source4/torture/raw/chkpath.c io.t2ffirst.in.search_attrib = 0;
t2ffirst 48 source4/torture/raw/chkpath.c io.t2ffirst.in.max_count = 1;
t2ffirst 49 source4/torture/raw/chkpath.c io.t2ffirst.in.flags = FLAG_TRANS2_FIND_CLOSE;
t2ffirst 50 source4/torture/raw/chkpath.c io.t2ffirst.in.storage_type = 0;
t2ffirst 51 source4/torture/raw/chkpath.c io.t2ffirst.in.pattern = pattern;
t2ffirst 70 source4/torture/raw/search.c io.t2ffirst.level = RAW_SEARCH_TRANS2;
t2ffirst 71 source4/torture/raw/search.c io.t2ffirst.data_level = data_level;
t2ffirst 72 source4/torture/raw/search.c io.t2ffirst.in.search_attrib = attrib;
t2ffirst 73 source4/torture/raw/search.c io.t2ffirst.in.max_count = 1;
t2ffirst 74 source4/torture/raw/search.c io.t2ffirst.in.flags = FLAG_TRANS2_FIND_CLOSE;
t2ffirst 75 source4/torture/raw/search.c io.t2ffirst.in.storage_type = 0;
t2ffirst 76 source4/torture/raw/search.c io.t2ffirst.in.pattern = pattern;
t2ffirst 554 source4/torture/raw/search.c io.t2ffirst.level = RAW_SEARCH_TRANS2;
t2ffirst 555 source4/torture/raw/search.c io.t2ffirst.data_level = data_level;
t2ffirst 556 source4/torture/raw/search.c io.t2ffirst.in.search_attrib = 0;
t2ffirst 557 source4/torture/raw/search.c io.t2ffirst.in.max_count = per_search;
t2ffirst 558 source4/torture/raw/search.c io.t2ffirst.in.flags = FLAG_TRANS2_FIND_CLOSE_IF_END;
t2ffirst 559 source4/torture/raw/search.c io.t2ffirst.in.storage_type = 0;
t2ffirst 560 source4/torture/raw/search.c io.t2ffirst.in.pattern = pattern;
t2ffirst 562 source4/torture/raw/search.c io.t2ffirst.in.flags |= FLAG_TRANS2_FIND_REQUIRE_RESUME |
t2ffirst 581 source4/torture/raw/search.c io2.t2fnext.in.handle = io.t2ffirst.out.handle;
t2ffirst 833 source4/torture/raw/search.c io.t2ffirst.level = RAW_SEARCH_TRANS2;
t2ffirst 834 source4/torture/raw/search.c io.t2ffirst.data_level = RAW_SEARCH_DATA_BOTH_DIRECTORY_INFO;
t2ffirst 835 source4/torture/raw/search.c io.t2ffirst.in.search_attrib = 0;
t2ffirst 836 source4/torture/raw/search.c io.t2ffirst.in.max_count = 0;
t2ffirst 837 source4/torture/raw/search.c io.t2ffirst.in.flags = 0;
t2ffirst 838 source4/torture/raw/search.c io.t2ffirst.in.storage_type = 0;
t2ffirst 839 source4/torture/raw/search.c io.t2ffirst.in.pattern = BASEDIR "\\*.*";
t2ffirst 849 source4/torture/raw/search.c io2.t2fnext.in.handle = io.t2ffirst.out.handle;
t2ffirst 879 source4/torture/raw/search.c io2.t2fnext.in.handle = io.t2ffirst.out.handle;
t2ffirst 1184 source4/torture/raw/search.c io.t2ffirst.level = RAW_SEARCH_TRANS2;
t2ffirst 1185 source4/torture/raw/search.c io.t2ffirst.data_level = RAW_SEARCH_DATA_EA_SIZE;
t2ffirst 1186 source4/torture/raw/search.c io.t2ffirst.in.search_attrib = 0;
t2ffirst 1187 source4/torture/raw/search.c io.t2ffirst.in.max_count = 100;
t2ffirst 1188 source4/torture/raw/search.c io.t2ffirst.in.flags = FLAG_TRANS2_FIND_REQUIRE_RESUME;
t2ffirst 1189 source4/torture/raw/search.c io.t2ffirst.in.storage_type = 0;
t2ffirst 1190 source4/torture/raw/search.c io.t2ffirst.in.pattern = BASEDIR "\\*";
t2ffirst 1206 source4/torture/raw/search.c io2.t2fnext.in.handle = io.t2ffirst.out.handle;
t2ffirst 1307 source4/torture/raw/search.c io.t2ffirst.level = RAW_SEARCH_TRANS2;
t2ffirst 1308 source4/torture/raw/search.c io.t2ffirst.data_level = RAW_SEARCH_DATA_EA_LIST;
t2ffirst 1309 source4/torture/raw/search.c io.t2ffirst.in.search_attrib = 0;
t2ffirst 1310 source4/torture/raw/search.c io.t2ffirst.in.max_count = 2;
t2ffirst 1311 source4/torture/raw/search.c io.t2ffirst.in.flags = FLAG_TRANS2_FIND_REQUIRE_RESUME;
t2ffirst 1312 source4/torture/raw/search.c io.t2ffirst.in.storage_type = 0;
t2ffirst 1313 source4/torture/raw/search.c io.t2ffirst.in.pattern = BASEDIR "\\*";
t2ffirst 1314 source4/torture/raw/search.c io.t2ffirst.in.num_names = 2;
t2ffirst 1315 source4/torture/raw/search.c io.t2ffirst.in.ea_names = talloc_array(tctx, struct ea_name, 2);
t2ffirst 1316 source4/torture/raw/search.c io.t2ffirst.in.ea_names[0].name.s = "SECOND EA";
t2ffirst 1317 source4/torture/raw/search.c io.t2ffirst.in.ea_names[1].name.s = "THIRD EA";
t2ffirst 1326 source4/torture/raw/search.c nxt.t2fnext.in.handle = io.t2ffirst.out.handle;
t2ffirst 239 source4/torture/unix/unix_info2.c search.t2ffirst.level = RAW_SEARCH_TRANS2;
t2ffirst 240 source4/torture/unix/unix_info2.c search.t2ffirst.data_level = SMB_FIND_UNIX_INFO2;
t2ffirst 241 source4/torture/unix/unix_info2.c search.t2ffirst.in.max_count = 1;
t2ffirst 242 source4/torture/unix/unix_info2.c search.t2ffirst.in.flags = FLAG_TRANS2_FIND_CLOSE;
t2ffirst 243 source4/torture/unix/unix_info2.c search.t2ffirst.in.pattern = fname;
t2ffirst 250 source4/torture/unix/unix_info2.c torture_assert_int_equal(torture, search.t2ffirst.out.count, 1,
t2ffirst 252 source4/torture/unix/unix_info2.c torture_assert_int_equal(torture, search.t2ffirst.out.end_of_search, 1,