Home
last modified time | relevance | path

Searched full:symlink (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/linux/fs/sysfs/
H A Dsymlink.c3 * fs/sysfs/symlink.c - sysfs symlink implementation
56 * sysfs_create_link_sd - create symlink to a given object.
59 * @name: name of the symlink.
84 * sysfs_create_link - create symlink between two objects.
87 * @name: name of the symlink.
97 * sysfs_create_link_nowarn - create symlink between two objects.
100 * @name: name of the symlink.
113 * sysfs_delete_link - remove symlink in object's directory.
116 * @name: name of the symlink to remove.
139 * sysfs_remove_link - remove symlink in object's directory.
[all …]
H A Ddir.c86 * protection; however, when @kobj is used as a symlink target, the in sysfs_remove_dir()
89 * and symlink code may end up dereferencing an already freed node. in sysfs_remove_dir()
92 * disassociation against symlink operations so that symlink code in sysfs_remove_dir()
/linux/fs/smb/client/
H A Dreparse.c90 * This is a request to create an absolute symlink on the server in create_native_symlink()
91 * which does not support POSIX paths, and expects symlink in in create_native_symlink()
92 * NT-style path. So convert absolute Linux symlink target path in create_native_symlink()
95 * ensure compatibility of this symlink stored in absolute form in create_native_symlink()
100 * If the absolute Linux symlink target path is not in create_native_symlink()
102 * to convert such Linux symlink to NT-style path. in create_native_symlink()
105 "absolute symlink '%s' cannot be converted to NT format " in create_native_symlink()
117 * Symlink points to Linux target /symlinkroot/x/path/... in create_native_symlink()
133 /* Unhandled absolute symlink. Report an error. */ in create_native_symlink()
136 "absolute symlink '%s' cannot be converted to NT format " in create_native_symlink()
[all …]
H A Dlink.c25 * M-F Symlink Functions - Begin
125 /* it's not a symlink */ in couldbe_mf_symlink()
129 /* it's not a symlink */ in couldbe_mf_symlink()
178 char *symlink = NULL; in check_mf_symlink() local
181 /* it's not a symlink */ in check_mf_symlink()
197 if (bytes_read == 0) /* not a symlink */ in check_mf_symlink()
200 rc = parse_mf_symlink(buf, bytes_read, &link_len, &symlink); in check_mf_symlink()
202 /* it's not a symlink */ in check_mf_symlink()
210 /* it is a symlink */ in check_mf_symlink()
215 fattr->cf_symlink_target = symlink; in check_mf_symlink()
[all …]
/linux/tools/testing/selftests/fchmodat2/
H A Dfchmodat2_test.c46 ret = symlinkat("regfile", dfd, "symlink"); in expect_mode()
62 unlinkat(testdir->dfd, "symlink", 0); in test_regfile()
73 unlinkat(testdir->dfd, "symlink", 0); in test_regfile()
137 ret = sys_fchmodat2(testdir.dfd, "symlink", 0640, 0); in main()
150 if (!expect_mode(testdir.dfd, "symlink", 0120777)) {
151 ksft_print_msg("%s: wrong symlink mode bits after fchmodat2\n",
156 ret = sys_fchmodat2(testdir.dfd, "symlink", 0600, AT_SYMLINK_NOFOLLOW);
160 * first check the symlink target but if the operation fails we mark the
165 if (ret == 0 && !expect_mode(testdir.dfd, "symlink", 0120600)) {
166 ksft_print_msg("%s: wrong symlink mod
[all...]
/linux/tools/testing/selftests/openat2/
H A Dresolve_test.c153 { .name = "[beneath] symlink temporary jump outside $root", in test_openat2_opath_tests()
156 { .name = "[beneath] chained symlink temporary jump outside $root", in test_openat2_opath_tests()
175 { .name = "[beneath] relative symlink inside $root", in test_openat2_opath_tests()
178 { .name = "[beneath] chained-'..' relative symlink inside $root", in test_openat2_opath_tests()
181 { .name = "[beneath] absolute symlink component outside $root", in test_openat2_opath_tests()
184 { .name = "[beneath] absolute symlink target outside $root", in test_openat2_opath_tests()
197 { .name = "[beneath] tricky '..'-chained symlink outside $root", in test_openat2_opath_tests()
200 { .name = "[beneath] tricky absolute + '..'-chained symlink outside $root", in test_openat2_opath_tests()
215 { .name = "[in_root] absolute symlink to /root", in test_openat2_opath_tests()
227 { .name = "[in_root] relative symlink containing '..' above root", in test_openat2_opath_tests()
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
H A Dbq256xx.yaml19 - https://www.ti.com/lit/ds/symlink/bq25600.pdf
20 - https://www.ti.com/lit/ds/symlink/bq25601.pdf
21 - https://www.ti.com/lit/ds/symlink/bq25600d.pdf
22 - https://www.ti.com/lit/ds/symlink/bq25601d.pdf
23 - https://www.ti.com/lit/ds/symlink/bq25611d.pdf
24 - https://www.ti.com/lit/ds/symlink/bq25618.pdf
25 - https://www.ti.com/lit/ds/symlink/bq25619.pdf
/linux/Documentation/hwmon/
H A Ducd9200.rst15 - http://focus.ti.com/lit/ds/symlink/ucd9220.pdf
16 - http://focus.ti.com/lit/ds/symlink/ucd9222.pdf
17 - http://focus.ti.com/lit/ds/symlink/ucd9224.pdf
18 - http://focus.ti.com/lit/ds/symlink/ucd9240.pdf
19 - http://focus.ti.com/lit/ds/symlink/ucd9244.pdf
20 - http://focus.ti.com/lit/ds/symlink/ucd9246.pdf
21 - http://focus.ti.com/lit/ds/symlink/ucd9248.pdf
H A Ducd9000.rst15 - http://focus.ti.com/lit/ds/symlink/ucd90120.pdf
16 - http://focus.ti.com/lit/ds/symlink/ucd90124.pdf
17 - http://focus.ti.com/lit/ds/symlink/ucd90160.pdf
18 - http://focus.ti.com/lit/ds/symlink/ucd90320.pdf
19 - http://focus.ti.com/lit/ds/symlink/ucd9090.pdf
20 - http://focus.ti.com/lit/ds/symlink/ucd90910.pdf
/linux/drivers/iio/dac/
H A Dti-dac5571.c7 * https://www.ti.com/lit/ds/symlink/dac5571.pdf
8 * https://www.ti.com/lit/ds/symlink/dac6571.pdf
9 * https://www.ti.com/lit/ds/symlink/dac7571.pdf
10 * https://www.ti.com/lit/ds/symlink/dac5574.pdf
11 * https://www.ti.com/lit/ds/symlink/dac6574.pdf
12 * https://www.ti.com/lit/ds/symlink/dac7574.pdf
13 * https://www.ti.com/lit/ds/symlink/dac5573.pdf
14 * https://www.ti.com/lit/ds/symlink/dac6573.pdf
15 * https://www.ti.com/lit/ds/symlink/dac7573.pdf
16 * https://www.ti.com/lit/ds/symlink/dac081c081.pdf
[all …]
H A Dti-dac082s085.c7 * https://www.ti.com/lit/ds/symlink/dac082s085.pdf
8 * https://www.ti.com/lit/ds/symlink/dac102s085.pdf
9 * https://www.ti.com/lit/ds/symlink/dac122s085.pdf
10 * https://www.ti.com/lit/ds/symlink/dac084s085.pdf
11 * https://www.ti.com/lit/ds/symlink/dac104s085.pdf
12 * https://www.ti.com/lit/ds/symlink/dac124s085.pdf
/linux/Documentation/devicetree/bindings/hwmon/
H A Dti,tmp401.yaml16 https://www.ti.com/lit/ds/symlink/tmp401.pdf
17 https://www.ti.com/lit/ds/symlink/tmp411.pdf
18 https://www.ti.com/lit/ds/symlink/tmp431.pdf
19 https://www.ti.com/lit/ds/symlink/tmp435.pdf
/linux/Documentation/ABI/removed/
H A Do2cb1 What: /sys/o2cb symlink
5 Description: This is a symlink: /sys/o2cb to /sys/fs/o2cb. The symlink is
/linux/fs/ext2/
H A Dsymlink.c3 * linux/fs/ext2/symlink.c
14 * linux/fs/minix/symlink.c
18 * ext2 symlink handling code
/linux/security/
H A Dinode.c94 * This is the basic "create a file/dir/symlink" function for
230 * securityfs_create_symlink - create a symlink in the securityfs filesystem
232 * @name: a pointer to a string containing the name of the symlink to
234 * @parent: a pointer to the parent dentry for the symlink. This should be a
237 * @target: a pointer to a string containing the name of the symlink's target.
240 * @iops: a pointer to the struct inode_operations to use for the symlink. If
244 * This function creates a symlink in securityfs with the given @name.
/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-ofw16 symlink. It is possible that the absolute path will change
17 in the future, but the symlink is the stable ABI.
19 The /proc/device-tree symlink replaces the devicetree /proc
/linux/lib/
H A Dref_tracker.c461 struct dentry *symlink, *dentry; in ref_tracker_dir_symlink() local
465 symlink = xa_load(&debugfs_symlinks, (unsigned long)dir); in ref_tracker_dir_symlink()
469 if (symlink && !xa_is_err(symlink)) in ref_tracker_dir_symlink()
481 symlink = debugfs_create_symlink(name, ref_tracker_debug_dir, in ref_tracker_dir_symlink()
483 if (!IS_ERR(symlink)) { in ref_tracker_dir_symlink()
487 symlink, GFP_KERNEL); in ref_tracker_dir_symlink()
489 debugfs_remove(symlink); in ref_tracker_dir_symlink()
/linux/fs/configfs/
H A Dsymlink.c3 * symlink.c - operations for configfs symlinks.
162 * link(2) and symlink(2) - they wanted the target resolved in configfs_symlink()
166 * symlink(2) is nothing of that sort, and the locking it in configfs_symlink()
167 * gets matches the normal symlink(2) semantics. Without in configfs_symlink()
220 ret = -EPERM; /* What lack-of-symlink returns */ in configfs_unlink()
/linux/Documentation/driver-api/driver-model/
H A Dbinding.rst66 A symlink is created in the bus's 'devices' directory that points to
69 A symlink is created in the driver's 'devices' directory that points
73 symlink is created in that directory that points to the device's
76 A symlink can be created (though this isn't done yet) in the device's
/linux/fs/ocfs2/
H A Dsymlink.h3 * symlink.h
17 * Test whether an inode is a fast symlink.
/linux/security/tomoyo/
H A Daudit.c249 const char *symlink = NULL; in tomoyo_init_log() local
268 symlink = r->obj->symlink_target->name; in tomoyo_init_log()
269 /* +18 is for " symlink.target=\"%s\"" */ in tomoyo_init_log()
270 len += 18 + strlen(symlink); in tomoyo_init_log()
284 } else if (symlink) in tomoyo_init_log()
285 pos += snprintf(buf + pos, len - pos, " symlink.target=\"%s\"", in tomoyo_init_log()
286 symlink); in tomoyo_init_log()
/linux/drivers/usb/gadget/function/
H A Du_printer.h27 * and create symlink/remove symlink
H A Du_hid.h33 * and create symlink/remove symlink.
/linux/fs/orangefs/
H A Dnamei.c250 "Symlink Got ORANGEFS handle %pU on fsid %d (ret=%d)\n", in orangefs_symlink()
266 ("*** Failed to allocate orangefs symlink inode\n"); in orangefs_symlink()
272 * re-read symlink size as it is impossible for it to change. in orangefs_symlink()
279 "Assigned symlink inode new number of %pU\n", in orangefs_symlink()
286 "Inode (Symlink) %pU -> %pd\n", in orangefs_symlink()
423 .symlink = orangefs_symlink,
/linux/tools/testing/selftests/exec/
H A Dexecveat.c270 char *fullname_symlink = concat(fullname, ".symlink"); in run_tests()
280 int fd_symlink = open_or_die("execveat.symlink", O_RDONLY); in run_tests()
336 /* Symlink to executable file: */ in run_tests()
338 fail += check_execveat(dot_dfd, "execveat.symlink", 0); in run_tests()
339 fail += check_execveat(dot_dfd_path, "execveat.symlink", 0); in run_tests()
347 /* Symlink fails when AT_SYMLINK_NOFOLLOW set: */ in run_tests()
349 fail += check_execveat_fail(dot_dfd, "execveat.symlink", in run_tests()
351 fail += check_execveat_fail(dot_dfd_path, "execveat.symlink", in run_tests()

12345678910>>...13