Lines Matching refs:notify_file
140 char *notify_file,
638 char notify_file[64]; in create_notify_files() local
665 sprintf(notify_file, "%s-%s", symdev, in create_notify_files()
668 sprintf(notify_file, "%s-0", symdev); in create_notify_files()
679 sprintf(notify_file, "%s-0", symdev); in create_notify_files()
698 sprintf(notify_file, "%s-%s", symdev, in create_notify_files()
701 sprintf(notify_file, "%s-0", symdev); in create_notify_files()
724 notify_file, in create_notify_files()
738 char *notify_file, in create_one_notify_file() argument
768 dprintf("\tcreate_one_notify_file(): notify_file = %s\n", notify_file); in create_one_notify_file()
817 (void) remove(notify_file); in create_one_notify_file()
819 open(notify_file, O_CREAT|O_EXCL|O_WRONLY, 0644); in create_one_notify_file()
822 __FILE__, __LINE__, NOTIFY_DIR, notify_file); in create_one_notify_file()
839 notify_file); in create_one_notify_file()
849 notify_file); in create_one_notify_file()
854 NOTIFY_DIR, notify_file); in create_one_notify_file()
1039 char notify_file[64]; in remove_notify_files() local
1053 sprintf(notify_file, "%s-0", symdev); in remove_notify_files()
1062 sprintf(notify_file, "%s-%s", in remove_notify_files()
1065 sprintf(notify_file, "%s-0", symdev); in remove_notify_files()
1072 if ((result == TRUE) && (remove(notify_file) < 0)) { in remove_notify_files()
1074 __FILE__, __LINE__, NOTIFY_DIR, notify_file); in remove_notify_files()