/linux/include/linux/ |
H A D | devm-helpers.h | 41 * detached. A few drivers need delayed work which must be cancelled before 42 * driver is detached to avoid accessing removed resources. 44 * cancellation when driver is detached. 65 * Initialize work which is automatically cancelled when driver is detached. 67 * is detached to avoid accessing removed resources. 69 * cancellation when driver is detached.
|
H A D | clockchips.h | 25 * DETACHED: Device is not used by clockevents core. Initial state or can be 29 * reached from DETACHED or SHUTDOWN. 31 * from DETACHED or SHUTDOWN.
|
H A D | mmap_lock.h | 128 * is detached and (VMA_LOCK_OFFSET + 1) if it is attached. Waiting on in is_vma_writer_only() 129 * a detached vma happens only in vma_mark_detached() and is a rare in is_vma_writer_only() 156 * detached. 181 /* return EAGAIN if vma got detached from under us */ in vma_start_read()
|
/linux/mm/ |
H A D | mmap_lock.c | 57 * If vma is detached then only vma_mark_attached() can raise the in __vma_enter_locked() 72 static inline void __vma_exit_locked(struct vm_area_struct *vma, bool *detached) in __vma_exit_locked() argument 74 *detached = refcount_sub_and_test(VMA_LOCK_OFFSET, &vma->vm_refcnt); in __vma_exit_locked() 98 bool detached; in __vma_start_write() local 100 __vma_exit_locked(vma, &detached); in __vma_start_write() 101 WARN_ON_ONCE(detached); /* vma should remain attached */ in __vma_start_write() 120 /* Wait until vma is detached with no readers. */ in vma_mark_detached() 122 bool detached; in vma_mark_detached() local 124 __vma_exit_locked(vma, &detached); in vma_mark_detached() 125 WARN_ON_ONCE(!detached); in vma_mark_detached()
|
/linux/drivers/extcon/ |
H A D | extcon-max14577.c | 189 * @attached: the state of cable (true:attached, false:detached) 238 ctrl1, ctrl2, attached ? "attached" : "detached"); in max14577_muic_set_path() 249 * This function check the cable state either attached or detached, 273 * detached. in max14577_muic_get_cable_type() 306 * charger cable is detached. in max14577_muic_get_cable_type() 329 attached ? "attached" : "detached", cable_type); in max14577_muic_jig_handler() 343 attached ? "attached" : "detached"); in max14577_muic_jig_handler() 362 /* Check accessory state which is either detached or attached */ in max14577_muic_adc_handler() 368 attached ? "attached" : "detached", cable_type, in max14577_muic_adc_handler() 411 * proper operation when this accessory is attached/detached. in max14577_muic_adc_handler() [all …]
|
H A D | extcon-max8997.c | 191 * @attached: the state of cable (true:attached, false:detached) 230 ctrl1, ctrl2, attached ? "attached" : "detached"); in max8997_muic_set_path() 241 * This function check the cable state either attached or detached, 265 * detached. in max8997_muic_get_cable_type() 297 * charger cable is detached. in max8997_muic_get_cable_type() 334 attached ? "attached" : "detached"); in max8997_muic_handle_usb() 359 attached ? "attached" : "detached"); in max8997_muic_handle_dock() 389 /* Check cable state which is either detached or attached */ in max8997_muic_adc_handler() 445 * proper operation when this cable is attached/detached. in max8997_muic_adc_handler() 449 attached ? "attached" : "detached", cable_type); in max8997_muic_adc_handler() [all …]
|
H A D | extcon-max77693.c | 251 * @attached: the state of cable (true:attached, false:detached) 291 ctrl1, ctrl2, attached ? "attached" : "detached"); in max77693_muic_set_path() 302 * This function check the cable state either attached or detached, 331 * detached. in max77693_muic_get_cable_type() 355 * is detached. in max77693_muic_get_cable_type() 410 * charger cable is detached. in max77693_muic_get_cable_type() 460 attached ? "attached" : "detached", cable_type); in max77693_muic_dock_handler() 465 * Check power cable whether attached or detached state. in max77693_muic_dock_handler() 517 attached ? "attached" : "detached"); in max77693_muic_dock_handler() 611 attached ? "attached" : "detached"); in max77693_muic_adc_ground_handler() [all …]
|
H A D | extcon-max77843.c | 240 ctrl1, ctrl2, attached ? "attached" : "detached"); in max77843_muic_set_path() 376 attached ? "attached" : "detached", gnd_cable_type); in max77843_muic_adc_gnd_handler() 402 attached ? "attached" : "detached", gnd_cable_type); in max77843_muic_adc_gnd_handler() 416 attached ? "attached" : "detached", cable_type); in max77843_muic_jig_handler() 445 attached ? "attached" : "detached"); in max77843_muic_dock_handler() 469 attached ? "attached" : "detached", cable_type, in max77843_muic_adc_handler() 519 attached ? "attached" : "detached", cable_type); in max77843_muic_adc_handler() 524 attached ? "attached" : "detached", cable_type); in max77843_muic_adc_handler() 541 attached ? "attached" : "detached", in max77843_muic_chg_handler() 616 attached ? "attached" : "detached", chg_type); in max77843_muic_chg_handler()
|
H A D | extcon-palmas.c | 63 dev_dbg(palmas_usb->dev, "USB cable is detached\n"); in palmas_vbus_irq_handler() 99 dev_dbg(palmas_usb->dev, "USB-HOST cable is detached\n"); in palmas_id_irq_handler() 104 dev_dbg(palmas_usb->dev, "USB-HOST cable is detached\n"); in palmas_id_irq_handler() 130 dev_dbg(palmas_usb->dev, "USB-HOST cable is detached\n"); in palmas_gpio_id_detect()
|
H A D | extcon-max3355.c | 35 * ID = 1 means USB HOST cable detached. in max3355_id_irq() 44 * As we don't have event for USB peripheral cable detached, in max3355_id_irq()
|
/linux/include/linux/power/ |
H A D | charger-manager.h | 47 * But if charger cable is detached, disable charger. 49 * (External Connector) when charger cable is attached/detached. 52 * false: the charger cable is detached 92 * in the array of charger cables is attached/detached.
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_obj_pinning.c | 59 /* create O_PATH fd for detached mount */ in bpf_obj_pinning_detached() 64 /* If we wanted to expose detached mount in the file system, we'd do in bpf_obj_pinning_detached() 79 /* pin BPF map into detached BPF FS through mnt_fd */ in bpf_obj_pinning_detached() 86 /* get BPF map from detached BPF FS through mnt_fd */ in bpf_obj_pinning_detached() 261 if (test__start_subtest("detached")) in test_bpf_obj_pinning()
|
H A D | perf_branches.c | 65 bool detached = false; in test_perf_branches_common() local 91 detached = true; in test_perf_branches_common() 97 if (!detached) in test_perf_branches_common()
|
H A D | fexit_sleep.c | 58 * The nanosleep_fentry prog will get detached first. in test_fexit_sleep() 59 * The nanosleep_fexit prog will get detached second. in test_fexit_sleep()
|
/linux/Documentation/driver-api/surface_aggregator/clients/ |
H A D | dtx.rst | 37 detached, optionally (model dependent) housing the discrete GPU (dGPU). 41 operation and allowing it to be detached when requested. 94 can be detached from the base. This is the exact behavior as without 99 clipboard cannot be detached from the base. Furthermore, the EC sends 265 - Base has been detached/is not present. 379 attached, detached, or detachment has become infeasible due to low clipboard 636 Get the current base connection state (i.e. attached/detached) and the type
|
/linux/tools/usb/usbip/src/ |
H A D | usbip_detach.c | 65 info("Port %d is already detached!\n", idev->port); in detach_port() 89 info("Port %d is now detached!\n", portnum); in detach_port()
|
/linux/drivers/net/ovpn/ |
H A D | socket.c | 74 /* release may be invoked after socket was detached */ in ovpn_socket_release() 80 * detached socket. in ovpn_socket_release() 83 * detached before it can be picked by a concurrent reader. in ovpn_socket_release()
|
/linux/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 1283 /* Changing mount properties on a detached mount. */ in TEST_F() 1293 * Validate that a detached mount not in our mount namespace can be idmapped. 1315 /* Changing mount properties on a detached mount. */ in TEST_F() 1351 /* Change idmapping on a detached mount that is already idmapped. */ in TEST_F() 1590 * anymore so creation of another detached mounts must fail. in TEST_F() 1634 * detached mount must thus fail. in TEST_F() 1680 * namespace anymore so creation of another detached mounts must in TEST_F() 1838 /* Not allowed to move an attached mount to a detached mount. */ in TEST_F() 1902 * Move the source detached mount tree to the target detached in TEST_F() 1907 * The source detached mount tree and the target detached mount in TEST_F() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | switchdev.rst | 144 hw_addr 00:00:00:00:00:00 state inactive opstate detached 151 hw_addr 00:00:00:00:00:00 state inactive opstate detached 224 hw_addr 00:00:00:00:88:88 state inactive opstate detached 233 hw_addr 00:00:00:00:88:88 state active opstate detached
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-extcon | 52 cables attached and HDMI and EAR_JACK cables detached. 81 device. The state value is either 0 (detached) or 1
|
/linux/drivers/pci/pwrctrl/ |
H A D | core.c | 108 * is only called when the power control device is being detached. If in pci_pwrctrl_device_unset_ready() 109 * it is being detached then the child PCI device must have already in pci_pwrctrl_device_unset_ready()
|
/linux/tools/testing/selftests/net/ |
H A D | nl_netdev.py | 103 detached = [pp for pp in pp_list if "detach-time" in pp] 105 ksft_eq(len(detached), 1)
|
/linux/drivers/net/ |
H A D | tun.c | 146 struct tun_struct *detached; member 530 tfile->detached = tun; in tun_disable_queue() 537 struct tun_struct *tun = tfile->detached; in tun_enable_queue() 539 tfile->detached = NULL; in tun_enable_queue() 578 if (!tfile->detached) in __tun_detach() 583 if (tun && !tfile->detached) { in __tun_detach() 609 } else if (tfile->detached && clean) { in __tun_detach() 702 if (rtnl_dereference(tfile->tun) && !tfile->detached) in tun_attach() 710 if (!tfile->detached && in tun_attach() 725 if (!tfile->detached && in tun_attach() [all …]
|
/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_bind_mount.c | 54 * Test that a detached mount can be created for a pidfd and then 90 * Test that a detached mount can be created for a pidfd and then in sys_open_tree()
|
/linux/rust/kernel/ |
H A D | devres.rs | 117 // detached. in new() 180 /// returned `Devres` instance' `data` will be revoked once the device is detached. 188 /// is owned by devres and will be revoked / dropped, once the device is detached.
|