Home
last modified time | relevance | path

Searched refs:detached (Results 1 - 25 of 31) sorted by relevance

12

/kernel/liteos_a/compat/posix/src/
H A Dpthread.c294 * If we are already detached, go to EXITED state, otherwise in pthread_exit()
413 * Set the detachstate of the thread to "detached". The thread then does not
421 _pthread_data *detached = NULL; in pthread_detach() local
426 detached = pthread_get_data(thread); in pthread_detach()
427 if (detached == NULL) { in pthread_detach()
429 } else if (detached->state == PTHREAD_STATE_DETACHED) { in pthread_detach()
430 ret = EINVAL; /* Already detached! */ in pthread_detach()
431 } else if (detached->state == PTHREAD_STATE_JOIN) { in pthread_detach()
432 detached->state = PTHREAD_STATE_EXITED; in pthread_detach()
435 /* Set state to detached an in pthread_detach()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dperf_branches.c65 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()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dperf_branches.c65 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()
/kernel/linux/linux-6.6/drivers/video/
H A Daperture.c153 bool detached = !ap->dev; in devm_aperture_acquire_release() local
155 if (detached) in devm_aperture_acquire_release()
/kernel/linux/linux-6.6/drivers/net/
H A Dtun.c145 struct tun_struct *detached; member
595 tfile->detached = tun; in tun_disable_queue()
602 struct tun_struct *tun = tfile->detached; in tun_enable_queue()
604 tfile->detached = NULL; in tun_enable_queue()
643 if (!tfile->detached) in __tun_detach()
648 if (tun && !tfile->detached) { in __tun_detach()
674 } else if (tfile->detached && clean) { in __tun_detach()
767 if (rtnl_dereference(tfile->tun) && !tfile->detached) in tun_attach()
775 if (!tfile->detached && in tun_attach()
790 if (!tfile->detached in tun_attach()
[all...]
/kernel/linux/linux-5.10/drivers/net/
H A Dtun.c156 struct tun_struct *detached; member
607 tfile->detached = tun; in tun_disable_queue()
614 struct tun_struct *tun = tfile->detached; in tun_enable_queue()
616 tfile->detached = NULL; in tun_enable_queue()
655 if (!tfile->detached) in __tun_detach()
660 if (tun && !tfile->detached) { in __tun_detach()
685 } else if (tfile->detached && clean) { in __tun_detach()
778 if (rtnl_dereference(tfile->tun) && !tfile->detached) in tun_attach()
786 if (!tfile->detached && in tun_attach()
801 if (!tfile->detached in tun_attach()
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dbackref.h172 /* Link to pending, changed or detached list */
202 unsigned int detached:1; member
246 /* List of detached backref node. */
247 struct list_head detached; member
H A Dbackref.c2552 INIT_LIST_HEAD(&cache->detached);
2597 * be the lowest node in the cache or a detached node.
2608 BUG_ON(!node->lowest && !node->detached);
2638 while (!list_empty(&cache->detached)) {
2639 node = list_entry(cache->detached.next,
2657 ASSERT(list_empty(&cache->detached));
3077 /* Parent is detached, no need to keep any edges */
3078 if (upper->detached) {
H A Drelocation.c194 BUG_ON(node->detached); in walk_up_backref()
255 * detached nodes are used to avoid unnecessary backref in update_backref_cache()
257 * so the detached nodes are no longer useful. in update_backref_cache()
259 while (!list_empty(&cache->detached)) { in update_backref_cache()
260 node = list_entry(cache->detached.next, in update_backref_cache()
375 * - Freeing up leaves (level 0), keeps nodes detached
376 * For nodes, the node is still cached as "detached"
432 list_add(&cur->list, &cache->detached); in handle_useless_nodes()
433 cur->detached = 1; in handle_useless_nodes()
524 ASSERT(!node || !node->detached); in build_backref_tree()
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dbackref.h347 /* Link to pending, changed or detached list */
377 unsigned int detached:1; member
421 /* List of detached backref node. */
422 struct list_head detached; member
H A Drelocation.c206 BUG_ON(node->detached); in walk_up_backref()
267 * detached nodes are used to avoid unnecessary backref in update_backref_cache()
269 * so the detached nodes are no longer useful. in update_backref_cache()
271 while (!list_empty(&cache->detached)) { in update_backref_cache()
272 node = list_entry(cache->detached.next, in update_backref_cache()
387 * - Freeing up leaves (level 0), keeps nodes detached
388 * For nodes, the node is still cached as "detached"
444 list_add(&cur->list, &cache->detached); in handle_useless_nodes()
445 cur->detached = 1; in handle_useless_nodes()
537 ASSERT(!node || !node->detached); in build_backref_tree()
[all...]
H A Dbackref.c3009 INIT_LIST_HEAD(&cache->detached); in btrfs_backref_init_cache()
3054 * be the lowest node in the cache or a detached node.
3065 BUG_ON(!node->lowest && !node->detached); in btrfs_backref_cleanup_node()
3095 while (!list_empty(&cache->detached)) { in btrfs_backref_release_cache()
3096 node = list_entry(cache->detached.next, in btrfs_backref_release_cache()
3114 ASSERT(list_empty(&cache->detached)); in btrfs_backref_release_cache()
3533 /* Parent is detached, no need to keep any edges */ in btrfs_backref_finish_upper_links()
3534 if (upper->detached) { in btrfs_backref_finish_upper_links()
/kernel/linux/linux-5.10/drivers/of/
H A Dof_private.h107 bool detached);
114 * own the devtree lock or work on detached trees only.
H A Dfdt.c357 * @detached: if true set OF_DETACHED on @mynodes
370 bool detached) in __unflatten_device_tree()
417 if (detached && mynodes) { in __unflatten_device_tree()
419 pr_debug("unflattened tree is detached\n"); in __unflatten_device_tree()
366 __unflatten_device_tree(const void *blob, struct device_node *dad, struct device_node **mynodes, void *(*dt_alloc)(u64 size, u64 align), bool detached) __unflatten_device_tree() argument
/kernel/linux/linux-6.6/drivers/of/
H A Dof_private.h116 bool detached);
123 * own the devtree lock or work on detached trees only.
H A Dfdt.c356 * @detached: if true set OF_DETACHED on @mynodes
369 bool detached) in __unflatten_device_tree()
424 if (detached && mynodes && *mynodes) { in __unflatten_device_tree()
426 pr_debug("unflattened tree is detached\n"); in __unflatten_device_tree()
365 __unflatten_device_tree(const void *blob, struct device_node *dad, struct device_node **mynodes, void *(*dt_alloc)(u64 size, u64 align), bool detached) __unflatten_device_tree() argument
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_127.c59 /* Signal we're done (especially in case of a detached thread) */ in PthreadF01()
130 if (g_scenarii[g_testCount].detached == 0) { in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
H A DIt_posix_pthread_127.cpp52 /* Signal we're done (especially in case of a detached thread) */ in pthread_f01()
123 if (g_scenarii[g_testCount].detached == 0) { in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/
H A DIt_posix_pthread.h119 /* 0, joinable; 1, detached */
120 INT32 detached; member
171 * the detached threads execution
H A DIt_posix_pthread.c62 CASE_POS(1, 0, 0, 0, 0, 0, 0, 0, "detached"),
105 if (g_scenarii[i].detached == 1) { in ScenarInit()
/kernel/linux/linux-6.6/include/linux/
H A Dmm.h768 static inline void vma_mark_detached(struct vm_area_struct *vma, bool detached) in vma_mark_detached() argument
771 if (detached) in vma_mark_detached()
773 vma->detached = detached; in vma_mark_detached()
804 bool detached) {} in vma_mark_detached()
803 vma_mark_detached(struct vm_area_struct *vma, bool detached) vma_mark_detached() argument
H A Dmm_types.h610 /* Flag to indicate areas detached from the mm->mm_mt tree */
611 bool detached; member
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/
H A DIt_posix_pthread.h126 /* 0 => joinable; 1 => detached */
127 INT32 detached; member
178 * the detached threads execution
H A Dposix_pthread_test.cpp66 CASE_POS(1, 0, 0, 0, 0, 0, 0, 0, const_cast<char *>("detached")),
108 if (g_scenarii[i].detached == 1) { in ScenarInit()
/kernel/linux/linux-5.10/arch/arm/crypto/
H A Dsha1-armv4-large.S35 @ small = detached Xload/update, loops are folded;
36 @ compact = detached Xload/update, 5x unroll;

Completed in 37 milliseconds

12