/kernel/linux/linux-6.6/tools/testing/selftests/firmware/ |
H A D | fw_filesystem.sh | 29 if printf '\000' >"$DIR"/trigger_request 2> /dev/null; then 34 if [ ! -e "$DIR"/trigger_async_request ]; then 38 if printf '\000' >"$DIR"/trigger_async_request 2> /dev/null; then 45 if echo -n "nope-$NAME" >"$DIR"/trigger_request 2> /dev/null; then 60 if ! echo -n "$NAME" >"$DIR"/trigger_request ; then 74 if [ ! -e "$DIR"/trigger_async_request ]; then 78 if ! echo -n "$NAME" >"$DIR"/trigger_async_request ; then 93 if [ ! -e "$DIR"/trigger_request_platform ]; then 96 if printf '\000' >"$DIR"/trigger_request_platform 2> /dev/null; then 105 if ! echo -n "nope-$NAME" >"$DIR"/trigger_request_platfor [all...] |
H A D | fw_upload.sh | 36 if [ -e "$DIR/$name" ]; then 37 echo -n "$name" > "$DIR"/upload_unregister 46 echo 1 > "$DIR"/"$name"/loading 47 cat "$file" > "$DIR"/"$name"/data 48 echo 0 > "$DIR"/"$name"/loading 55 echo -n "$name" > "$DIR"/config_upload_name 56 if ! cmp "$file" "$DIR"/upload_read > /dev/null 2>&1; then 70 echo 1 > "$DIR"/"$name"/loading 71 echo -n "inject":"$status":"$error" > "$DIR"/"$name"/data 72 echo 0 > "$DIR"/" [all...] |
H A D | fw_fallback.sh | 27 echo -n "$name" >"$DIR"/trigger_request & 31 while [ ! -e "$DIR"/"$name"/loading ]; do 40 echo 1 >"$DIR"/"$name"/loading 41 cat "$file" >"$DIR"/"$name"/data 42 echo 0 >"$DIR"/"$name"/loading 54 echo -n "$name" >"$DIR"/trigger_request 2>/dev/null & 58 while [ ! -e "$DIR"/"$name"/loading ]; do 67 echo -1 >"$DIR"/"$name"/loading 75 if [ ! -e "$DIR"/trigger_custom_fallback ]; then 83 echo -n "$name" >"$DIR"/trigger_custom_fallbac [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/riscv/ |
H A D | Makefile | 27 @for DIR in $(RISCV_SUBTARGETS); do \ 28 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 30 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$DIR $@; \ 34 @for DIR in $(RISCV_SUBTARGETS); do \ 35 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 36 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$DIR $@; \ 40 @for DIR in $(RISCV_SUBTARGETS); do \ 41 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 42 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$DIR $@; \ 47 @for DIR i [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/ |
H A D | fw_filesystem.sh | 26 if printf '\000' >"$DIR"/trigger_request 2> /dev/null; then 31 if [ ! -e "$DIR"/trigger_async_request ]; then 35 if printf '\000' >"$DIR"/trigger_async_request 2> /dev/null; then 42 if echo -n "nope-$NAME" >"$DIR"/trigger_request 2> /dev/null; then 57 if ! echo -n "$NAME" >"$DIR"/trigger_request ; then 71 if [ ! -e "$DIR"/trigger_async_request ]; then 75 if ! echo -n "$NAME" >"$DIR"/trigger_async_request ; then 90 if [ ! -e "$DIR"/trigger_request_platform ]; then 93 if printf '\000' >"$DIR"/trigger_request_platform 2> /dev/null; then 102 if ! echo -n "nope-$NAME" >"$DIR"/trigger_request_platfor [all...] |
H A D | fw_fallback.sh | 27 echo -n "$name" >"$DIR"/trigger_request & 31 while [ ! -e "$DIR"/"$name"/loading ]; do 40 echo 1 >"$DIR"/"$name"/loading 41 cat "$file" >"$DIR"/"$name"/data 42 echo 0 >"$DIR"/"$name"/loading 54 echo -n "$name" >"$DIR"/trigger_request 2>/dev/null & 58 while [ ! -e "$DIR"/"$name"/loading ]; do 67 echo -1 >"$DIR"/"$name"/loading 75 if [ ! -e "$DIR"/trigger_custom_fallback ]; then 83 echo -n "$name" >"$DIR"/trigger_custom_fallbac [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/ |
H A D | Makefile | 35 @for DIR in $(ARM64_SUBTARGETS); do \ 36 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 38 make OUTPUT=$$BUILD_TARGET -C $$DIR $@; \ 42 @for DIR in $(ARM64_SUBTARGETS); do \ 43 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 44 make OUTPUT=$$BUILD_TARGET -C $$DIR $@; \ 48 @for DIR in $(ARM64_SUBTARGETS); do \ 49 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 50 make OUTPUT=$$BUILD_TARGET -C $$DIR $@; \ 55 @for DIR i [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/ |
H A D | Makefile | 28 @for DIR in $(ARM64_SUBTARGETS); do \ 29 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 31 make OUTPUT=$$BUILD_TARGET -C $$DIR $@; \ 35 @for DIR in $(ARM64_SUBTARGETS); do \ 36 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 37 make OUTPUT=$$BUILD_TARGET -C $$DIR $@; \ 41 @for DIR in $(ARM64_SUBTARGETS); do \ 42 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 43 make OUTPUT=$$BUILD_TARGET -C $$DIR $@; \ 48 @for DIR i [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/sparc64/ |
H A D | Makefile | 21 @for DIR in $(SUBDIRS); do \ 22 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 24 make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\ 26 TEST=$$DIR"_test.sh"; \ 27 if [ -e $$DIR/$$TEST ]; then \ 28 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \ 44 @for DIR in $(SUBDIRS); do \ 45 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 47 make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\
|
/kernel/linux/linux-5.10/tools/testing/selftests/android/ |
H A D | Makefile | 11 @for DIR in $(SUBDIRS); do \ 12 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 14 make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\ 16 TEST=$$DIR"_test.sh"; \ 17 if [ -e $$DIR/$$TEST ]; then \ 18 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \ 34 @for DIR in $(SUBDIRS); do \ 35 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 37 make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\
|
/kernel/linux/linux-6.6/tools/testing/selftests/sparc64/ |
H A D | Makefile | 21 @for DIR in $(SUBDIRS); do \ 22 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 24 make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\ 26 TEST=$$DIR"_test.sh"; \ 27 if [ -e $$DIR/$$TEST ]; then \ 28 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \ 44 @for DIR in $(SUBDIRS); do \ 45 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 47 make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\
|
/kernel/linux/linux-5.10/tools/testing/selftests/futex/ |
H A D | Makefile | 11 @for DIR in $(SUBDIRS); do \ 12 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 14 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$DIR $@;\ 15 if [ -e $$DIR/$(TEST_PROGS) ]; then \ 16 rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/; \ 32 @for DIR in $(SUBDIRS); do \ 33 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 35 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$DIR $@;\
|
/kernel/linux/linux-6.6/tools/testing/selftests/futex/ |
H A D | Makefile | 11 @for DIR in $(SUBDIRS); do \ 12 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 14 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$DIR $@;\ 15 if [ -e $$DIR/$(TEST_PROGS) ]; then \ 16 rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/; \ 32 @for DIR in $(SUBDIRS); do \ 33 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 35 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$DIR $@;\
|
/kernel/linux/linux-5.10/tools/testing/selftests/kmod/ |
H A D | kmod.sh | 74 if [ ! -d $DIR ]; then 75 echo "$0: $DIR not present" >&2 100 if [ -z $DIR ]; then 101 DIR="/sys/devices/virtual/misc/${TEST_DRIVER}0/" 148 if [ ! -d $DIR ]; then 203 if ! echo -n 1 >$DIR/config_test_case; then 211 if ! echo -n 2 >$DIR/config_test_case; then 219 if ! echo -n $1 >$DIR/config_num_threads; then 244 if ! echo -n $1 >$DIR/config_test_driver; then 252 if ! echo -n $1 >$DIR/config_test_f [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/kmod/ |
H A D | kmod.sh | 63 if [ ! -d $DIR ]; then 64 echo "$0: $DIR not present" >&2 89 if [ -z $DIR ]; then 90 DIR="/sys/devices/virtual/misc/${TEST_DRIVER}0/" 137 if [ ! -d $DIR ]; then 192 if ! echo -n 1 >$DIR/config_test_case; then 200 if ! echo -n 2 >$DIR/config_test_case; then 208 if ! echo -n $1 >$DIR/config_num_threads; then 233 if ! echo -n $1 >$DIR/config_test_driver; then 241 if ! echo -n $1 >$DIR/config_test_f [all...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | get_dvb_firmware | 54 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 72 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 91 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 109 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 127 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 160 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 177 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 194 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 206 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0); 250 my $tmpdir = tempdir(DIR [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | get_dvb_firmware | 54 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 72 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 91 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 109 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 127 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 160 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 177 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 194 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1); 206 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0); 250 my $tmpdir = tempdir(DIR [all...] |
/kernel/liteos_m/kal/libc/newlib/porting/include/ |
H A D | dirent.h | 58 typedef struct __dirstream DIR; typedef 68 int closedir(DIR *dir); 69 DIR *opendir(const char *dirName); 70 struct dirent *readdir(DIR *dir);
|
/kernel/linux/linux-5.10/tools/testing/selftests/kselftest/ |
H A D | runner.sh | 45 DIR="$1" 54 settings="$BASE_DIR/$DIR/settings" 67 TEST_HDR_MSG="selftests: $DIR: $BASENAME_TEST" 107 DIR="${PWD#${BASE_DIR}/}" 118 run_one "$DIR" "$TEST" "$test_num"
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | read.c | 38 static void f_reg(DIR *d, const char *filename) in f_reg() 53 static void f_reg_write(DIR *d, const char *filename, const char *buf, size_t len) in f_reg_write() 66 static void f_lnk(DIR *d, const char *filename) in f_lnk() 75 static void f(DIR *d, unsigned int level) in f() 92 DIR *dd; in f() 127 DIR *d; in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | read.c | 38 static void f_reg(DIR *d, const char *filename) in f_reg() 55 static void f_reg_write(DIR *d, const char *filename, const char *buf, size_t len) in f_reg_write() 68 static void f_lnk(DIR *d, const char *filename) in f_lnk() 77 static void f(DIR *d, unsigned int level) in f() 94 DIR *dd; in f() 129 DIR *d; in main()
|
/kernel/linux/linux-6.6/drivers/misc/bcm-vk/ |
H A D | bcm_vk_tty.c | 32 #define VK_BAR_CHAN(v, DIR, e) ((v)->DIR##_offset \ 34 #define VK_BAR_CHAN_SIZE(v, DIR) VK_BAR_CHAN(v, DIR, size) 35 #define VK_BAR_CHAN_WR(v, DIR) VK_BAR_CHAN(v, DIR, wr) 36 #define VK_BAR_CHAN_RD(v, DIR) VK_BAR_CHAN(v, DIR, rd) 37 #define VK_BAR_CHAN_DATA(v, DIR, off) (VK_BAR_CHAN(v, DIR, dat [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/kselftest/ |
H A D | runner.sh | 48 DIR="$1" 82 settings="$BASE_DIR/$DIR/settings" 103 TEST_HDR_MSG="selftests: $DIR: $BASENAME_TEST" 147 DIR="${PWD#${BASE_DIR}/}" 158 run_one "$DIR" "$TEST" "$test_num"
|
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/ |
H A D | posix_fs_opendir_test.c | 42 DIR *dir = opendir(TEST_ROOT); 58 DIR *dir = opendir(NULL); 72 DIR *dir = NULL;
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_skb_cgroup_id.sh | 53 DIR=$(dirname $0) 57 BPF_PROG_OBJ="${DIR}/test_skb_cgroup_id_kern.o" 60 PROG="${DIR}/test_skb_cgroup_id_user"
|