Home
last modified time | relevance | path

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

12345678910>>...36

/kernel/linux/linux-5.10/fs/crypto/
Dhooks.c168 * fscrypt_prepare_symlink() - prepare to create a possibly-encrypted symlink
169 * @dir: directory in which the symlink is being created
170 * @target: plaintext symlink target
172 * @max_len: space the filesystem has available to store the symlink target
173 * @disk_link: (out) the on-disk symlink target being prepared
175 * This function computes the size the symlink target will require on-disk,
177 * encrypted symlink may be longer than the original.
179 * Additionally, @disk_link->name is set to @target if the symlink will be
180 * unencrypted, but left NULL if the symlink will be encrypted. For encrypted
183 * filesystems need to know the size of the symlink target before creating the
[all …]
/kernel/linux/linux-6.6/fs/crypto/
Dhooks.c201 * fscrypt_prepare_symlink() - prepare to create a possibly-encrypted symlink
202 * @dir: directory in which the symlink is being created
203 * @target: plaintext symlink target
205 * @max_len: space the filesystem has available to store the symlink target
206 * @disk_link: (out) the on-disk symlink target being prepared
208 * This function computes the size the symlink target will require on-disk,
210 * encrypted symlink may be longer than the original.
212 * Additionally, @disk_link->name is set to @target if the symlink will be
213 * unencrypted, but left NULL if the symlink will be encrypted. For encrypted
216 * filesystems need to know the size of the symlink target before creating the
[all …]
/kernel/linux/linux-5.10/fs/sysfs/
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 …]
/kernel/linux/linux-6.6/fs/sysfs/
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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/fchmodat2/
Dfchmodat2_test.c38 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 …]
/kernel/linux/linux-6.6/Documentation/PCI/endpoint/
Dpci-endpoint-cfs.rst72 ... <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>/
/kernel/linux/linux-5.10/fs/kernfs/
Dsymlink.c3 * fs/kernfs/symlink.c - kernfs symlink implementation
17 * kernfs_create_link - create a symlink
18 * @parent: directory to create the symlink in
19 * @name: name of the symlink
20 * @target: target node for the symlink to point to
46 kn->symlink.target_kn = target; in kernfs_create_link()
47 kernfs_get(target); /* ref owned by symlink */ in kernfs_create_link()
116 struct kernfs_node *target = kn->symlink.target_kn; in kernfs_getlink()
/kernel/linux/linux-6.6/fs/kernfs/
Dsymlink.c3 * fs/kernfs/symlink.c - kernfs symlink implementation
17 * kernfs_create_link - create a symlink
18 * @parent: directory to create the symlink in
19 * @name: name of the symlink
20 * @target: target node for the symlink to point to
45 kn->symlink.target_kn = target; in kernfs_create_link()
46 kernfs_get(target); /* ref owned by symlink */ in kernfs_create_link()
115 struct kernfs_node *target = kn->symlink.target_kn; in kernfs_getlink()
/kernel/linux/linux-6.6/tools/testing/selftests/openat2/
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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/
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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
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
/kernel/linux/linux-5.10/Documentation/filesystems/
Dpath-lookup.rst787 permissions. Symlink handling requires a validated inode pointer too.
942 handling of symbolic links: the symlink stack, together with cache
948 The symlink stack
969 to concatenate them. As one symlink may easily refer to another,
977 If a symlink referred to itself either directly or through
978 intermediaries, then following the symlink can never complete
1005 lookup will never exceed that stack as, once the 40th symlink is
1028 sometimes include space for a symlink. The other common location is
1030 pathname in a symlink can be seen as the content of that symlink and
1035 construct the symlink content into that memory whenever it is needed.
[all …]
/kernel/linux/linux-6.6/fs/ext4/
Dsymlink.c3 * 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()
104 EXT4_ERROR_INODE(inode, "bad symlink."); in ext4_get_link()
/kernel/linux/linux-6.6/fs/udf/
Dsymlink.c3 * symlink.c
6 * Symlink handling routines for the OSTA-UDF(tm) filesystem.
44 * Symlink points to some place which should be agreed in udf_pc_to_char()
105 unsigned char *symlink; in udf_symlink_filler() local
117 symlink = iinfo->i_data + iinfo->i_lenEAttr; in udf_symlink_filler()
125 symlink = bh->b_data; in udf_symlink_filler()
128 err = udf_pc_to_char(inode->i_sb, symlink, inode->i_size, p, PAGE_SIZE); in udf_symlink_filler()
/kernel/linux/linux-6.6/Documentation/filesystems/
Dpath-lookup.rst786 permissions. Symlink handling requires a validated inode pointer too.
941 handling of symbolic links: the symlink stack, together with cache
947 The symlink stack
968 to concatenate them. As one symlink may easily refer to another,
976 If a symlink referred to itself either directly or through
977 intermediaries, then following the symlink can never complete
1004 lookup will never exceed that stack as, once the 40th symlink is
1027 sometimes include space for a symlink. The other common location is
1029 pathname in a symlink can be seen as the content of that symlink and
1034 construct the symlink content into that memory whenever it is needed.
[all …]
/kernel/linux/linux-6.6/Documentation/hwmon/
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
/kernel/linux/linux-5.10/Documentation/hwmon/
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
/kernel/linux/linux-5.10/fs/udf/
Dsymlink.c2 * symlink.c
5 * Symlink handling routines for the OSTA-UDF(tm) filesystem.
48 * Symlink points to some place which should be agreed in udf_pc_to_char()
108 unsigned char *symlink; in udf_symlink_filler() local
125 symlink = iinfo->i_data + iinfo->i_lenEAttr; in udf_symlink_filler()
134 symlink = bh->b_data; in udf_symlink_filler()
137 err = udf_pc_to_char(inode->i_sb, symlink, inode->i_size, p, PAGE_SIZE); in udf_symlink_filler()
/kernel/linux/linux-6.6/fs/smb/client/
Dlink.c23 * M-F Symlink Functions - Begin
161 /* it's not a symlink */ in couldbe_mf_symlink()
165 /* it's not a symlink */ in couldbe_mf_symlink()
213 char *symlink = NULL; in check_mf_symlink() local
216 /* it's not a symlink */ in check_mf_symlink()
232 if (bytes_read == 0) /* not a symlink */ in check_mf_symlink()
235 rc = parse_mf_symlink(buf, bytes_read, &link_len, &symlink); in check_mf_symlink()
237 /* it's not a symlink */ in check_mf_symlink()
245 /* it is a symlink */ in check_mf_symlink()
250 fattr->cf_symlink_target = symlink; in check_mf_symlink()
[all …]
/kernel/linux/linux-6.6/fs/xfs/
Dxfs_symlink.c72 "symlink header does not match required off/len/owner (0x%x/Ox%x,0x%llx)", in xfs_readlink_bmap_ilocked()
119 xfs_alert(mp, "%s: inode (%llu) bad symlink length (%lld)", in xfs_readlink()
204 * The symlink will fit into the inode data fork? in xfs_symlink()
230 * Allocate an inode for the symlink. in xfs_symlink()
257 * If the symlink will fit into the inode, write it inline. in xfs_symlink()
315 * Create the directory entry for the symlink. in xfs_symlink()
325 * symlink transaction goes to disk before returning to in xfs_symlink()
365 * Free a symlink that has blocks associated with it.
369 * disk as a zero length symlink. The inode is on the unlinked list already, so
390 * We're freeing a symlink that has some in xfs_inactive_symlink_rmt()
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_symlink.c70 "symlink header does not match required off/len/owner (0x%x/Ox%x,0x%llx)", in xfs_readlink_bmap_ilocked()
119 xfs_alert(mp, "%s: inode (%llu) bad symlink length (%lld)", in xfs_readlink()
191 * The symlink will fit into the inode data fork? in xfs_symlink()
224 * Allocate an inode for the symlink. in xfs_symlink()
248 * If the symlink will fit into the inode, write it inline. in xfs_symlink()
306 * Create the directory entry for the symlink. in xfs_symlink()
316 * symlink transaction goes to disk before returning to in xfs_symlink()
357 * Free a symlink that has blocks associated with it.
361 * disk as a zero length symlink. The inode is on the unlinked list already, so
382 * We're freeing a symlink that has some in xfs_inactive_symlink_rmt()
[all …]
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
Dg_zero.h44 * and create symlink/remove symlink.
59 * and create symlink/remove symlink.
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Dg_zero.h44 * and create symlink/remove symlink.
59 * and create symlink/remove symlink.
/kernel/linux/linux-5.10/scripts/
Ddepmod.sh27 # numbers, so we cheat with a symlink here
39 symlink="$INSTALL_MOD_PATH/lib/modules/99.98.$KERNELRELEASE"
40 ln -s "$KERNELRELEASE" "$symlink"
52 rm -f "$symlink"
/kernel/linux/linux-5.10/fs/squashfs/
Dsymlink.c8 * symlink.c
50 * Skip index bytes into symlink metadata. in squashfs_symlink_readpage()
56 ERROR("Unable to read symlink [%llx:%x]\n", in squashfs_symlink_readpage()
64 * Read length bytes from symlink metadata. Squashfs_read_metadata in squashfs_symlink_readpage()
73 ERROR("Unable to read symlink [%llx:%x]\n", in squashfs_symlink_readpage()

12345678910>>...36