Lines Matching defs:filename
35 char *filename;
96 ctx->filename = talloc_strdup(ctx, "test_inotify.XXXXXX");
97 if (ctx->filename == NULL) {
102 fd = mkstemp(ctx->filename);
134 ctx->filename = talloc_asprintf(ctx, "%s/testfile", ctx->dirname);
135 if (ctx->filename == NULL) {
150 ret = unlink(ctx->filename);
165 ret = unlink(ctx->filename);
190 f = fopen(test_ctx->filename, "w");
197 fprintf(f, "%s\n", test_ctx->filename);
212 static int inotify_set_threshold_cb(const char *filename,
223 static int inotify_threshold_cb(const char *filename,
250 test_ctx->filename, NULL, IN_MODIFY,
311 fprintf(f, "%s\n", test_ctx->filename);
315 ret = rename(src_tmp_file, test_ctx->filename);
334 test_ctx->filename, NULL, IN_MOVED_TO,
366 ret = unlink(test_ctx->filename);
373 f = fopen(test_ctx->filename, "w");
380 fprintf(f, "%s\n", test_ctx->filename);
398 test_ctx->filename, NULL,
429 test_ctx->filename, NULL,
459 ret = unlink(test_ctx->filename);
500 test_ctx->filename, &delay,