Home
last modified time | relevance | path

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

123456789

/linux-6.6.21/drivers/usb/usbip/
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 …]
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 …]
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 …]
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()
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()
Dvhci_hcd.c921 struct vhci_unlink *unlink; in vhci_urb_dequeue() local
926 unlink = kzalloc(sizeof(struct vhci_unlink), GFP_ATOMIC); in vhci_urb_dequeue()
927 if (!unlink) { in vhci_urb_dequeue()
934 unlink->seqnum = atomic_inc_return(&vhci_hcd->seqnum); in vhci_urb_dequeue()
935 if (unlink->seqnum == 0xffff) in vhci_urb_dequeue()
938 unlink->unlink_seqnum = priv->seqnum; in vhci_urb_dequeue()
942 list_add_tail(&unlink->list, &vdev->unlink_tx); in vhci_urb_dequeue()
960 struct vhci_unlink *unlink, *tmp; in vhci_cleanup_unlink_list() local
966 list_for_each_entry_safe(unlink, tmp, unlink_list, list) { in vhci_cleanup_unlink_list()
969 urb = pickup_urb_and_free_priv(vdev, unlink->unlink_seqnum); in vhci_cleanup_unlink_list()
[all …]
/linux-6.6.21/tools/testing/selftests/landlock/
Dfs_test.c213 if (unlink(path) && rmdir(path)) { in remove_path()
1015 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
1016 ASSERT_EQ(0, unlink(file1_s1d2)); in TEST_F_FORK()
1027 ASSERT_EQ(0, unlink(file1_s1d2)); in TEST_F_FORK()
1041 ASSERT_EQ(-1, unlink(file1_s1d2)); in TEST_F_FORK()
1043 ASSERT_EQ(0, unlink(file1_s1d3)); in TEST_F_FORK()
1922 ASSERT_EQ(0, unlink(file1_s1d1)); in TEST_F_FORK()
1923 ASSERT_EQ(0, unlink(file1_s1d2)); in TEST_F_FORK()
1924 ASSERT_EQ(0, unlink(file1_s1d3)); in TEST_F_FORK()
1944 ASSERT_EQ(0, unlink(file2_s1d2)); in TEST_F_FORK()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
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()
/linux-6.6.21/drivers/most/
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-6.6.21/tools/testing/selftests/exec/
Dexecveat.c283 unlink("execveat.moved"); /* remove the file now fd open */ in run_tests()
288 unlink("execveat.path.ephemeral"); in run_tests()
318 unlink("pipe"); in run_tests()
341 unlink("script.moved"); /* remove the file while fd open */ in run_tests()
349 unlink("subdir.moved/script"); in run_tests()
350 unlink("subdir.moved"); in run_tests()
Dbinfmt_script.py95 os.unlink(script)
98 os.unlink(binary)
/linux-6.6.21/include/linux/
Dstm.h91 void (*unlink)(struct stm_data *, unsigned int, member
121 void (*unlink)(struct stm_source_data *data); member
/linux-6.6.21/tools/perf/tests/
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()
Dgenelf.c45 unlink(path); in test__jit_write_elf()
/linux-6.6.21/tools/testing/selftests/bpf/
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-6.6.21/tools/testing/selftests/filesystems/
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-6.6.21/tools/testing/selftests/firmware/
Dfw_namespace.c34 unlink(fw_path); in die()
148 unlink(fw_path); in main()
/linux-6.6.21/tools/perf/util/
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-6.6.21/tools/testing/selftests/efivarfs/
D.gitignore3 open-unlink
DMakefile4 TEST_GEN_FILES := open-unlink create-read
/linux-6.6.21/arch/um/drivers/
Dxterm.c123 if (unlink(file)) { in xterm_open()
185 unlink(file); in xterm_open()
/linux-6.6.21/tools/perf/trace/strace/groups/
Dfile19 unlink
Dstring63 unlink
/linux-6.6.21/fs/ubifs/
Ddir.c1296 int unlink = !!new_inode, new_sz, old_sz; in do_rename() local
1319 if (unlink) { in do_rename()
1329 if (unlink && is_dir) { in do_rename()
1431 if (!unlink) in do_rename()
1439 if (unlink) in do_rename()
1452 if (unlink) { in do_rename()
1474 if (unlink && IS_SYNC(new_inode)) in do_rename()
1516 if (unlink) { in do_rename()
1527 if (!unlink) in do_rename()
1530 if (unlink) in do_rename()
[all …]
/linux-6.6.21/tools/testing/selftests/net/af_unix/
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()

123456789