Home
last modified time | relevance | path

Searched refs:unlink (Results 1 – 25 of 189) sorted by relevance

12345678

/linux/drivers/usb/usbip/
H A Dstub_tx.c17 struct stub_unlink *unlink; in stub_enqueue_ret_unlink() local
19 unlink = kzalloc(sizeof(struct stub_unlink), GFP_ATOMIC); in stub_enqueue_ret_unlink()
20 if (!unlink) { in stub_enqueue_ret_unlink()
25 unlink->seqnum = seqnum; in stub_enqueue_ret_unlink()
26 unlink->status = status; in stub_enqueue_ret_unlink()
28 list_add_tail(&unlink->list, &sdev->unlink_tx); in stub_enqueue_ret_unlink()
126 struct stub_unlink *unlink) in setup_ret_unlink_pdu() argument
128 setup_base_pdu(&rpdu->base, USBIP_RET_UNLINK, unlink->seqnum); in setup_ret_unlink_pdu()
129 rpdu->u.ret_unlink.status = unlink->status; in setup_ret_unlink_pdu()
346 struct stub_unlink *unlink, *tmp; in dequeue_from_unlink_tx() local
[all …]
H A Dvhci_rx.c115 struct vhci_unlink *unlink, *tmp; in dequeue_pending_unlink() local
120 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_rx, list) { in dequeue_pending_unlink()
121 pr_info("unlink->seqnum %lu\n", unlink->seqnum); in dequeue_pending_unlink()
122 if (unlink->seqnum == pdu->base.seqnum) { in dequeue_pending_unlink()
124 unlink->seqnum); in dequeue_pending_unlink()
125 list_del(&unlink->list); in dequeue_pending_unlink()
128 return unlink; in dequeue_pending_unlink()
142 struct vhci_unlink *unlink; in vhci_recv_ret_unlink() local
148 unlink = dequeue_pending_unlink(vdev, pdu); in vhci_recv_ret_unlink()
149 if (!unlink) { in vhci_recv_ret_unlink()
[all …]
H A Dvudc_tx.c32 struct v_unlink *unlink) in setup_ret_unlink_pdu() argument
34 setup_base_pdu(&rpdu->base, USBIP_RET_UNLINK, unlink->seqnum); in setup_ret_unlink_pdu()
35 rpdu->u.ret_unlink.status = unlink->status; in setup_ret_unlink_pdu()
38 static int v_send_ret_unlink(struct vudc *udc, struct v_unlink *unlink) in v_send_ret_unlink() argument
53 setup_ret_unlink_pdu(&pdu_header, unlink); in v_send_ret_unlink()
68 kfree(unlink); in v_send_ret_unlink()
247 struct v_unlink *unlink; in v_enqueue_ret_unlink() local
254 unlink = kzalloc(sizeof(*unlink), GFP_ATOMIC); in v_enqueue_ret_unlink()
255 if (!unlink) { in v_enqueue_ret_unlink()
261 unlink->seqnum = seqnum; in v_enqueue_ret_unlink()
[all …]
H A Dvhci_tx.c171 struct vhci_unlink *unlink, *tmp; in dequeue_from_unlink_tx() local
176 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_tx, list) { in dequeue_from_unlink_tx()
177 list_move_tail(&unlink->list, &vdev->unlink_rx); in dequeue_from_unlink_tx()
179 return unlink; in dequeue_from_unlink_tx()
189 struct vhci_unlink *unlink = NULL; in vhci_send_cmd_unlink() local
196 while ((unlink = dequeue_from_unlink_tx(vdev)) != NULL) { in vhci_send_cmd_unlink()
204 usbip_dbg_vhci_tx("setup cmd unlink, %lu\n", unlink->seqnum); in vhci_send_cmd_unlink()
208 pdu_header.base.seqnum = unlink->seqnum; in vhci_send_cmd_unlink()
211 pdu_header.u.cmd_unlink.seqnum = unlink->unlink_seqnum; in vhci_send_cmd_unlink()
H A Dstub_dev.c196 struct stub_unlink *unlink, *tmp; in stub_shutdown_connection() local
199 list_for_each_entry_safe(unlink, tmp, &sdev->unlink_tx, list) { in stub_shutdown_connection()
200 list_del(&unlink->list); in stub_shutdown_connection()
201 kfree(unlink); in stub_shutdown_connection()
203 list_for_each_entry_safe(unlink, tmp, &sdev->unlink_free, in stub_shutdown_connection()
205 list_del(&unlink->list); in stub_shutdown_connection()
206 kfree(unlink); in stub_shutdown_connection()
/linux/tools/testing/selftests/landlock/
H A Dfs_test.c233 if (unlink(path) && rmdir(path)) { in remove_path()
1098 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
1099 ASSERT_EQ(0, unlink(file1_s1d2)); in TEST_F_FORK()
1110 ASSERT_EQ(0, unlink(file1_s1d2)); in TEST_F_FORK()
1124 ASSERT_EQ(-1, unlink(file1_s1d2)); in TEST_F_FORK()
1126 ASSERT_EQ(0, unlink(file1_s1d3)); in TEST_F_FORK()
2064 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
2065 ASSERT_EQ(0, unlink(file1_s1d2)); in TEST_F_FORK()
2066 ASSERT_EQ(0, unlink(file1_s1d3)); in TEST_F_FORK()
2086 ASSERT_EQ(0, unlink(file2_s1d2)); in TEST_F_FORK()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dpinning.c157 err = unlink(custpinpath); in test_pinning()
226 err = unlink(custpinpath); in test_pinning()
273 unlink(pinpath); in test_pinning()
274 unlink(nopinpath); in test_pinning()
275 unlink(nopinpath2); in test_pinning()
276 unlink(custpinpath); in test_pinning()
H A Dcgroup_dev.c18 unlink(path); in test_mknod()
24 unlink(path); in test_mknod()
/linux/drivers/most/
H A Dmost_cdev.c32 spinlock_t unlink; /* synchronization lock to unlink channels */ member
162 spin_lock(&c->unlink); in comp_close()
164 spin_unlock(&c->unlink); in comp_close()
329 spin_lock(&c->unlink); in comp_disconnect_channel()
331 spin_unlock(&c->unlink); in comp_disconnect_channel()
362 spin_lock(&c->unlink); in comp_rx_completion()
364 spin_unlock(&c->unlink); in comp_rx_completion()
368 spin_unlock(&c->unlink); in comp_rx_completion()
448 spin_lock_init(&c->unlink); in comp_probe()
/linux/tools/testing/selftests/exec/
H A Dexecveat.c299 unlink("execveat.moved"); /* remove the file now fd open */ in run_tests()
304 unlink("execveat.path.ephemeral"); in run_tests()
334 unlink("pipe"); in run_tests()
357 unlink("script.moved"); /* remove the file while fd open */ in run_tests()
365 unlink("subdir.moved/script"); in run_tests()
366 unlink("subdir.moved"); in run_tests()
H A Dbinfmt_script.py101 os.unlink(script)
104 os.unlink(binary)
/linux/tools/perf/tests/
H A Dapi-io.c51 unlink(path); in make_test_file()
67 unlink(path); in setup_test()
74 unlink(path); in setup_test()
85 unlink(path); in cleanup_test()
H A Dgenelf.c45 unlink(path); in test__jit_write_elf()
/linux/tools/testing/selftests/filesystems/
H A Ddevpts_pts.c216 unlink(mntpoint); in verify_non_standard_devpts_mount()
222 unlink(mntpoint); in verify_non_standard_devpts_mount()
227 unlink(mntpoint); in verify_non_standard_devpts_mount()
/linux/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/tools/testing/selftests/firmware/
H A Dfw_namespace.c30 unlink(fw_path); in die()
144 unlink(fw_path); in main()
/linux/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c314 status = unlink(testfile); in split_file_backed_thp()
420 unlink(testfile); in create_pagecache_thp_and_fd()
428 unlink(testfile); in create_pagecache_thp_and_fd()
469 unlink(testfile); in split_thp_in_pagecache_to_order()
/linux/tools/perf/util/
H A Dvdso.c116 unlink(vdso_info->vdso.temp_file_name); in machine__exit_vdso()
119 unlink(vdso_info->vdso32.temp_file_name); in machine__exit_vdso()
121 unlink(vdso_info->vdsox32.temp_file_name); in machine__exit_vdso()
/linux/arch/um/os-Linux/skas/
H A Dprocess.c276 unlink(tmpfile); in init_stub_exe_fd()
288 unlink(tmpfile); in init_stub_exe_fd()
296 unlink(tmpfile); in init_stub_exe_fd()
300 unlink(tmpfile); in init_stub_exe_fd()
/linux/arch/um/drivers/
H A Dxterm.c123 if (unlink(file)) { in xterm_open()
185 unlink(file); in xterm_open()
/linux/tools/testing/selftests/efivarfs/
H A D.gitignore3 open-unlink
H A DMakefile4 TEST_GEN_FILES := open-unlink create-read
/linux/fs/ubifs/
H A Ddir.c1333 int unlink = !!new_inode, new_sz, old_sz; in do_rename() local
1356 if (unlink) { in do_rename()
1366 if (unlink && is_dir) { in do_rename()
1464 if (!unlink) in do_rename()
1472 if (unlink) in do_rename()
1485 if (unlink) { in do_rename()
1507 if (unlink && IS_SYNC(new_inode)) in do_rename()
1549 if (unlink) { in do_rename()
1560 if (!unlink) in do_rename()
1563 if (unlink) in do_rename()
[all …]
/linux/tools/perf/trace/strace/groups/
H A Dfile19 unlink
/linux/tools/testing/selftests/net/af_unix/
H A Dscm_pidfd.c271 unlink(self->server_addr.sock_name); in FIXTURE_TEARDOWN()
272 unlink(self->client_addr->sock_name); in FIXTURE_TEARDOWN()
289 unlink(addr->sock_name); in fill_sockaddr()

12345678