Home
last modified time | relevance | path

Searched refs:readlink (Results 1 – 25 of 70) sorted by relevance

123

/linux/tools/leds/
H A Dget_led_device_info.sh37 bus=`readlink $led_cdev_path/device/subsystem | sed s'/.*\///'`
38 usb_subdev=`readlink $led_cdev_path | grep usb | sed s'/\(.*usb[0-9]*\/[0-9]*-[0-9]*\)\/.*/\1/'`
43 input_node=`readlink $led_cdev_path/device | sed s'/.*\///'`
50 usb_interface=`readlink $led_cdev_path | sed s'/.*\(usb[0-9]*\)/\1/' | cut -d\/ -f3`
52 driver=`readlink $usb_interface/driver | sed s'/.*\///'`
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-dax74 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/available_size
84 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/size
92 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/align
103 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/seed
114 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/create
123 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/delete
131 What: $(readlink -f /sys/bus/dax/devices/daxX.Y)/../dax_region/id
H A Dsysfs-dev14 $ readlink /sys/dev/block/8:32
/linux/tools/testing/selftests/proc/
H A Dproc-self-map-files-001.c32 if (readlink(name, buf, sizeof(buf)) == -1) in pass()
42 if (readlink(name, buf, sizeof(buf)) == -1 && errno == ENOENT) in fail()
H A Dproc-self-map-files-002.c32 if (readlink(name, buf, sizeof(buf)) == -1) in pass()
42 if (readlink(name, buf, sizeof(buf)) == -1 && errno == ENOENT) in fail()
H A Dself.c33 rv = readlink("/proc/self", buf2, sizeof(buf2)); in main()
H A Dthread-self.c37 rv = readlink("/proc/thread-self", buf2, sizeof(buf2)); in f()
H A Dproc-subset-pid.c114 int rv = readlink("/proc/cpuinfo", &c, 1); in main()
/linux/tools/perf/
H A Dperf-archive.sh97 PERF_BUILDID_LINKDIR=$(readlink -f $PERF_BUILDID_DIR)/
102 filename=$(readlink -f $linkname)
H A DMakefile38 FULL_O := $(shell cd $(PWD); readlink -f $(O) || echo $(O))
/linux/tools/perf/tests/
H A Dtests-scripts.c50 if (readlink("/proc/self/exe", path2, sizeof path2) < 0) in shell_tests__dir_fd()
55 if (readlink(path, path2, sizeof path2) < 0) in shell_tests__dir_fd()
181 len = readlink(link, filename, sizeof(filename)); in append_script()
183 pr_err("Failed to readlink %s", link); in append_script()
H A Dsdt.c51 if (buf && readlink("/proc/self/exe", buf, PATH_MAX - 1) < 0) { in get_self_path()
/linux/tools/perf/tests/shell/
H A Dtest_arm_coresight.sh115 path=`readlink -f $dev`
141 dev=`readlink -f $dev`
/linux/tools/perf/trace/strace/groups/
H A Dfile13 readlink
H A Dstring46 readlink
/linux/Documentation/i2c/
H A Di2c-sysfs.rst140 command ``ls -l`` or ``readlink``.
151 $ readlink /sys/bus/i2c/devices/i2c-7/device
169 $ readlink /sys/bus/i2c/devices/i2c-73/device
171 $ readlink /sys/bus/i2c/devices/i2c-73/mux_device
210 Read the link ``channel-1`` using ``readlink`` or ``ls -l``::
212 /sys/bus/i2c/devices/i2c-7/7-0071$ readlink channel-1
248 /sys/bus/i2c/devices/i2c-73/73-0072$ readlink channel-3
329 /sys/bus/i2c/devices/i2c-73$ readlink -f 73-0040/driver
331 /sys/bus/i2c/devices/i2c-73$ readlink -f 73-0072/driver
/linux/tools/testing/selftests/rust/
H A Dtest_probe_samples.sh9 DIR="$(dirname "$(readlink -f "$0")")"
/linux/scripts/dummy-tools/
H A Dgcc109 echo "$(dirname "$(readlink -f "$0")")/dummy-plugin-dir"
/linux/fs/nfs/
H A Dsymlink.c34 error = NFS_PROTO(inode)->readlink(inode, &folio->page, 0, PAGE_SIZE); in nfs_symlink_filler()
/linux/tools/perf/tests/shell/common/
H A Dsettings.sh79 PERFSUITE_RUN_DIR=`readlink -f $PERFSUITE_RUN_DIR`; export PERFSUITE_RUN_DIR
/linux/tools/testing/selftests/tty/
H A Dtty_tstamp_update.c55 r = readlink("/proc/self/fd/0", tty, PATH_MAX); in main()
/linux/tools/testing/selftests/power_supply/
H A Dtest_power_supply_properties.sh11 DIR="$(dirname "$(readlink -f "$0")")"
/linux/tools/testing/selftests/openat2/
H A Dhelpers.h83 #define E_readlink(...) E_func(readlink, __VA_ARGS__)
/linux/scripts/kconfig/
H A Dmerge_config.sh105 KCONFIG_CONFIG=$(readlink -m -- "$OUTPUT/.config")
/linux/tools/perf/util/
H A Dutil.c375 int n = readlink("/proc/self/exe", buf, len); in fetch_ubuntu_kernel_version()
415 ret = readlink(proc_root, buf, sizeof(buf) - 1); in fetch_kernel_version()
419 /* readlink(2) does not append a null byte to buf */ in fetch_kernel_version()

123