| /linux/tools/objtool/tests/ |
| H A D | lib.sh | 157 workdir= 221 [ -n "$workdir" ] || return 0 228 none) rm -rf "$workdir" ;; 231 rm -rf "$workdir" 242 rm -rf "$workdir" 247 echo "# kept $workdir" 256 workdir="$KLP_TEST_WORKDIR" 257 mkdir -p "$workdir" || fail "cannot create $workdir" 259 workdir="$(mktemp -d)" || fail "mktemp failed" 273 : > "$workdir/Module.symvers" [all …]
|
| /linux/tools/objtool/tests/generic/ |
| H A D | test-checksum-debug.sh | 23 before="$(md5sum < "$workdir/orig.o")" 26 "$workdir/orig.o" > "$workdir/debug.log" 2>&1 || 31 [ "$(md5sum < "$workdir/orig.o")" = "$before" ] || 37 "$workdir/debug.log" || 38 fail "unexpected --debug-checksum format: $(head -1 "$workdir/debug.log")" 41 grep -qE "^DEBUG: .*checksum: changed\(\): " "$workdir/debug.log" || 46 grep -qE 'checksum: untouched\(\)' "$workdir/debug.log" &&
|
| H A D | test-sympos.sh | 34 partial_link "$workdir/orig.o" "$workdir/a.o" "$workdir/b.o" || 36 partial_link "$workdir/patched.o" "$workdir/a-DPATCHED.o" "$workdir/b-DPATCHED.o" ||
|
| H A D | test-thinlto-ambiguity.sh | 43 -o "$workdir/tu$t.o" 2>/dev/null || return 1 45 "$THIN_LD" -r "$workdir/tu.o" "$workdir/tu-DTU_B.o" "$workdir/tu-DTU_C.o" \ 49 build_thinlto "$workdir/orig.o" "" || 51 build_thinlto "$workdir/patched.o" -DPATCHED ||
|
| H A D | test-thinlto-local.sh | 19 -c "$FIXTURES_DIR/thinlto_local.c" -o "$workdir/tu_a.o" 2>/dev/null || return 1 21 -c "$FIXTURES_DIR/thinlto_local.c" -o "$workdir/tu_b.o" 2>/dev/null || return 1 22 "$THIN_LD" -r "$workdir/tu_a.o" "$workdir/tu_b.o" -o "$1" 2>/dev/null || return 1 25 build_thinlto "$workdir/orig.o" "" || 27 build_thinlto "$workdir/patched.o" -DPATCHED ||
|
| H A D | test-symid-discarded.sh | 25 rm -f "$workdir/vmlinux.o" 26 partial_link "$workdir/vmlinux.o" "$workdir/a.o" "$workdir/b.o" || 29 "$OBJTOOL" --klp-symids --link "$workdir/vmlinux.o" ||
|
| H A D | test-missing-checksum.sh | 12 ( cd "$workdir" && "$OBJTOOL" klp diff orig.o patched.o out.o ) \ 13 > "$workdir/diff.log" 2>&1 && fail "klp diff accepted an unchecksummed object" 15 grep -q 'sym_checksum' "$workdir/diff.log" || 16 fail "expected a complaint about the checksum section, got: $(tail -1 "$workdir/diff.log")"
|
| H A D | test-sympos-vmlinux.sh | 32 make_vmlinux_pair "$workdir/orig_a.o" "$workdir/b.o" \ 33 -- "$workdir/patched_a.o" "$workdir/b.o"
|
| H A D | test-static-call-module-key.sh | 24 rm -f "$workdir/out.o" 33 [ -e "$workdir/out.o" ] &&
|
| H A D | test-static-call-new.sh | 38 rm -f "$workdir/out.o" 42 [ -e "$workdir/out.o" ] &&
|
| H A D | test-jump-label-new-key.sh | 44 rm -f "$workdir/out.o" 48 [ -e "$workdir/out.o" ] &&
|
| H A D | test-changed-data.sh | 15 [ -e "$workdir/out.o" ] &&
|
| H A D | test-symvers-parse-error.sh | 16 echo 'this line has no fields' >> "$workdir/Module.symvers"
|
| H A D | test-jump-label-module-key.sh | 19 [ -e "$workdir/out.o" ] &&
|
| H A D | test-jump-label-module-static-key.sh | 42 [ -e "$workdir/out.o" ] &&
|
| H A D | test-new-export-ref.sh | 39 rm -f "$workdir/out.o"
|
| /linux/fs/overlayfs/ |
| H A D | super.c | 378 * Try to remove POSIX ACL xattrs from workdir. We are good if: in ovl_workdir_create() 414 ofs->config.workdir, name, -err); in ovl_workdir_create() 479 static bool ovl_workdir_ok(struct dentry *workdir, struct dentry *upperdir) in ovl_workdir_ok() 481 return !is_subdir(workdir, upperdir) && !is_subdir(upperdir, workdir); 503 * Determine how we treat concurrent use of upperdir/workdir based on the 511 pr_err("%s is in-use as upperdir/workdir of another mount, mount with '-o index=off' to override exclusive upperdir protection.\n", in ovl_report_in_use() 515 pr_warn("%s is in-use as upperdir/workdir of another mount, accessing files from both mounts will result in undefined behavior.\n", in ovl_report_in_use() 602 struct dentry *workdir = ofs->workdir; in ovl_check_rename_whiteout() 477 ovl_workdir_ok(struct dentry * workdir,struct dentry * upperdir) ovl_workdir_ok() argument 586 struct dentry *workdir = ofs->workdir; ovl_check_rename_whiteout() local 686 struct dentry *workdir; ovl_make_workdir() local [all...] |
| H A D | dir.c | 47 int ovl_cleanup(struct ovl_fs *ofs, struct dentry *workdir, in ovl_cleanup() argument 50 wdentry = start_removing_dentry(workdir, wdentry); in ovl_cleanup() 54 ovl_cleanup_locked(ofs, workdir->d_inode, wdentry); in ovl_cleanup() 69 struct dentry *workdir, in ovl_start_creating_temp() argument 73 return start_creating(ovl_upper_mnt_idmap(ofs), workdir, in ovl_start_creating_temp() 79 * ovl_create_temp() takes care of that for a casefolded workdir. in ovl_whiteout() 85 struct dentry *workdir = ofs->workdir; in ovl_whiteout() 90 whiteout = ovl_create_temp(ofs, workdir, &(struct ovl_cattr) { in ovl_whiteout() 99 link = ovl_create_temp(ofs, workdir, in ovl_whiteout() 81 struct dentry *workdir = ofs->workdir; ovl_whiteout() local 257 ovl_create_temp(struct ovl_fs * ofs,struct dentry * workdir,struct ovl_cattr * attr) ovl_create_temp() argument 402 struct dentry *workdir = ovl_workdir(dentry); ovl_clear_empty() local 487 struct dentry *workdir = ovl_workdir(dentry); ovl_create_over_whiteout() local 815 struct dentry *workdir = ovl_workdir(dentry); ovl_remove_and_whiteout() local [all...] |
| H A D | params.c | 185 fsparam_file_or_string("workdir", Opt_workdir), in ovl_next_opt() 396 swap(config->workdir, *pname); in ovl_add_layer() 872 dput(ofs->workdir); in ovl_free_fs() 890 kfree(ofs->config.workdir); in ovl_fs_params_verify() 908 if (config->workdir) { in ovl_fs_params_verify() 909 pr_info("option \"workdir=%s\" is useless in a non-upper mount, ignore\n", in ovl_fs_params_verify() 910 config->workdir); in ovl_fs_params_verify() 911 kfree(config->workdir); in ovl_fs_params_verify() 912 config->workdir = NULL; in ovl_fs_params_verify() 1132 seq_show_option(m, "workdir", of [all...] |
| H A D | ovl_entry.h | 10 char *workdir; member 68 /* workbasedir is the path at workdir= mount option */ 70 /* workdir is the 'work' or 'index' directory under workbasedir */ 71 struct dentry *workdir; 69 struct dentry *workdir; global() member
|
| H A D | copy_up.c | 588 struct dentry *workdir; 757 * Copyup using workdir to prepare temp file. Used when copying up directories, 780 temp = ovl_create_temp(ofs, c->workdir, &cattr); in ovl_copy_up_workdir() 806 * ovl_copy_up_data(), so lock workdir and destdir and make sure that in ovl_copy_up_workdir() 810 rd.old_parent = c->workdir; in ovl_copy_up_workdir() 817 /* temp or workdir moved underneath us? map to -EIO */ in ovl_copy_up_workdir() 849 ovl_cleanup(ofs, c->workdir, temp); in ovl_copy_up_workdir() 868 tmpfile = ovl_do_tmpfile(ofs, c->workdir, c->stat.mode); in ovl_copy_up_tmpfile() 948 * Copying dir up to indexdir instead of workdir simplifies locking. in ovl_do_copy_up() 953 c->workdir in ovl_do_copy_up() 586 struct dentry *workdir; global() member [all...] |
| H A D | overlayfs.h | 931 int ovl_cleanup(struct ovl_fs *ofs, struct dentry *workdir, struct dentry *dentry); 934 struct dentry *ovl_create_temp(struct ovl_fs *ofs, struct dentry *workdir, 970 return (!ovl_upper_mnt(ofs) || !ofs->workdir);
|
| /linux/tools/objtool/tests/x86/ |
| H A D | test-manual-klp-static-call.sh | 34 "$OBJTOOL" --module --static-call "$workdir/mod.o" \ 35 > "$workdir/objtool.log" 2>&1 || 37 "see its static call key: $(tail -1 "$workdir/objtool.log")"
|
| /linux/tools/testing/selftests/hid/ |
| H A D | hid_common.h | 342 static bool match_sysfs_device(struct uhid_device *hid, const char *workdir, struct dirent *dir) in match_sysfs_device() argument 357 sprintf(uevent, "%s/%s/uevent", workdir, dir->d_name); in match_sysfs_device() 376 const char *workdir = "/sys/devices/virtual/misc/uhid"; in get_hid_id() local 386 d = opendir(workdir); in get_hid_id() 389 if (!match_sysfs_device(hid, workdir, dir)) in get_hid_id() 408 const char *workdir = "/sys/devices/virtual/misc/uhid"; in get_hidraw() local 417 d = opendir(workdir); in get_hidraw() 423 if (!match_sysfs_device(hid, workdir, dir)) in get_hidraw() 426 sprintf(sysfs, "%s/%s/hidraw", workdir, dir->d_name); in get_hidraw()
|
| H A D | vmtest.sh | |