Searched refs:unlink (Results 1 - 25 of 171) sorted by relevance

1234567

/linux-master/tools/testing/selftests/efivarfs/
H A DMakefile4 TEST_GEN_FILES := open-unlink create-read
H A Dopen-unlink.c121 if (unlink(path) < 0) {
122 perror("unlink");
/linux-master/drivers/usb/usbip/
H A Dvudc_tx.c32 struct v_unlink *unlink)
34 setup_base_pdu(&rpdu->base, USBIP_RET_UNLINK, unlink->seqnum);
35 rpdu->u.ret_unlink.status = unlink->status;
38 static int v_send_ret_unlink(struct vudc *udc, struct v_unlink *unlink) argument
53 setup_ret_unlink_pdu(&pdu_header, unlink);
68 kfree(unlink);
247 struct v_unlink *unlink; local
254 unlink = kzalloc(sizeof(*unlink), GFP_ATOMIC);
255 if (!unlink) {
31 setup_ret_unlink_pdu(struct usbip_header *rpdu, struct v_unlink *unlink) argument
[all...]
H A Dvhci_rx.c115 struct vhci_unlink *unlink, *tmp; local
120 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_rx, list) {
121 pr_info("unlink->seqnum %lu\n", unlink->seqnum);
122 if (unlink->seqnum == pdu->base.seqnum) {
123 usbip_dbg_vhci_rx("found pending unlink, %lu\n",
124 unlink->seqnum);
125 list_del(&unlink->list);
128 return unlink;
142 struct vhci_unlink *unlink; local
[all...]
H A Dstub_tx.c17 struct stub_unlink *unlink; local
19 unlink = kzalloc(sizeof(struct stub_unlink), GFP_ATOMIC);
20 if (!unlink) {
25 unlink->seqnum = seqnum;
26 unlink->status = status;
28 list_add_tail(&unlink->list, &sdev->unlink_tx);
126 struct stub_unlink *unlink)
128 setup_base_pdu(&rpdu->base, USBIP_RET_UNLINK, unlink->seqnum);
129 rpdu->u.ret_unlink.status = unlink->status;
346 struct stub_unlink *unlink, *tm local
125 setup_ret_unlink_pdu(struct usbip_header *rpdu, struct stub_unlink *unlink) argument
364 struct stub_unlink *unlink, *tmp; local
[all...]
H A Dvhci_tx.c171 struct vhci_unlink *unlink, *tmp; local
176 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_tx, list) {
177 list_move_tail(&unlink->list, &vdev->unlink_rx);
179 return unlink;
189 struct vhci_unlink *unlink = NULL; local
196 while ((unlink = dequeue_from_unlink_tx(vdev)) != NULL) {
204 usbip_dbg_vhci_tx("setup cmd unlink, %lu\n", unlink->seqnum);
208 pdu_header.base.seqnum = unlink->seqnum;
211 pdu_header.u.cmd_unlink.seqnum = unlink
[all...]
H A Dstub_dev.c196 struct stub_unlink *unlink, *tmp; local
199 list_for_each_entry_safe(unlink, tmp, &sdev->unlink_tx, list) {
200 list_del(&unlink->list);
201 kfree(unlink);
203 list_for_each_entry_safe(unlink, tmp, &sdev->unlink_free,
205 list_del(&unlink->list);
206 kfree(unlink);
/linux-master/include/linux/
H A Dstm.h50 * @unlink: likewise for unlinking, again optional
55 * passed back to @packet(), @mmio_addr(), @link(), @unlink() and @set_options()
72 * The @unlink callback is called when there are no more active writers so
91 void (*unlink)(struct stm_data *, unsigned int, member in struct:stm_data
110 * @unlink: called when this source is about to get unlinked from its STM
121 void (*unlink)(struct stm_source_data *data); member in struct:stm_source_data
/linux-master/tools/perf/tests/
H A Dgenelf.c45 unlink(path);
H A Dapi-io.c51 unlink(path);
67 unlink(path);
74 unlink(path);
85 unlink(path);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dpinning.c157 err = unlink(custpinpath);
158 if (CHECK(err, "unlink custpinpath", "err %d errno %d\n", err, errno))
226 err = unlink(custpinpath);
227 if (CHECK(err, "unlink custpinpath", "err %d errno %d\n", err, errno))
273 unlink(pinpath);
274 unlink(nopinpath);
275 unlink(nopinpath2);
276 unlink(custpinpath);
/linux-master/tools/testing/selftests/firmware/
H A Dfw_namespace.c30 unlink(fw_path);
144 unlink(fw_path);
/linux-master/tools/testing/selftests/bpf/
H A Dverify_sig_setup.sh58 keyctl unlink $(keyctl search @s asymmetric ebpf_testing_key) @s
59 keyctl unlink $(keyctl search @s keyring ebpf_testing_keyring) @s
/linux-master/tools/testing/selftests/landlock/
H A Dfs_test.c213 if (unlink(path) && rmdir(path)) {
1068 ASSERT_EQ(0, unlink(file1_s1d1));
1069 ASSERT_EQ(0, unlink(file1_s1d2));
1080 ASSERT_EQ(0, unlink(file1_s1d2));
1094 ASSERT_EQ(-1, unlink(file1_s1d2));
1096 ASSERT_EQ(0, unlink(file1_s1d3));
2034 ASSERT_EQ(0, unlink(file1_s1d1));
2035 ASSERT_EQ(0, unlink(file1_s1d2));
2036 ASSERT_EQ(0, unlink(file1_s1d3));
2056 ASSERT_EQ(0, unlink(file2_s1d
[all...]
/linux-master/drivers/hwtracing/stm/
H A Dconsole.c26 .unlink = stm_console_unlink,
H A Dftrace.c27 .unlink = stm_ftrace_unlink,
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-vmxcopy.c59 unlink(tmpfile);
/linux-master/drivers/most/
H A Dmost_cdev.c32 spinlock_t unlink; /* synchronization lock to unlink channels */ member in struct:comp_channel
162 spin_lock(&c->unlink);
164 spin_unlock(&c->unlink);
329 spin_lock(&c->unlink);
331 spin_unlock(&c->unlink);
362 spin_lock(&c->unlink);
364 spin_unlock(&c->unlink);
368 spin_unlock(&c->unlink);
448 spin_lock_init(&c->unlink);
[all...]
/linux-master/tools/testing/selftests/exec/
H A Dexecveat.c299 unlink("execveat.moved"); /* remove the file now fd open */
304 unlink("execveat.path.ephemeral");
334 unlink("pipe");
357 unlink("script.moved"); /* remove the file while fd open */
365 unlink("subdir.moved/script");
366 unlink("subdir.moved");
/linux-master/arch/um/drivers/
H A Dxterm.c123 if (unlink(file)) {
125 printk(UM_KERN_ERR "xterm_open : unlink failed, errno = %d\n",
185 unlink(file);
/linux-master/samples/binderfs/
H A Dbinderfs_example.c73 ret = unlink("/dev/binderfs/my-binder");
/linux-master/fs/nfs/
H A DMakefile10 io.o direct.o pagelist.o read.o symlink.o unlink.o \
/linux-master/include/net/netfilter/
H A Dnf_conntrack_expect.h103 const struct nf_conntrack_tuple *tuple, bool unlink);
/linux-master/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c244 status = unlink(testfile);
349 unlink(testfile);
357 unlink(testfile);
398 unlink(testfile);
/linux-master/tools/testing/selftests/filesystems/
H A Ddevpts_pts.c216 unlink(mntpoint);
222 unlink(mntpoint);
227 unlink(mntpoint);

Completed in 189 milliseconds

1234567