changes 407 source3/include/smb.h struct notify_change *changes;
changes 61 source3/smbd/notify.c struct notify_change *changes,
changes 77 source3/smbd/notify.c notify_change_record_identical(&changes[i],
changes 78 source3/smbd/notify.c &changes[i+1])) {
changes 82 source3/smbd/notify.c c = &changes[i];
changes 169 source3/smbd/notify.c notify_buf->changes, &ps)) {
changes 184 source3/smbd/notify.c TALLOC_FREE(notify_buf->changes);
changes 358 source3/smbd/notify.c struct notify_change *change, *changes;
changes 381 source3/smbd/notify.c TALLOC_FREE(fsp->notify->changes);
changes 400 source3/smbd/notify.c if (!(changes = TALLOC_REALLOC_ARRAY(
changes 401 source3/smbd/notify.c fsp->notify, fsp->notify->changes,
changes 407 source3/smbd/notify.c fsp->notify->changes = changes;
changes 409 source3/smbd/notify.c change = &(fsp->notify->changes[fsp->notify->num_changes]);
changes 411 source3/smbd/notify.c if (!(tmp = talloc_strdup(changes, name))) {
changes 2320 source4/libcli/raw/interfaces.h } *changes;
changes 2349 source4/libcli/raw/interfaces.h struct notify_changes *changes;
changes 72 source4/libcli/raw/rawnotify.c parms->nttrans.out.changes = NULL;
changes 85 source4/libcli/raw/rawnotify.c parms->nttrans.out.changes = talloc_array(mem_ctx, struct notify_changes, parms->nttrans.out.num_changes);
changes 86 source4/libcli/raw/rawnotify.c if (!parms->nttrans.out.changes) {
changes 91 source4/libcli/raw/rawnotify.c parms->nttrans.out.changes[i].action = IVAL(nt.out.params.data, ofs+4);
changes 93 source4/libcli/raw/rawnotify.c &parms->nttrans.out.changes[i].name,
changes 78 source4/libcli/smb2/notify.c io->out.changes = NULL;
changes 90 source4/libcli/smb2/notify.c io->out.changes = talloc_array(mem_ctx, struct notify_changes, io->out.num_changes);
changes 91 source4/libcli/smb2/notify.c if (!io->out.changes) {
changes 96 source4/libcli/smb2/notify.c io->out.changes[i].action = IVAL(blob.data, ofs+4);
changes 98 source4/libcli/smb2/notify.c &io->out.changes[i].name,
changes 1508 source4/ntvfs/ntvfs_generic.c nt->smb2.out.changes = talloc_steal(req, nt2->nttrans.out.changes);
changes 34 source4/ntvfs/posix/pvfs_notify.c struct notify_changes *changes;
changes 89 source4/ntvfs/posix/pvfs_notify.c info->nttrans.out.changes = talloc_steal(req, notify_buffer->changes);
changes 91 source4/ntvfs/posix/pvfs_notify.c notify_buffer->changes = NULL;
changes 136 source4/ntvfs/posix/pvfs_notify.c n2 = talloc_realloc(n, n->changes, struct notify_changes, n->num_changes+1);
changes 141 source4/ntvfs/posix/pvfs_notify.c n->changes = n2;
changes 143 source4/ntvfs/posix/pvfs_notify.c new_path = talloc_strdup(n->changes, ev->path);
changes 149 source4/ntvfs/posix/pvfs_notify.c n->changes[n->num_changes].action = ev->action;
changes 150 source4/ntvfs/posix/pvfs_notify.c n->changes[n->num_changes].name.s = new_path;
changes 387 source4/smb_server/smb/nttrans.c size += 12 + 3 + (1+strlen(info->nttrans.out.changes[i].name.s)) * MAX_BYTES_PER_CHAR;
changes 399 source4/smb_server/smb/nttrans.c SIVAL(p, 4, info->nttrans.out.changes[i].action);
changes 400 source4/smb_server/smb/nttrans.c len = push_string(p + 12, info->nttrans.out.changes[i].name.s,
changes 444 source4/smb_server/smb2/fileio.c size += 12 + 3 + (1+strlen(io->smb2.out.changes[i].name.s)) * MAX_BYTES_PER_CHAR;
changes 459 source4/smb_server/smb2/fileio.c SIVAL(p, 4, io->smb2.out.changes[i].action);
changes 460 source4/smb_server/smb2/fileio.c len = push_string(p + 12, io->smb2.out.changes[i].name.s,
changes 1324 source4/torture/gentest.c if (not1.nttrans.out.changes[n].action !=
changes 1325 source4/torture/gentest.c not2.nttrans.out.changes[n].action) {
changes 1327 source4/torture/gentest.c not1.nttrans.out.changes[n].action,
changes 1328 source4/torture/gentest.c not2.nttrans.out.changes[n].action);
changes 1332 source4/torture/gentest.c if (strcmp(not1.nttrans.out.changes[n].name.s,
changes 1333 source4/torture/gentest.c not2.nttrans.out.changes[n].name.s)) {
changes 1335 source4/torture/gentest.c not1.nttrans.out.changes[n].name.s,
changes 1336 source4/torture/gentest.c not2.nttrans.out.changes[n].name.s);
changes 1340 source4/torture/gentest.c if (not1.nttrans.out.changes[n].name.private_length !=
changes 1341 source4/torture/gentest.c not2.nttrans.out.changes[n].name.private_length) {
changes 1343 source4/torture/gentest.c not1.nttrans.out.changes[n].name.private_length,
changes 1344 source4/torture/gentest.c not2.nttrans.out.changes[n].name.private_length);
changes 2461 source4/torture/gentest.c notify.nttrans.out.changes[0].action,
changes 2462 source4/torture/gentest.c notify.nttrans.out.changes[0].name.s);
changes 120 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_ADDED);
changes 121 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
changes 131 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
changes 132 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
changes 145 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_ADDED);
changes 146 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
changes 147 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[1].action, NOTIFY_ACTION_REMOVED);
changes 148 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[1].name, "subdir-name", STR_UNICODE);
changes 149 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[2].action, NOTIFY_ACTION_ADDED);
changes 150 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[2].name, "subdir-name", STR_UNICODE);
changes 151 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[3].action, NOTIFY_ACTION_REMOVED);
changes 152 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[3].name, "subdir-name", STR_UNICODE);
changes 195 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[i].action, NOTIFY_ACTION_ADDED);
changes 197 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "test0.txt", STR_UNICODE);
changes 203 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
changes 204 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "test0.txt", STR_UNICODE);
changes 221 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
changes 222 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "test0.txt", STR_UNICODE);
changes 232 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[i].action, NOTIFY_ACTION_REMOVED);
changes 240 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[i].action, NOTIFY_ACTION_REMOVED);
changes 375 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_ADDED);
changes 376 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
changes 377 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[1].action, NOTIFY_ACTION_ADDED);
changes 378 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[1].name, "subdir-name\\subname1", STR_UNICODE);
changes 379 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[2].action, NOTIFY_ACTION_ADDED);
changes 380 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[2].name, "subdir-name\\subname2", STR_UNICODE);
changes 381 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[3].action, NOTIFY_ACTION_OLD_NAME);
changes 382 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[3].name, "subdir-name\\subname1", STR_UNICODE);
changes 383 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[4].action, NOTIFY_ACTION_NEW_NAME);
changes 384 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[4].name, "subdir-name\\subname1-r", STR_UNICODE);
changes 387 source4/torture/raw/notify.c cli, __LINE__, ¬ify.nttrans.out.changes[5],
changes 390 source4/torture/raw/notify.c cli, __LINE__, ¬ify.nttrans.out.changes[5],
changes 393 source4/torture/raw/notify.c cli, __LINE__, ¬ify.nttrans.out.changes[5],
changes 397 source4/torture/raw/notify.c cli, __LINE__, ¬ify.nttrans.out.changes[8],
changes 400 source4/torture/raw/notify.c cli, __LINE__, ¬ify.nttrans.out.changes[8],
changes 403 source4/torture/raw/notify.c cli, __LINE__, ¬ify.nttrans.out.changes[8],
changes 414 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
changes 415 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name\\subname1-r", STR_UNICODE);
changes 416 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[1].action, NOTIFY_ACTION_REMOVED);
changes 417 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[1].name, "subdir-name", STR_UNICODE);
changes 418 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[2].action, NOTIFY_ACTION_REMOVED);
changes 419 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[2].name, "subname3-r", STR_UNICODE);
changes 494 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_MODIFIED);
changes 495 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "tname1", STR_UNICODE);
changes 524 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_MODIFIED);
changes 525 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subname2-r", STR_UNICODE);
changes 531 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_MODIFIED);
changes 532 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subname3-r", STR_UNICODE);
changes 606 source4/torture/raw/notify.c notify.nttrans.out.changes[0].action == NOTIFY_ACTION_MODIFIED && \
changes 614 source4/torture/raw/notify.c notify.nttrans.out.changes[0].action, \
changes 617 source4/torture/raw/notify.c } else if (notify.nttrans.out.changes[0].action != Action) { \
changes 620 source4/torture/raw/notify.c notify.nttrans.out.changes[0].action, \
changes 624 source4/torture/raw/notify.c } else if (strcmp(notify.nttrans.out.changes[0].name.s, "tname1") != 0) { \
changes 627 source4/torture/raw/notify.c notify.nttrans.out.changes[0].action, \
changes 629 source4/torture/raw/notify.c notify.nttrans.out.changes[0].name.s); \
changes 1139 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
changes 1146 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name2", STR_UNICODE);
changes 1424 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_MODIFIED);
changes 1425 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "tname1", STR_UNICODE);
changes 1526 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_ADDED);
changes 1527 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
changes 1536 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
changes 1537 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
changes 1552 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_ADDED);
changes 1553 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
changes 1562 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
changes 1563 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
changes 1580 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_ADDED);
changes 1581 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
changes 1590 source4/torture/raw/notify.c CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
changes 1591 source4/torture/raw/notify.c CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
changes 867 source4/torture/rpc/netlogon.c } changes[] = {
changes 1297 source4/torture/rpc/netlogon.c for (i=0;i<ARRAY_SIZE(changes);i++) {
changes 1299 source4/torture/rpc/netlogon.c if (d != changes[i].db_index) {
changes 1309 source4/torture/rpc/netlogon.c e.object_rid = changes[i].rid;
changes 1310 source4/torture/rpc/netlogon.c e.flags = changes[i].flags;
changes 1311 source4/torture/rpc/netlogon.c e.db_index = changes[i].db_index;
changes 1312 source4/torture/rpc/netlogon.c e.delta_type = changes[i].delta_type;
changes 1314 source4/torture/rpc/netlogon.c switch (changes[i].flags & (NETR_CHANGELOG_NAME_INCLUDED | NETR_CHANGELOG_SID_INCLUDED)) {
changes 1316 source4/torture/rpc/netlogon.c e.object.object_sid = changes[i].sid;
changes 1319 source4/torture/rpc/netlogon.c e.object.object_name = changes[i].name;
changes 1328 source4/torture/rpc/netlogon.c database, changes[i].comment);
changes 1335 source4/torture/rpc/netlogon.c torture_assert_ntstatus_equal(tctx, status, changes[i].expected_error, changes[i].comment);
changes 1339 source4/torture/rpc/netlogon.c changes[i].expected_num_results,
changes 1340 source4/torture/rpc/netlogon.c changes[i].comment);
changes 1344 source4/torture/rpc/netlogon.c changes[i].expected_delta_type_1,
changes 1345 source4/torture/rpc/netlogon.c changes[i].comment);
changes 1350 source4/torture/rpc/netlogon.c changes[i].expected_delta_type_2,
changes 1351 source4/torture/rpc/netlogon.c changes[i].comment);
changes 88 source4/torture/smb2/notify.c CHECK_VALUE(n.out.changes[0].action, NOTIFY_ACTION_REMOVED);
changes 89 source4/torture/smb2/notify.c CHECK_WIRE_STR(n.out.changes[0].name, FNAME);
changes 129 source4/torture/smb2/notify.c CHECK_VALUE(n.out.changes[0].action, NOTIFY_ACTION_REMOVED);
changes 130 source4/torture/smb2/notify.c CHECK_WIRE_STR(n.out.changes[0].name, FNAME);
changes 131 source4/torture/smb2/notify.c CHECK_VALUE(n.out.changes[1].action, NOTIFY_ACTION_ADDED);
changes 132 source4/torture/smb2/notify.c CHECK_WIRE_STR(n.out.changes[1].name, FNAME);
changes 133 source4/torture/smb2/notify.c CHECK_VALUE(n.out.changes[2].action, NOTIFY_ACTION_MODIFIED);
changes 134 source4/torture/smb2/notify.c CHECK_WIRE_STR(n.out.changes[2].name, FNAME);