/linux/fs/crypto/ |
H A D | hooks.c | 216 * fscrypt_prepare_symlink() - prepare to create a possibly-encrypted symlink 217 * @dir: directory in which the symlink is being created 218 * @target: plaintext symlink target 220 * @max_len: space the filesystem has available to store the symlink target 221 * @disk_link: (out) the on-disk symlink target being prepared 223 * This function computes the size the symlink target will require on-disk, 225 * encrypted symlink may be longer than the original. 227 * Additionally, @disk_link->name is set to @target if the symlink will be 228 * unencrypted, but left NULL if the symlink will be encrypted. For encrypted 231 * filesystems need to know the size of the symlink target before creating the [all …]
|
/linux/fs/sysfs/ |
H A D | symlink.c | 3 * 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 …]
|
/linux/fs/smb/client/ |
H A D | reparse.c | 87 * This is a request to create an absolute symlink on the server in create_native_symlink() 88 * which does not support POSIX paths, and expects symlink in in create_native_symlink() 89 * NT-style path. So convert absolute Linux symlink target path in create_native_symlink() 92 * ensure compatibility of this symlink stored in absolute form in create_native_symlink() 97 * If the absolute Linux symlink target path is not in create_native_symlink() 99 * to convert such Linux symlink to NT-style path. in create_native_symlink() 102 "absolute symlink '%s' cannot be converted to NT format " in create_native_symlink() 114 * Symlink points to Linux target /symlinkroot/x/path/... in create_native_symlink() 130 /* Unhandled absolute symlink. Report an error. */ in create_native_symlink() 133 "absolute symlink '%s' cannot be converted to NT format " in create_native_symlink() [all …]
|
H A D | link.c | 24 * M-F Symlink Functions - Begin 150 /* it's not a symlink */ in couldbe_mf_symlink() 154 /* it's not a symlink */ in couldbe_mf_symlink() 202 char *symlink = NULL; in check_mf_symlink() local 205 /* it's not a symlink */ in check_mf_symlink() 221 if (bytes_read == 0) /* not a symlink */ in check_mf_symlink() 224 rc = parse_mf_symlink(buf, bytes_read, &link_len, &symlink); in check_mf_symlink() 226 /* it's not a symlink */ in check_mf_symlink() 234 /* it is a symlink */ in check_mf_symlink() 239 fattr->cf_symlink_target = symlink; in check_mf_symlink() [all …]
|
/linux/tools/testing/selftests/fchmodat2/ |
H A D | fchmodat2_test.c | 38 ret = symlinkat("regfile", dfd, "symlink"); in setup_testdir() 40 ksft_exit_fail_msg("%s: failed to create symlink in tmpdir\n", in setup_testdir() 92 ret = sys_fchmodat2(dfd, "symlink", 0640, 0); in test_symlink() 101 if (!expect_mode(dfd, "symlink", 0120777)) in test_symlink() 102 ksft_exit_fail_msg("%s: wrong symlink mode bits after fchmodat2\n", in test_symlink() 105 ret = sys_fchmodat2(dfd, "symlink", 0600, AT_SYMLINK_NOFOLLOW); in test_symlink() 109 * first check the symlink target but if the operation fails we mark the in test_symlink() 114 if (ret == 0 && !expect_mode(dfd, "symlink", 0120600)) in test_symlink() 115 ksft_exit_fail_msg("%s: wrong symlink mode bits after fchmodat2 with nofollow\n", in test_symlink() 123 ksft_test_result_skip("fchmodat2(symlink)\n"); in test_symlink() [all …]
|
/linux/tools/testing/selftests/openat2/ |
H A D | resolve_test.c | 153 { .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/PCI/endpoint/ |
H A D | pci-endpoint-cfs.rst | 72 ... <Symlink EPF Device 31>/ 74 ... <Symlink EPC Device1>/ 76 ... <Symlink EPC Device2>/ 79 Non-transparent bridge), symlink of endpoint controller connected to primary 80 interface should be added in 'primary' directory and symlink of endpoint 85 (<Symlink EPF Device 31>) to other <EPF Device>. These symbolic links should 100 ... <Symlink EPF Device11>/ 101 ... <Symlink EPF Device12>/ 104 ... <Symlink EPF Device21>/ 105 ... <Symlink EPF Device22>/
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | bq256xx.yaml | 19 - 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/fs/xfs/ |
H A D | xfs_symlink.c | 54 xfs_alert(mp, "%s: inode (%llu) bad symlink length (%lld)", in xfs_readlink() 134 * The symlink will fit into the inode data fork? in xfs_symlink() 166 * Allocate an inode for the symlink. in xfs_symlink() 197 * Create the directory entry for the symlink. in xfs_symlink() 205 * symlink transaction goes to disk before returning to in xfs_symlink() 251 * Free a symlink that has blocks associated with it. 255 * disk as a zero length symlink. The inode is on the unlinked list already, so 269 * We're freeing a symlink that has some in xfs_inactive_symlink_rmt() 322 * xfs_inactive_symlink - free a symlink 341 xfs_alert(mp, "%s: inode (0x%llx) bad symlink length (%d)", in xfs_inactive_symlink() [all …]
|
/linux/fs/ext4/ |
H A D | symlink.c | 3 * linux/fs/ext4/symlink.c 14 * linux/fs/minix/symlink.c 18 * ext4 symlink handling code 46 EXT4_ERROR_INODE(inode, "bad symlink."); in ext4_encrypted_get_link() 80 * Create a new inlined symlink is not supported, just provide a in ext4_get_link() 106 EXT4_ERROR_INODE(inode, "bad symlink."); in ext4_get_link()
|
/linux/fs/xfs/scrub/ |
H A D | symlink_repair.c | 50 * commits the new symlink target to the file being repaired. 53 /* Set us up to repair the symlink file. */ 69 * completely new symlink file, plus twice as many blocks as we would in xrep_setup_symlink() 75 * constructed the replacement symlink and therefore do not know how in xrep_setup_symlink() 78 * symlink ILOCK) and cannot ask for more reservation. in xrep_setup_symlink() 160 * Try to salvage an inline symlink's contents. Returns the number of bytes 197 "acceptable length for a symlink target on XFS but will produce " \ 233 * Change an empty target into a dummy target and clear the symlink in xrep_symlink_salvage() 324 /* Exchange the temporary symlink's data fork with the one being repaired. */ 376 /* Reset the temp symlink target to dummy content. */ in xrep_symlink_reset_fork() [all …]
|
/linux/Documentation/hwmon/ |
H A D | ucd9200.rst | 15 - 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 D | ucd9000.rst | 15 - 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 D | ti-dac5571.c | 7 * 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 D | ti-dac082s085.c | 7 * 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/drivers/usb/gadget/function/ |
H A D | g_zero.h | 44 * and create symlink/remove symlink. 59 * and create symlink/remove symlink.
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_symlink_remote.c | 64 * Checking of the symlink header is split into two parts. the verifier does 190 * As this symlink fits in an inode literal area, it must also fit in in xfs_symlink_local_to_remote() 206 * Verify the in-memory consistency of an inline symlink data fork. This 223 /* No negative sizes or overly long symlink targets. */ in xfs_symlink_shortform_verify() 237 /* Read a remote symlink target into the buffer. */ 285 "symlink header does not match required off/len/owner (0x%x/0x%x,0x%llx)", in xfs_symlink_remote_read() 311 /* Write the symlink target into the inode. */ 334 * If the symlink will fit into the inode, write it inline. in xfs_symlink_write_target() 387 /* Remove all the blocks from a symlink and invalidate buffers. */
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | ti,tmp401.yaml | 16 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 D | o2cb | 1 What: /sys/o2cb symlink 5 Description: This is a symlink: /sys/o2cb to /sys/fs/o2cb. The symlink is
|
/linux/fs/ext2/ |
H A D | symlink.c | 3 * linux/fs/ext2/symlink.c 14 * linux/fs/minix/symlink.c 18 * ext2 symlink handling code
|
/linux/Documentation/driver-api/driver-model/ |
H A D | binding.rst | 63 A symlink is created in the bus's 'devices' directory that points to 66 A symlink is created in the driver's 'devices' directory that points 70 symlink is created in that directory that points to the device's 73 A symlink can be created (though this isn't done yet) in the device's
|
/linux/security/ |
H A D | inode.c | 92 * This is the basic "create a file/dir/symlink" function for 235 * securityfs_create_symlink - create a symlink in the securityfs filesystem 237 * @name: a pointer to a string containing the name of the symlink to 239 * @parent: a pointer to the parent dentry for the symlink. This should be a 242 * @target: a pointer to a string containing the name of the symlink's target. 245 * @iops: a pointer to the struct inode_operations to use for the symlink. If 249 * This function creates a symlink in securityfs with the given @name.
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-firmware-ofw | 16 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/fs/configfs/ |
H A D | symlink.c | 3 * symlink.c - operations for configfs symlinks. 168 * link(2) and symlink(2) - they wanted the target resolved in configfs_symlink() 172 * symlink(2) is nothing of that sort, and the locking it in configfs_symlink() 173 * gets matches the normal symlink(2) semantics. Without in configfs_symlink() 227 ret = -EPERM; /* What lack-of-symlink returns */ in configfs_unlink()
|
/linux/fs/ocfs2/ |
H A D | symlink.h | 3 * symlink.h 17 * Test whether an inode is a fast symlink.
|