wd                584 source3/lib/system.c 	char *wd;
wd                586 source3/lib/system.c 	wd = (char *)getcwd(s, PATH_MAX);
wd                588 source3/lib/system.c 	wd = (char *)getwd(s);
wd                590 source3/lib/system.c 	return wd;
wd                150 source3/printing/print_generic.c 	char *wd = NULL;
wd                164 source3/printing/print_generic.c 	wd = sys_getwd(current_directory);
wd                165 source3/printing/print_generic.c 	if (!wd) {
wd                208 source3/printing/print_generic.c 	if (chdir(wd) == -1) {
wd                 55 source3/smbd/notify_inotify.c static int inotify_rm_watch(int fd, int wd)
wd                 57 source3/smbd/notify_inotify.c 	return syscall(__NR_inotify_rm_watch, fd, wd);
wd                 83 source3/smbd/notify_inotify.c 	int wd;
wd                199 source3/smbd/notify_inotify.c 		if (w->wd == e->wd && filter_match(w, e)) {
wd                217 source3/smbd/notify_inotify.c 		if (w->wd == e->wd && filter_match(w, e) &&
wd                346 source3/smbd/notify_inotify.c 	int wd = w->wd;
wd                351 source3/smbd/notify_inotify.c 		if (w->wd == wd) break;
wd                354 source3/smbd/notify_inotify.c 		DEBUG(10, ("Deleting inotify watch %d\n", wd));
wd                355 source3/smbd/notify_inotify.c 		if (inotify_rm_watch(in->fd, wd) == -1) {
wd                378 source3/smbd/notify_inotify.c 	int wd;
wd                404 source3/smbd/notify_inotify.c 	wd = inotify_add_watch(in->fd, e->path, mask);
wd                405 source3/smbd/notify_inotify.c 	if (wd == -1) {
wd                412 source3/smbd/notify_inotify.c 		   e->path, mask, wd));
wd                416 source3/smbd/notify_inotify.c 		inotify_rm_watch(in->fd, wd);
wd                422 source3/smbd/notify_inotify.c 	w->wd = wd;
wd                429 source3/smbd/notify_inotify.c 		inotify_rm_watch(in->fd, wd);
wd                 53 source4/ntvfs/sysdep/inotify.c static int inotify_rm_watch(int fd, int wd)
wd                 55 source4/ntvfs/sysdep/inotify.c 	return syscall(__NR_inotify_rm_watch, fd, wd);
wd                 78 source4/ntvfs/sysdep/inotify.c 	int wd;
wd                173 source4/ntvfs/sysdep/inotify.c 		if (w->wd == e->wd && filter_match(w, e)) {
wd                191 source4/ntvfs/sysdep/inotify.c 		if (w->wd == e->wd && filter_match(w, e) &&
wd                322 source4/ntvfs/sysdep/inotify.c 	int wd = w->wd;
wd                327 source4/ntvfs/sysdep/inotify.c 		if (w->wd == wd) break;
wd                330 source4/ntvfs/sysdep/inotify.c 		inotify_rm_watch(in->fd, wd);
wd                347 source4/ntvfs/sysdep/inotify.c 	int wd;
wd                373 source4/ntvfs/sysdep/inotify.c 	wd = inotify_add_watch(in->fd, e->path, mask);
wd                374 source4/ntvfs/sysdep/inotify.c 	if (wd == -1) {
wd                381 source4/ntvfs/sysdep/inotify.c 		inotify_rm_watch(in->fd, wd);
wd                387 source4/ntvfs/sysdep/inotify.c 	w->wd = wd;
wd                394 source4/ntvfs/sysdep/inotify.c 		inotify_rm_watch(in->fd, wd);