notify            403 source3/include/nt_printing.h 	} notify;
notify            448 source3/include/nt_printing.h 	} notify;
notify           6569 source3/include/proto.h NTSTATUS notify_add(struct notify_context *notify, struct notify_entry *e0,
notify           6572 source3/include/proto.h NTSTATUS notify_remove(struct notify_context *notify, void *private_data);
notify           6573 source3/include/proto.h void notify_trigger(struct notify_context *notify,
notify            463 source3/include/smb.h 	struct notify_change_buf *notify;
notify             99 source3/printing/notify.c 				msg->notify.value[0], msg->notify.value[1]);
notify            102 source3/printing/notify.c 				msg->len, msg->notify.data);
notify            250 source3/printing/notify.c 		to->notify.data = (char *)TALLOC_MEMDUP(send_ctx, from->notify.data, from->len );
notify            251 source3/printing/notify.c 		if ( !to->notify.data ) {
notify            359 source3/printing/notify.c 	msg->notify.value[0] = value1;
notify            360 source3/printing/notify.c 	msg->notify.value[1] = value2;
notify            389 source3/printing/notify.c 	msg->notify.data = CONST_DISCARD(char *,buffer);
notify            195 source3/rpc_server/srv_spoolss_nt.c 	if (Printer->notify.client_connected == true) {
notify            200 source3/rpc_server/srv_spoolss_nt.c 			srv_spoolss_replycloseprinter(snum, &Printer->notify.client_hnd);
notify            205 source3/rpc_server/srv_spoolss_nt.c 						&Printer->notify.client_hnd);
notify            209 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.flags=0;
notify            210 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.options=0;
notify            211 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.localmachine[0]='\0';
notify            212 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.printerlocal=0;
notify            213 source3/rpc_server/srv_spoolss_nt.c 	TALLOC_FREE(Printer->notify.option);
notify            214 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.client_connected = false;
notify            576 source3/rpc_server/srv_spoolss_nt.c 	new_printer->notify.option=NULL;
notify            609 source3/rpc_server/srv_spoolss_nt.c 	struct spoolss_NotifyOption *option = p->notify.option;
notify            623 source3/rpc_server/srv_spoolss_nt.c 	if (p->notify.flags)
notify            625 source3/rpc_server/srv_spoolss_nt.c 			p->notify.flags, notify_type, notify_field);
notify            713 source3/rpc_server/srv_spoolss_nt.c 	SETUP_SPOOLSS_NOTIFY_DATA_INTEGER(data, msg->notify.value[0]);
notify            723 source3/rpc_server/srv_spoolss_nt.c 	data->data.string.string = talloc_strdup(mem_ctx, msg->notify.data);
notify            743 source3/rpc_server/srv_spoolss_nt.c 	init_systemtime_buffer(mem_ctx, gmtime((time_t *)msg->notify.data),
notify            929 source3/rpc_server/srv_spoolss_nt.c 		msg_grp->msgs[new_slot].notify.data = (char *)
notify            930 source3/rpc_server/srv_spoolss_nt.c 			TALLOC_MEMDUP( ctr->ctx, msg->notify.data, msg->len );
notify            972 source3/rpc_server/srv_spoolss_nt.c 		if ( !p->notify.client_connected )
notify           1077 source3/rpc_server/srv_spoolss_nt.c 								     &p->notify.client_hnd,
notify           1078 source3/rpc_server/srv_spoolss_nt.c 								     p->notify.change, /* color */
notify           1079 source3/rpc_server/srv_spoolss_nt.c 								     p->notify.flags,
notify           1127 source3/rpc_server/srv_spoolss_nt.c 			   &msg->notify.value[0], &msg->notify.value[1]);
notify           1130 source3/rpc_server/srv_spoolss_nt.c 			   &msg->len, &msg->notify.data);
notify           1139 source3/rpc_server/srv_spoolss_nt.c 		DEBUG(3, ("notify2_unpack_msg: value1 = %d, value2 = %d\n", msg->notify.value[0],
notify           1140 source3/rpc_server/srv_spoolss_nt.c 			  msg->notify.value[1]));
notify           1142 source3/rpc_server/srv_spoolss_nt.c 		dump_data(3, (uint8_t *)msg->notify.data, msg->len);
notify           1161 source3/rpc_server/srv_spoolss_nt.c 	SPOOLSS_NOTIFY_MSG	notify;
notify           1210 source3/rpc_server/srv_spoolss_nt.c 		ZERO_STRUCT( notify );
notify           1211 source3/rpc_server/srv_spoolss_nt.c 		notify2_unpack_msg( &notify, &msg_tv, msg_ptr, msg_len );
notify           1216 source3/rpc_server/srv_spoolss_nt.c 		notify_msg_ctr_addmsg( &messages, &notify );
notify           1220 source3/rpc_server/srv_spoolss_nt.c 		if ( notify.len != 0 )
notify           1221 source3/rpc_server/srv_spoolss_nt.c 			SAFE_FREE( notify.notify.data );
notify           1333 source3/rpc_server/srv_spoolss_nt.c 			&& printer->notify.client_connected )
notify           2786 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.flags		= r->in.flags;
notify           2787 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.options		= r->in.options;
notify           2788 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.printerlocal	= r->in.printer_local;
notify           2790 source3/rpc_server/srv_spoolss_nt.c 	TALLOC_FREE(Printer->notify.option);
notify           2791 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.option = dup_spoolss_NotifyOption(Printer, option);
notify           2793 source3/rpc_server/srv_spoolss_nt.c 	fstrcpy(Printer->notify.localmachine, r->in.local_machine);
notify           2808 source3/rpc_server/srv_spoolss_nt.c 	if(!srv_spoolss_replyopenprinter(snum, Printer->notify.localmachine,
notify           2809 source3/rpc_server/srv_spoolss_nt.c 					Printer->notify.printerlocal, 1,
notify           2810 source3/rpc_server/srv_spoolss_nt.c 					&Printer->notify.client_hnd, &client_ss))
notify           2813 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.client_connected = true;
notify           3572 source3/rpc_server/srv_spoolss_nt.c 	option = Printer->notify.option;
notify           3641 source3/rpc_server/srv_spoolss_nt.c 	option = Printer->notify.option;
notify           3749 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.fnpcn = true;
notify           3751 source3/rpc_server/srv_spoolss_nt.c 	if (Printer->notify.client_connected) {
notify           3755 source3/rpc_server/srv_spoolss_nt.c 		Printer->notify.change = r->in.change_low;
notify           3772 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.fnpcn = false;
notify           6345 source3/rpc_server/srv_spoolss_nt.c 	if (Printer->notify.client_connected == true) {
notify           6354 source3/rpc_server/srv_spoolss_nt.c 		srv_spoolss_replycloseprinter(snum, &Printer->notify.client_hnd);
notify           6357 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.flags=0;
notify           6358 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.options=0;
notify           6359 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.localmachine[0]='\0';
notify           6360 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.printerlocal=0;
notify           6361 source3/rpc_server/srv_spoolss_nt.c 	TALLOC_FREE(Printer->notify.option);
notify           6362 source3/rpc_server/srv_spoolss_nt.c 	Printer->notify.client_connected = false;
notify            461 source3/smbd/files.c 	if (fsp->notify) {
notify            463 source3/smbd/files.c 		TALLOC_FREE(fsp->notify);
notify            202 source3/smbd/notify.c 	SMB_ASSERT(fsp->notify == NULL);
notify            204 source3/smbd/notify.c 	if (!(fsp->notify = TALLOC_ZERO_P(NULL, struct notify_change_buf))) {
notify            212 source3/smbd/notify.c 		TALLOC_FREE(fsp->notify);
notify            258 source3/smbd/notify.c 	DLIST_ADD_END(fsp->notify->requests, request,
notify            281 source3/smbd/notify.c 	SMB_ASSERT(fsp->notify != NULL);
notify            283 source3/smbd/notify.c 	for (req = fsp->notify->requests; req; req = req->next) {
notify            293 source3/smbd/notify.c 	DLIST_REMOVE(fsp->notify->requests, req);
notify            328 source3/smbd/notify.c 	if (fsp->notify == NULL) {
notify            332 source3/smbd/notify.c 	while (fsp->notify->requests != NULL) {
notify            334 source3/smbd/notify.c 			fsp->conn, fsp->notify->requests->req, status);
notify            335 source3/smbd/notify.c 		change_notify_remove_request(fsp->notify->requests);
notify            361 source3/smbd/notify.c 	if (fsp->notify == NULL) {
notify            373 source3/smbd/notify.c 	if ((fsp->notify->num_changes > 1000) || (name == NULL)) {
notify            381 source3/smbd/notify.c 		TALLOC_FREE(fsp->notify->changes);
notify            382 source3/smbd/notify.c 		fsp->notify->num_changes = -1;
notify            383 source3/smbd/notify.c 		if (fsp->notify->requests != NULL) {
notify            385 source3/smbd/notify.c 					    fsp->notify->requests->req,
notify            386 source3/smbd/notify.c 					    fsp->notify->requests->max_param,
notify            387 source3/smbd/notify.c 					    fsp->notify);
notify            388 source3/smbd/notify.c 			change_notify_remove_request(fsp->notify->requests);
notify            396 source3/smbd/notify.c 	if (fsp->notify->num_changes == -1) {
notify            401 source3/smbd/notify.c 		      fsp->notify, fsp->notify->changes,
notify            402 source3/smbd/notify.c 		      struct notify_change, fsp->notify->num_changes+1))) {
notify            407 source3/smbd/notify.c 	fsp->notify->changes = changes;
notify            409 source3/smbd/notify.c 	change = &(fsp->notify->changes[fsp->notify->num_changes]);
notify            420 source3/smbd/notify.c 	fsp->notify->num_changes += 1;
notify            422 source3/smbd/notify.c 	if (fsp->notify->requests == NULL) {
notify            444 source3/smbd/notify.c 			    fsp->notify->requests->req,
notify            445 source3/smbd/notify.c 			    fsp->notify->requests->max_param,
notify            446 source3/smbd/notify.c 			    fsp->notify);
notify            448 source3/smbd/notify.c 	change_notify_remove_request(fsp->notify->requests);
notify             54 source3/smbd/notify_internal.c static NTSTATUS notify_remove_all(struct notify_context *notify,
notify             62 source3/smbd/notify_internal.c static int notify_destructor(struct notify_context *notify)
notify             64 source3/smbd/notify_internal.c 	messaging_deregister(notify->messaging_ctx, MSG_PVFS_NOTIFY, notify);
notify             66 source3/smbd/notify_internal.c 	if (notify->list != NULL) {
notify             67 source3/smbd/notify_internal.c 		notify_remove_all(notify, &notify->server);
notify             83 source3/smbd/notify_internal.c 	struct notify_context *notify;
notify             89 source3/smbd/notify_internal.c 	notify = talloc(mem_ctx, struct notify_context);
notify             90 source3/smbd/notify_internal.c 	if (notify == NULL) {
notify             94 source3/smbd/notify_internal.c 	notify->db = db_open(notify, lock_path("notify.tdb"),
notify             97 source3/smbd/notify_internal.c 	if (notify->db == NULL) {
notify             98 source3/smbd/notify_internal.c 		talloc_free(notify);
notify            102 source3/smbd/notify_internal.c 	notify->server = server;
notify            103 source3/smbd/notify_internal.c 	notify->messaging_ctx = messaging_ctx;
notify            104 source3/smbd/notify_internal.c 	notify->list = NULL;
notify            105 source3/smbd/notify_internal.c 	notify->array = NULL;
notify            106 source3/smbd/notify_internal.c 	notify->seqnum = notify->db->get_seqnum(notify->db);
notify            107 source3/smbd/notify_internal.c 	notify->key = string_term_tdb_data(NOTIFY_KEY);
notify            109 source3/smbd/notify_internal.c 	talloc_set_destructor(notify, notify_destructor);
notify            113 source3/smbd/notify_internal.c 	messaging_register(notify->messaging_ctx, notify, 
notify            116 source3/smbd/notify_internal.c 	notify->sys_notify_ctx = sys_notify_context_create(conn, notify, ev);
notify            118 source3/smbd/notify_internal.c 	return notify;
notify            124 source3/smbd/notify_internal.c static NTSTATUS notify_fetch_locked(struct notify_context *notify, struct db_record **rec)
notify            126 source3/smbd/notify_internal.c 	*rec = notify->db->fetch_locked(notify->db, notify, notify->key);
notify            136 source3/smbd/notify_internal.c static NTSTATUS notify_load(struct notify_context *notify, struct db_record *rec)
notify            143 source3/smbd/notify_internal.c 	seqnum = notify->db->get_seqnum(notify->db);
notify            145 source3/smbd/notify_internal.c 	if (seqnum == notify->seqnum && notify->array != NULL) {
notify            149 source3/smbd/notify_internal.c 	notify->seqnum = seqnum;
notify            151 source3/smbd/notify_internal.c 	talloc_free(notify->array);
notify            152 source3/smbd/notify_internal.c 	notify->array = TALLOC_ZERO_P(notify, struct notify_array);
notify            153 source3/smbd/notify_internal.c 	NT_STATUS_HAVE_NO_MEMORY(notify->array);
notify            156 source3/smbd/notify_internal.c 		if (notify->db->fetch(notify->db, notify, notify->key, &dbuf) != 0) {
notify            169 source3/smbd/notify_internal.c 		ndr_err = ndr_pull_struct_blob(&blob, notify->array, NULL, notify->array,
notify            178 source3/smbd/notify_internal.c 		NDR_PRINT_DEBUG(notify_array, notify->array);
notify            201 source3/smbd/notify_internal.c static NTSTATUS notify_save(struct notify_context *notify, struct db_record *rec)
notify            210 source3/smbd/notify_internal.c 	while (notify->array->num_depths > 0 &&
notify            211 source3/smbd/notify_internal.c 	       notify->array->depth[notify->array->num_depths-1].num_entries == 0) {
notify            212 source3/smbd/notify_internal.c 		notify->array->num_depths--;
notify            216 source3/smbd/notify_internal.c 	if (notify->array->num_depths == 0) {
notify            220 source3/smbd/notify_internal.c 	tmp_ctx = talloc_new(notify);
notify            223 source3/smbd/notify_internal.c 	ndr_err = ndr_push_struct_blob(&blob, tmp_ctx, NULL, notify->array,
notify            232 source3/smbd/notify_internal.c 		NDR_PRINT_DEBUG(notify_array, notify->array);
notify            251 source3/smbd/notify_internal.c 	struct notify_context *notify = talloc_get_type(private_data, struct notify_context);
notify            254 source3/smbd/notify_internal.c 	TALLOC_CTX *tmp_ctx = talloc_new(notify);
notify            268 source3/smbd/notify_internal.c 	for (listel=notify->list;listel;listel=listel->next) {
notify            294 source3/smbd/notify_internal.c static NTSTATUS notify_add_array(struct notify_context *notify, struct db_record *rec,
notify            303 source3/smbd/notify_internal.c 	if (depth >= notify->array->num_depths) {
notify            304 source3/smbd/notify_internal.c 		d = talloc_realloc(notify->array, notify->array->depth, 
notify            307 source3/smbd/notify_internal.c 		for (i=notify->array->num_depths;i<=depth;i++) {
notify            310 source3/smbd/notify_internal.c 		notify->array->depth = d;
notify            311 source3/smbd/notify_internal.c 		notify->array->num_depths = depth+1;
notify            313 source3/smbd/notify_internal.c 	d = &notify->array->depth[depth];
notify            316 source3/smbd/notify_internal.c 	ee = talloc_realloc(notify->array->depth, d->entries, struct notify_entry,
notify            323 source3/smbd/notify_internal.c 	d->entries[d->num_entries].server = notify->server;
notify            343 source3/smbd/notify_internal.c 	return notify_save(notify, rec);
notify            350 source3/smbd/notify_internal.c NTSTATUS notify_add(struct notify_context *notify, struct notify_entry *e0,
notify            363 source3/smbd/notify_internal.c 	if (notify == NULL) {
notify            367 source3/smbd/notify_internal.c 	status = notify_fetch_locked(notify, &rec);
notify            370 source3/smbd/notify_internal.c 	status = notify_load(notify, rec);
notify            379 source3/smbd/notify_internal.c 		tmp_path = talloc_strndup(notify, e.path, len-2);
notify            389 source3/smbd/notify_internal.c 	listel = TALLOC_ZERO_P(notify, struct notify_list);
notify            398 source3/smbd/notify_internal.c 	DLIST_ADD(notify->list, listel);
notify            401 source3/smbd/notify_internal.c 	if (notify->sys_notify_ctx != NULL) {
notify            406 source3/smbd/notify_internal.c 		status = sys_notify_watch(notify->sys_notify_ctx, &e,
notify            419 source3/smbd/notify_internal.c 		status = notify_add_array(notify, rec, &e, private_data, depth);
notify            432 source3/smbd/notify_internal.c NTSTATUS notify_remove(struct notify_context *notify, void *private_data)
notify            441 source3/smbd/notify_internal.c 	if (notify == NULL) {
notify            445 source3/smbd/notify_internal.c 	for (listel=notify->list;listel;listel=listel->next) {
notify            447 source3/smbd/notify_internal.c 			DLIST_REMOVE(notify->list, listel);
notify            459 source3/smbd/notify_internal.c 	status = notify_fetch_locked(notify, &rec);
notify            462 source3/smbd/notify_internal.c 	status = notify_load(notify, rec);
notify            468 source3/smbd/notify_internal.c 	if (depth >= notify->array->num_depths) {
notify            474 source3/smbd/notify_internal.c 	d = &notify->array->depth[depth];
notify            478 source3/smbd/notify_internal.c 		    cluster_id_equal(&notify->server, &d->entries[i].server)) {
notify            493 source3/smbd/notify_internal.c 	status = notify_save(notify, rec);
notify            503 source3/smbd/notify_internal.c static NTSTATUS notify_remove_all(struct notify_context *notify,
notify            510 source3/smbd/notify_internal.c 	status = notify_fetch_locked(notify, &rec);
notify            513 source3/smbd/notify_internal.c 	status = notify_load(notify, rec);
notify            521 source3/smbd/notify_internal.c 	for (depth=0;depth<notify->array->num_depths;depth++) {
notify            522 source3/smbd/notify_internal.c 		struct notify_depth *d = &notify->array->depth[depth];
notify            537 source3/smbd/notify_internal.c 		status = notify_save(notify, rec);
notify            549 source3/smbd/notify_internal.c static NTSTATUS notify_send(struct notify_context *notify, struct notify_entry *e,
notify            562 source3/smbd/notify_internal.c 	tmp_ctx = talloc_new(notify);
notify            571 source3/smbd/notify_internal.c 	status = messaging_send(notify->messaging_ctx, e->server, 
notify            585 source3/smbd/notify_internal.c void notify_trigger(struct notify_context *notify,
notify            596 source3/smbd/notify_internal.c 	if (notify == NULL) {
notify            601 source3/smbd/notify_internal.c 	status = notify_load(notify, NULL);
notify            608 source3/smbd/notify_internal.c 	     p && depth < notify->array->num_depths;
notify            612 source3/smbd/notify_internal.c 		struct notify_depth *d = &notify->array->depth[depth];
notify            675 source3/smbd/notify_internal.c 			status = notify_send(notify, e,	path + e->path_len + 1,
notify            685 source3/smbd/notify_internal.c 				notify_remove_all(notify, &server);
notify           1515 source3/smbd/nttrans.c 	if (fsp->notify == NULL) {
notify           1527 source3/smbd/nttrans.c 	if (fsp->notify->num_changes != 0) {
notify           1539 source3/smbd/nttrans.c 				    fsp->notify);
notify           1146 source4/ntvfs/cifs/vfs_cifs.c 	ops.notify = cvfs_notify;
notify             65 source4/ntvfs/common/notify.c static NTSTATUS notify_remove_all(struct notify_context *notify);
notify             72 source4/ntvfs/common/notify.c static int notify_destructor(struct notify_context *notify)
notify             74 source4/ntvfs/common/notify.c 	messaging_deregister(notify->messaging_ctx, MSG_PVFS_NOTIFY, notify);
notify             75 source4/ntvfs/common/notify.c 	notify_remove_all(notify);
notify             90 source4/ntvfs/common/notify.c 	struct notify_context *notify;
notify            100 source4/ntvfs/common/notify.c 	notify = talloc(mem_ctx, struct notify_context);
notify            101 source4/ntvfs/common/notify.c 	if (notify == NULL) {
notify            105 source4/ntvfs/common/notify.c 	notify->w = cluster_tdb_tmp_open(notify, lp_ctx, "notify.tdb", TDB_SEQNUM);
notify            106 source4/ntvfs/common/notify.c 	if (notify->w == NULL) {
notify            107 source4/ntvfs/common/notify.c 		talloc_free(notify);
notify            111 source4/ntvfs/common/notify.c 	notify->server = server;
notify            112 source4/ntvfs/common/notify.c 	notify->messaging_ctx = messaging_ctx;
notify            113 source4/ntvfs/common/notify.c 	notify->list = NULL;
notify            114 source4/ntvfs/common/notify.c 	notify->array = NULL;
notify            115 source4/ntvfs/common/notify.c 	notify->iconv_convenience = lp_iconv_convenience(lp_ctx);
notify            116 source4/ntvfs/common/notify.c 	notify->seqnum = tdb_get_seqnum(notify->w->tdb);
notify            118 source4/ntvfs/common/notify.c 	talloc_set_destructor(notify, notify_destructor);
notify            122 source4/ntvfs/common/notify.c 	messaging_register(notify->messaging_ctx, notify, 
notify            125 source4/ntvfs/common/notify.c 	notify->sys_notify_ctx = sys_notify_context_create(scfg, notify, ev);
notify            127 source4/ntvfs/common/notify.c 	return notify;
notify            134 source4/ntvfs/common/notify.c static NTSTATUS notify_lock(struct notify_context *notify)
notify            136 source4/ntvfs/common/notify.c 	if (tdb_lock_bystring(notify->w->tdb, NOTIFY_KEY) != 0) {
notify            145 source4/ntvfs/common/notify.c static void notify_unlock(struct notify_context *notify)
notify            147 source4/ntvfs/common/notify.c 	tdb_unlock_bystring(notify->w->tdb, NOTIFY_KEY);
notify            153 source4/ntvfs/common/notify.c static NTSTATUS notify_load(struct notify_context *notify)
notify            160 source4/ntvfs/common/notify.c 	seqnum = tdb_get_seqnum(notify->w->tdb);
notify            162 source4/ntvfs/common/notify.c 	if (seqnum == notify->seqnum && notify->array != NULL) {
notify            166 source4/ntvfs/common/notify.c 	notify->seqnum = seqnum;
notify            168 source4/ntvfs/common/notify.c 	talloc_free(notify->array);
notify            169 source4/ntvfs/common/notify.c 	notify->array = talloc_zero(notify, struct notify_array);
notify            170 source4/ntvfs/common/notify.c 	NT_STATUS_HAVE_NO_MEMORY(notify->array);
notify            172 source4/ntvfs/common/notify.c 	dbuf = tdb_fetch_bystring(notify->w->tdb, NOTIFY_KEY);
notify            180 source4/ntvfs/common/notify.c 	ndr_err = ndr_pull_struct_blob(&blob, notify->array, notify->iconv_convenience,
notify            181 source4/ntvfs/common/notify.c 				       notify->array,
notify            203 source4/ntvfs/common/notify.c static NTSTATUS notify_save(struct notify_context *notify)
notify            212 source4/ntvfs/common/notify.c 	while (notify->array->num_depths > 0 &&
notify            213 source4/ntvfs/common/notify.c 	       notify->array->depth[notify->array->num_depths-1].num_entries == 0) {
notify            214 source4/ntvfs/common/notify.c 		notify->array->num_depths--;
notify            218 source4/ntvfs/common/notify.c 	if (notify->array->num_depths == 0) {
notify            219 source4/ntvfs/common/notify.c 		ret = tdb_delete_bystring(notify->w->tdb, NOTIFY_KEY);
notify            226 source4/ntvfs/common/notify.c 	tmp_ctx = talloc_new(notify);
notify            229 source4/ntvfs/common/notify.c 	ndr_err = ndr_push_struct_blob(&blob, tmp_ctx, notify->iconv_convenience, notify->array,
notify            239 source4/ntvfs/common/notify.c 	ret = tdb_store_bystring(notify->w->tdb, NOTIFY_KEY, dbuf, TDB_REPLACE);
notify            255 source4/ntvfs/common/notify.c 	struct notify_context *notify = talloc_get_type(private_data, struct notify_context);
notify            258 source4/ntvfs/common/notify.c 	TALLOC_CTX *tmp_ctx = talloc_new(notify);
notify            265 source4/ntvfs/common/notify.c 	ndr_err = ndr_pull_struct_blob(data, tmp_ctx, notify->iconv_convenience, &ev,
notify            272 source4/ntvfs/common/notify.c 	for (listel=notify->list;listel;listel=listel->next) {
notify            296 source4/ntvfs/common/notify.c static NTSTATUS notify_add_array(struct notify_context *notify, struct notify_entry *e,
notify            304 source4/ntvfs/common/notify.c 	if (depth >= notify->array->num_depths) {
notify            305 source4/ntvfs/common/notify.c 		d = talloc_realloc(notify->array, notify->array->depth, 
notify            308 source4/ntvfs/common/notify.c 		for (i=notify->array->num_depths;i<=depth;i++) {
notify            311 source4/ntvfs/common/notify.c 		notify->array->depth = d;
notify            312 source4/ntvfs/common/notify.c 		notify->array->num_depths = depth+1;
notify            314 source4/ntvfs/common/notify.c 	d = &notify->array->depth[depth];
notify            317 source4/ntvfs/common/notify.c 	ee = talloc_realloc(notify->array->depth, d->entries, struct notify_entry,
notify            324 source4/ntvfs/common/notify.c 	d->entries[d->num_entries].server = notify->server;
notify            344 source4/ntvfs/common/notify.c 	return notify_save(notify);
notify            351 source4/ntvfs/common/notify.c NTSTATUS notify_add(struct notify_context *notify, struct notify_entry *e0,
notify            363 source4/ntvfs/common/notify.c 	if (notify == NULL) {
notify            367 source4/ntvfs/common/notify.c 	status = notify_lock(notify);
notify            370 source4/ntvfs/common/notify.c 	status = notify_load(notify);
notify            378 source4/ntvfs/common/notify.c 		tmp_path = talloc_strndup(notify, e.path, len-2);
notify            388 source4/ntvfs/common/notify.c 	listel = talloc_zero(notify, struct notify_list);
notify            397 source4/ntvfs/common/notify.c 	DLIST_ADD(notify->list, listel);
notify            400 source4/ntvfs/common/notify.c 	if (notify->sys_notify_ctx != NULL) {
notify            405 source4/ntvfs/common/notify.c 		status = sys_notify_watch(notify->sys_notify_ctx, &e,
notify            418 source4/ntvfs/common/notify.c 		status = notify_add_array(notify, &e, private_data, depth);
notify            422 source4/ntvfs/common/notify.c 	notify_unlock(notify);
notify            431 source4/ntvfs/common/notify.c NTSTATUS notify_remove(struct notify_context *notify, void *private_data)
notify            439 source4/ntvfs/common/notify.c 	if (notify == NULL) {
notify            443 source4/ntvfs/common/notify.c 	for (listel=notify->list;listel;listel=listel->next) {
notify            445 source4/ntvfs/common/notify.c 			DLIST_REMOVE(notify->list, listel);
notify            457 source4/ntvfs/common/notify.c 	status = notify_lock(notify);
notify            460 source4/ntvfs/common/notify.c 	status = notify_load(notify);
notify            462 source4/ntvfs/common/notify.c 		notify_unlock(notify);
notify            466 source4/ntvfs/common/notify.c 	if (depth >= notify->array->num_depths) {
notify            467 source4/ntvfs/common/notify.c 		notify_unlock(notify);
notify            472 source4/ntvfs/common/notify.c 	d = &notify->array->depth[depth];
notify            476 source4/ntvfs/common/notify.c 		    cluster_id_equal(&notify->server, &d->entries[i].server)) {
notify            481 source4/ntvfs/common/notify.c 		notify_unlock(notify);
notify            491 source4/ntvfs/common/notify.c 	status = notify_save(notify);
notify            493 source4/ntvfs/common/notify.c 	notify_unlock(notify);
notify            501 source4/ntvfs/common/notify.c static NTSTATUS notify_remove_all(struct notify_context *notify)
notify            506 source4/ntvfs/common/notify.c 	if (notify->list == NULL) {
notify            510 source4/ntvfs/common/notify.c 	status = notify_lock(notify);
notify            513 source4/ntvfs/common/notify.c 	status = notify_load(notify);
notify            515 source4/ntvfs/common/notify.c 		notify_unlock(notify);
notify            521 source4/ntvfs/common/notify.c 	for (depth=0;depth<notify->array->num_depths;depth++) {
notify            522 source4/ntvfs/common/notify.c 		struct notify_depth *d = &notify->array->depth[depth];
notify            524 source4/ntvfs/common/notify.c 			if (cluster_id_equal(&notify->server, &d->entries[i].server)) {
notify            537 source4/ntvfs/common/notify.c 		status = notify_save(notify);
notify            540 source4/ntvfs/common/notify.c 	notify_unlock(notify);
notify            549 source4/ntvfs/common/notify.c static void notify_send(struct notify_context *notify, struct notify_entry *e,
notify            562 source4/ntvfs/common/notify.c 	tmp_ctx = talloc_new(notify);
notify            564 source4/ntvfs/common/notify.c 	ndr_err = ndr_push_struct_blob(&data, tmp_ctx, notify->iconv_convenience, &ev, (ndr_push_flags_fn_t)ndr_push_notify_event);
notify            570 source4/ntvfs/common/notify.c 	status = messaging_send(notify->messaging_ctx, e->server, 
notify            583 source4/ntvfs/common/notify.c void notify_trigger(struct notify_context *notify,
notify            591 source4/ntvfs/common/notify.c 	if (notify == NULL) {
notify            595 source4/ntvfs/common/notify.c 	status = notify_load(notify);
notify            602 source4/ntvfs/common/notify.c 	     p && depth < notify->array->num_depths;
notify            606 source4/ntvfs/common/notify.c 		struct notify_depth *d = &notify->array->depth[depth];
notify            669 source4/ntvfs/common/notify.c 			notify_send(notify, e, path + e->path_len + 1, action);
notify            147 source4/ntvfs/ntvfs.h 	NTSTATUS (*notify)(struct ntvfs_module_context *ntvfs,
notify           1548 source4/ntvfs/ntvfs_generic.c 		status = ntvfs->ops->notify(ntvfs, req, nt2);
notify            318 source4/ntvfs/ntvfs_interface.c 	if (!ntvfs->ops->notify) {
notify            321 source4/ntvfs/ntvfs_interface.c 	return ntvfs->ops->notify(ntvfs, req, info);
notify            621 source4/ntvfs/ntvfs_interface.c 	if (!ntvfs->next || !ntvfs->next->ops->notify) {
notify            624 source4/ntvfs/ntvfs_interface.c 	return ntvfs->next->ops->notify(ntvfs->next, req, info);
notify            367 source4/ntvfs/posix/vfs_posix.c 	ops.notify = pvfs_notify;
notify            840 source4/ntvfs/smb2/vfs_smb2.c 	ops.notify = cvfs_notify;
notify            557 source4/ntvfs/unixuid/vfs_unixuid.c 	PASS_THRU_REQ(ntvfs, req, notify, (ntvfs, req, info));
notify            708 source4/ntvfs/unixuid/vfs_unixuid.c 	ops.notify = unixuid_notify;
notify            108 source4/torture/gentest.c 	union smb_notify notify;
notify           1320 source4/torture/gentest.c 			not1 = notifies[0][j].notify;
notify           1321 source4/torture/gentest.c 			not2 = notifies[i][j].notify;
notify           2447 source4/torture/gentest.c 	union smb_notify notify;
notify           2455 source4/torture/gentest.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify           2456 source4/torture/gentest.c 	status = smb_raw_changenotify_recv(req, current_op.mem_ctx, &notify);
notify           2457 source4/torture/gentest.c 	if (NT_STATUS_IS_OK(status) && notify.nttrans.out.num_changes > 0) {
notify           2460 source4/torture/gentest.c 		       notify.nttrans.out.num_changes,
notify           2461 source4/torture/gentest.c 		       notify.nttrans.out.changes[0].action,
notify           2462 source4/torture/gentest.c 		       notify.nttrans.out.changes[0].name.s);
notify           2471 source4/torture/gentest.c 				notifies[i][j].notify = notify;
notify             63 source4/torture/raw/notify.c 	union smb_notify notify;
notify             98 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify             99 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 1000;
notify            100 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = FILE_NOTIFY_CHANGE_NAME;
notify            101 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify            102 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify            106 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify            108 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
notify            113 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify            116 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
notify            119 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify            120 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_ADDED);
notify            121 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
notify            125 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify            128 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
notify            130 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify            131 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
notify            132 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
notify            141 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify            142 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
notify            144 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 4);
notify            145 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_ADDED);
notify            146 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
notify            147 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[1].action, NOTIFY_ACTION_REMOVED);
notify            148 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[1].name, "subdir-name", STR_UNICODE);
notify            149 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[2].action, NOTIFY_ACTION_ADDED);
notify            150 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[2].name, "subdir-name", STR_UNICODE);
notify            151 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[3].action, NOTIFY_ACTION_REMOVED);
notify            152 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[3].name, "subdir-name", STR_UNICODE);
notify            171 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum2;
notify            172 source4/torture/raw/notify.c 	req2 = smb_raw_changenotify_send(cli->tree, &notify);
notify            176 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify            177 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify            190 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
notify            193 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, count);
notify            195 source4/torture/raw/notify.c 		CHECK_VAL(notify.nttrans.out.changes[i].action, NOTIFY_ACTION_ADDED);
notify            197 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "test0.txt", STR_UNICODE);
notify            200 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req2, mem_ctx, &notify);
notify            202 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify            203 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
notify            204 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "test0.txt", STR_UNICODE);
notify            207 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify            218 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
notify            220 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify            221 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
notify            222 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "test0.txt", STR_UNICODE);
notify            225 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify            227 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify            228 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
notify            230 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, count-1);
notify            231 source4/torture/raw/notify.c 	for (i=0;i<notify.nttrans.out.num_changes;i++) {
notify            232 source4/torture/raw/notify.c 		CHECK_VAL(notify.nttrans.out.changes[i].action, NOTIFY_ACTION_REMOVED);
notify            234 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum2;
notify            235 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify            236 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
notify            238 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, count-1);
notify            239 source4/torture/raw/notify.c 	for (i=0;i<notify.nttrans.out.num_changes;i++) {
notify            240 source4/torture/raw/notify.c 		CHECK_VAL(notify.nttrans.out.changes[i].action, NOTIFY_ACTION_REMOVED);
notify            245 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify            246 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify            254 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
notify            256 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 0);
notify            302 source4/torture/raw/notify.c 	union smb_notify notify;
notify            331 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify            332 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 1000;
notify            333 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = FILE_NOTIFY_CHANGE_NAME | FILE_NOTIFY_CHANGE_ATTRIBUTES | FILE_NOTIFY_CHANGE_CREATION;
notify            334 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify            336 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify            337 source4/torture/raw/notify.c 	req1 = smb_raw_changenotify_send(cli->tree, &notify);
notify            339 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = false;
notify            340 source4/torture/raw/notify.c 	req2 = smb_raw_changenotify_send(cli->tree, &notify);
notify            344 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req1, mem_ctx, &notify);
notify            348 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req2, mem_ctx, &notify);
notify            359 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = 0;
notify            360 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify            362 source4/torture/raw/notify.c 	req1 = smb_raw_changenotify_send(cli->tree, &notify);
notify            368 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = false;
notify            369 source4/torture/raw/notify.c 	req2 = smb_raw_changenotify_send(cli->tree, &notify);
notify            371 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req1, mem_ctx, &notify);
notify            374 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 11);
notify            375 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_ADDED);
notify            376 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
notify            377 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[1].action, NOTIFY_ACTION_ADDED);
notify            378 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[1].name, "subdir-name\\subname1", STR_UNICODE);
notify            379 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[2].action, NOTIFY_ACTION_ADDED);
notify            380 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[2].name, "subdir-name\\subname2", STR_UNICODE);
notify            381 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[3].action, NOTIFY_ACTION_OLD_NAME);
notify            382 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[3].name, "subdir-name\\subname1", STR_UNICODE);
notify            383 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[4].action, NOTIFY_ACTION_NEW_NAME);
notify            384 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[4].name, "subdir-name\\subname1-r", STR_UNICODE);
notify            387 source4/torture/raw/notify.c 		cli, __LINE__, &notify.nttrans.out.changes[5],
notify            390 source4/torture/raw/notify.c 		cli, __LINE__, &notify.nttrans.out.changes[5],
notify            393 source4/torture/raw/notify.c 		cli, __LINE__, &notify.nttrans.out.changes[5],
notify            397 source4/torture/raw/notify.c 		cli, __LINE__, &notify.nttrans.out.changes[8],
notify            400 source4/torture/raw/notify.c 		cli, __LINE__, &notify.nttrans.out.changes[8],
notify            403 source4/torture/raw/notify.c 		cli, __LINE__, &notify.nttrans.out.changes[8],
notify            410 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req2, mem_ctx, &notify);
notify            413 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 3);
notify            414 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
notify            415 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name\\subname1-r", STR_UNICODE);
notify            416 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[1].action, NOTIFY_ACTION_REMOVED);
notify            417 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[1].name, "subdir-name", STR_UNICODE);
notify            418 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[2].action, NOTIFY_ACTION_REMOVED);
notify            419 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[2].name, "subname3-r", STR_UNICODE);
notify            433 source4/torture/raw/notify.c 	union smb_notify notify;
notify            462 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify            463 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 1000;
notify            464 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = FILE_NOTIFY_CHANGE_ATTRIBUTES;
notify            465 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify            467 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify            468 source4/torture/raw/notify.c 	req1 = smb_raw_changenotify_send(cli->tree, &notify);
notify            470 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = false;
notify            471 source4/torture/raw/notify.c 	req2 = smb_raw_changenotify_send(cli->tree, &notify);
notify            475 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req1, mem_ctx, &notify);
notify            479 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req2, mem_ctx, &notify);
notify            482 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify            483 source4/torture/raw/notify.c 	req1 = smb_raw_changenotify_send(cli->tree, &notify);
notify            490 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req1, mem_ctx, &notify);
notify            493 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify            494 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_MODIFIED);
notify            495 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "tname1", STR_UNICODE);
notify            501 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = FILE_NOTIFY_CHANGE_NAME | FILE_NOTIFY_CHANGE_ATTRIBUTES | FILE_NOTIFY_CHANGE_CREATION;
notify            502 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify            503 source4/torture/raw/notify.c 	req1 = smb_raw_changenotify_send(cli->tree, &notify);
notify            505 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = false;
notify            506 source4/torture/raw/notify.c 	req2 = smb_raw_changenotify_send(cli->tree, &notify);
notify            520 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req1, mem_ctx, &notify);
notify            523 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify            524 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_MODIFIED);
notify            525 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subname2-r", STR_UNICODE);
notify            527 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req2, mem_ctx, &notify);
notify            530 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify            531 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_MODIFIED);
notify            532 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subname3-r", STR_UNICODE);
notify            551 source4/torture/raw/notify.c 	union smb_notify notify;
notify            581 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify            582 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 1000;
notify            583 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify            594 source4/torture/raw/notify.c 		notify.nttrans.in.file.fnum = fnum;	\
notify            595 source4/torture/raw/notify.c 		notify.nttrans.in.completion_filter = (1<<i); \
notify            596 source4/torture/raw/notify.c 		req = smb_raw_changenotify_send(cli->tree, &notify); \
notify            599 source4/torture/raw/notify.c 		status = smb_raw_changenotify_recv(req, tctx, &notify); \
notify            605 source4/torture/raw/notify.c 		if (nchanges == 2 && notify.nttrans.out.num_changes == 1 && \
notify            606 source4/torture/raw/notify.c 		    notify.nttrans.out.changes[0].action == NOTIFY_ACTION_MODIFIED && \
notify            610 source4/torture/raw/notify.c 		} else if (nchanges != notify.nttrans.out.num_changes) { \
notify            612 source4/torture/raw/notify.c 			       notify.nttrans.out.num_changes, \
notify            614 source4/torture/raw/notify.c 			       notify.nttrans.out.changes[0].action, \
notify            615 source4/torture/raw/notify.c 			       notify.nttrans.in.completion_filter); \
notify            617 source4/torture/raw/notify.c 		} else if (notify.nttrans.out.changes[0].action != Action) { \
notify            619 source4/torture/raw/notify.c 			       notify.nttrans.out.num_changes, \
notify            620 source4/torture/raw/notify.c 			       notify.nttrans.out.changes[0].action, \
notify            622 source4/torture/raw/notify.c 			       notify.nttrans.in.completion_filter); \
notify            624 source4/torture/raw/notify.c 		} else if (strcmp(notify.nttrans.out.changes[0].name.s, "tname1") != 0) { \
notify            626 source4/torture/raw/notify.c 			       notify.nttrans.out.num_changes, \
notify            627 source4/torture/raw/notify.c 			       notify.nttrans.out.changes[0].action, \
notify            628 source4/torture/raw/notify.c 			       notify.nttrans.in.completion_filter, \
notify            629 source4/torture/raw/notify.c 			       notify.nttrans.out.changes[0].name.s);	\
notify            788 source4/torture/raw/notify.c 	union smb_notify notify;
notify            813 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify            814 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify            815 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 1000;
notify            816 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = FILE_NOTIFY_CHANGE_STREAM_NAME;
notify            817 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = false;
notify            821 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify            822 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
notify            846 source4/torture/raw/notify.c 	union smb_notify notify;
notify            880 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify            881 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 1000;
notify            882 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = FILE_NOTIFY_CHANGE_NAME;
notify            883 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify            884 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify            886 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify            892 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, tctx, &notify);
notify            894 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 0);
notify            908 source4/torture/raw/notify.c 	union smb_notify notify;
notify            942 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify            943 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 1000;
notify            944 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = FILE_NOTIFY_CHANGE_NAME;
notify            945 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify            946 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify            948 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify            953 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, tctx, &notify);
notify            955 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 0);
notify            969 source4/torture/raw/notify.c 	union smb_notify notify;
notify           1003 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify           1004 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 1000;
notify           1005 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = FILE_NOTIFY_CHANGE_NAME;
notify           1006 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify           1007 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify           1009 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify           1014 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, tctx, &notify);
notify           1016 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 0);
notify           1037 source4/torture/raw/notify.c 	union smb_notify notify;
notify           1071 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify           1072 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 1000;
notify           1073 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = FILE_NOTIFY_CHANGE_NAME;
notify           1074 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify           1075 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify           1077 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify           1081 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, tctx, &notify);
notify           1096 source4/torture/raw/notify.c 	union smb_notify notify;
notify           1125 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify           1126 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 1000;
notify           1127 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = FILE_NOTIFY_CHANGE_NAME;
notify           1128 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify           1129 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify           1131 source4/torture/raw/notify.c 	req1 = smb_raw_changenotify_send(cli->tree, &notify);
notify           1132 source4/torture/raw/notify.c 	req2 = smb_raw_changenotify_send(cli->tree, &notify);
notify           1136 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req1, mem_ctx, &notify);
notify           1138 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify           1139 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
notify           1143 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req2, mem_ctx, &notify);
notify           1145 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify           1146 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name2", STR_UNICODE);
notify           1160 source4/torture/raw/notify.c 	union smb_notify notify;
notify           1211 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify           1212 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 20000;
notify           1223 source4/torture/raw/notify.c 		notify.nttrans.in.completion_filter = dirs[i].filter;
notify           1224 source4/torture/raw/notify.c 		notify.nttrans.in.file.fnum = dirs[i].fnum;
notify           1225 source4/torture/raw/notify.c 		notify.nttrans.in.recursive = dirs[i].recursive;
notify           1226 source4/torture/raw/notify.c 		req = smb_raw_changenotify_send(cli->tree, &notify);
notify           1228 source4/torture/raw/notify.c 		status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
notify           1246 source4/torture/raw/notify.c 			notify.nttrans.in.file.fnum = dirs[i].fnum;
notify           1247 source4/torture/raw/notify.c 			req = smb_raw_changenotify_send(cli->tree, &notify);
notify           1249 source4/torture/raw/notify.c 			notify.nttrans.out.num_changes = 0;
notify           1250 source4/torture/raw/notify.c 			status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
notify           1251 source4/torture/raw/notify.c 			dirs[i].counted += notify.nttrans.out.num_changes;
notify           1294 source4/torture/raw/notify.c 	union smb_notify notify;
notify           1323 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify           1324 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 1000;
notify           1325 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = FILE_NOTIFY_CHANGE_NAME;
notify           1326 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify           1328 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify           1329 source4/torture/raw/notify.c 	req1 = smb_raw_changenotify_send(cli->tree, &notify);
notify           1333 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req1, mem_ctx, &notify);
notify           1354 source4/torture/raw/notify.c 	req1 = smb_raw_changenotify_send(cli->tree, &notify);
notify           1355 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req1, mem_ctx, &notify);
notify           1357 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 0);
notify           1372 source4/torture/raw/notify.c 	union smb_notify notify;
notify           1405 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify           1406 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 1000;
notify           1407 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = FILE_NOTIFY_CHANGE_ATTRIBUTES;
notify           1408 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify           1409 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify           1411 source4/torture/raw/notify.c 	req1 = smb_raw_changenotify_send(cli->tree, &notify);
notify           1421 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req1, mem_ctx, &notify);
notify           1423 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify           1424 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_MODIFIED);
notify           1425 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "tname1", STR_UNICODE);
notify           1477 source4/torture/raw/notify.c 	union smb_notify notify;
notify           1512 source4/torture/raw/notify.c 	notify.nttrans.level = RAW_NOTIFY_NTTRANS;
notify           1513 source4/torture/raw/notify.c 	notify.nttrans.in.buffer_size = 1000;
notify           1514 source4/torture/raw/notify.c 	notify.nttrans.in.completion_filter = FILE_NOTIFY_CHANGE_NAME;
notify           1515 source4/torture/raw/notify.c 	notify.nttrans.in.file.fnum = fnum;
notify           1516 source4/torture/raw/notify.c 	notify.nttrans.in.recursive = true;
notify           1519 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify           1522 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, torture, &notify);
notify           1525 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify           1526 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_ADDED);
notify           1527 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
notify           1530 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify           1533 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, torture, &notify);
notify           1535 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify           1536 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
notify           1537 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
notify           1545 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify           1548 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, torture, &notify);
notify           1551 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify           1552 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_ADDED);
notify           1553 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
notify           1556 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify           1559 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, torture, &notify);
notify           1561 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify           1562 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
notify           1563 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
notify           1573 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify           1576 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, torture, &notify);
notify           1579 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify           1580 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_ADDED);
notify           1581 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);
notify           1584 source4/torture/raw/notify.c 	req = smb_raw_changenotify_send(cli->tree, &notify);
notify           1587 source4/torture/raw/notify.c 	status = smb_raw_changenotify_recv(req, torture, &notify);
notify           1589 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.num_changes, 1);
notify           1590 source4/torture/raw/notify.c 	CHECK_VAL(notify.nttrans.out.changes[0].action, NOTIFY_ACTION_REMOVED);
notify           1591 source4/torture/raw/notify.c 	CHECK_WSTR(notify.nttrans.out.changes[0].name, "subdir-name", STR_UNICODE);