Home
last modified time | relevance | path

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

12345678910>>...13

/linux/fs/afs/
H A Dsymlink.c15 static void afs_put_symlink(struct afs_symlink *symlink) in afs_put_symlink() argument
17 if (refcount_dec_and_test(&symlink->ref)) in afs_put_symlink()
18 kfree_rcu(symlink, rcu); in afs_put_symlink()
21 static void afs_replace_symlink(struct afs_vnode *vnode, struct afs_symlink *symlink) in afs_replace_symlink() argument
25 old = rcu_replace_pointer(vnode->symlink, symlink, in afs_replace_symlink()
32 * In the event that a third-party update of a symlink occurs, dispose of the
41 * Dispose of a symlink copy during inode deletion.
47 old = rcu_replace_pointer(vnode->symlink, NULL, true); in afs_evict_symlink()
54 * Set up a locally created symlink inode for immediate write to the cache.
58 struct afs_symlink *symlink = op->create.symlink; in afs_init_new_symlink() local
[all …]
/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.c92 * This is a request to create an absolute symlink on the server in create_native_symlink()
93 * which does not support POSIX paths, and expects symlink in in create_native_symlink()
94 * NT-style path. So convert absolute Linux symlink target path in create_native_symlink()
97 * ensure compatibility of this symlink stored in absolute form in create_native_symlink()
102 * If the absolute Linux symlink target path is not in create_native_symlink()
104 * to convert such Linux symlink to NT-style path. in create_native_symlink()
107 "absolute symlink '%s' cannot be converted to NT format " in create_native_symlink()
119 * Symlink points to Linux target /symlinkroot/x/path/... in create_native_symlink()
135 /* Unhandled absolute symlink. Report an error. */ in create_native_symlink()
138 "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.c
/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/fs/udf/
H A Dsymlink.c3 * symlink.c
6 * Symlink handling routines for the OSTA-UDF(tm) filesystem.
46 * Symlink points to some place which should be agreed in udf_pc_to_char()
106 unsigned char *symlink; in udf_symlink_filler() local
118 symlink = iinfo->i_data + iinfo->i_lenEAttr; in udf_symlink_filler()
126 symlink = bh->b_data; in udf_symlink_filler()
129 err = udf_pc_to_char(inode->i_sb, symlink, inode->i_size, p, PAGE_SIZE); in udf_symlink_filler()
/linux/fs/xfs/scrub/
H A Dsymlink_repair.c50 * 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 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/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/configfs/
H A Dsymlink.c3 * symlink.c - operations for configfs symlinks.
177 * link(2) and symlink(2) - they wanted the target resolved in configfs_symlink()
181 * symlink(2) is nothing of that sort, and the locking it in configfs_symlink()
182 * gets matches the normal symlink(2) semantics. Without in configfs_symlink()
236 ret = -EPERM; /* What lack-of-symlink returns */ in configfs_unlink()
/linux/fs/ocfs2/
H A Dsymlink.h3 * symlink.h
17 * Test whether an inode is a fast symlink.
/linux/drivers/usb/gadget/function/
H A Du_printer.h27 * and create symlink/remove 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()

12345678910>>...13