Home
last modified time | relevance | path

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

12345678910>>...18

/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-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 …]
Ddir.c87 * protection; however, when @kobj is used as a symlink target, the in sysfs_remove_dir()
90 * and symlink code may end up dereferencing an already freed node. in sysfs_remove_dir()
93 * disassociation against symlink operations so that symlink code in sysfs_remove_dir()
/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-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-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-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
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
/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-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/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-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()
/kernel/linux/linux-5.10/Documentation/ABI/removed/
Do2cb1 What: /sys/o2cb symlink
5 Description: This is a symlink: /sys/o2cb to /sys/fs/o2cb. The symlink is
/kernel/linux/linux-5.10/fs/nfs/
Dsymlink.c3 * linux/fs/nfs/symlink.c
9 * Jun 7 1999, cache symlink lookups in the page cache. -DaveM
11 * nfs symlink handling code
25 /* Symlink caching in the page cache is even more simplistic
/kernel/linux/linux-5.10/fs/ext2/
Dsymlink.c3 * linux/fs/ext2/symlink.c
14 * linux/fs/minix/symlink.c
18 * ext2 symlink handling code
/kernel/linux/linux-5.10/drivers/iio/dac/
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
/kernel/linux/linux-5.10/fs/cifs/
Dlink.c35 * M-F Symlink Functions - Begin
174 /* it's not a symlink */ in couldbe_mf_symlink()
178 /* it's not a symlink */ in couldbe_mf_symlink()
240 if (bytes_read == 0) { /* not a symlink */ in query_mf_symlink()
262 /* it's not a symlink */ in check_mf_symlink()
278 if (bytes_read == 0) /* not a symlink */ in check_mf_symlink()
283 /* it's not a symlink */ in check_mf_symlink()
291 /* it is a symlink */ in check_mf_symlink()
333 /* it's not a symlink */ in cifs_query_mf_symlink()
427 /* it's not a symlink */ in smb3_query_mf_symlink()
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/
Dsymlink.c4 * linux/cluster/ssi/cfs/symlink.c
27 * Jun 7 1999, cache symlink lookups in the page cache. -DaveM
31 * ocfs2 symlink handling code.
51 #include "symlink.h"
/kernel/linux/linux-5.10/Documentation/driver-api/driver-model/
Dbinding.rst63 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
/kernel/linux/linux-5.10/Documentation/PCI/endpoint/
Dpci-endpoint-cfs.rst81 ... <Symlink EPF Device11>/
82 ... <Symlink EPF Device12>/
85 ... <Symlink EPF Device21>/
86 ... <Symlink EPF Device22>/
/kernel/linux/linux-5.10/fs/ext4/
Dsymlink.c3 * linux/fs/ext4/symlink.c
14 * linux/fs/minix/symlink.c
18 * ext4 symlink handling code
/kernel/linux/linux-5.10/Documentation/ABI/testing/
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
/kernel/linux/linux-5.10/security/
Dinode.c92 * 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.
/kernel/linux/linux-5.10/fs/configfs/
Dsymlink.c5 * symlink.c - operations for configfs symlinks.
169 * link(2) and symlink(2) - they wanted the target resolved in configfs_symlink()
173 * symlink(2) is nothing of that sort, and the locking it in configfs_symlink()
174 * gets matches the normal symlink(2) semantics. Without in configfs_symlink()
227 ret = -EPERM; /* What lack-of-symlink returns */ in configfs_unlink()

12345678910>>...18