Home
last modified time | relevance | path

Searched refs:locks (Results 1 – 25 of 32) sorted by relevance

12

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Drrwlock.c329 rrw_init(&rrl->locks[i], track_all); in rrm_init()
338 rrw_destroy(&rrl->locks[i]); in rrm_destroy()
363 rrw_enter_read(&rrl->locks[RRM_TD_LOCK()], tag); in rrm_enter_read()
372 rrw_enter_write(&rrl->locks[i]); in rrm_enter_write()
380 if (rrl->locks[0].rr_writer == curthread) { in rrm_exit()
382 rrw_exit(&rrl->locks[i], tag); in rrm_exit()
384 rrw_exit(&rrl->locks[RRM_TD_LOCK()], tag); in rrm_exit()
392 return (rrw_held(&rrl->locks[0], rw)); in rrm_held()
394 return (rrw_held(&rrl->locks[RRM_TD_LOCK()], rw)); in rrm_held()
H A Dspa_misc.c463 if (!(locks & (1 << i))) in spa_config_tryenter()
469 spa_config_exit(spa, locks & ((1 << i) - 1), in spa_config_tryenter()
477 spa_config_exit(spa, locks & ((1 << i) - 1), in spa_config_tryenter()
500 if (!(locks & (1 << i))) in spa_config_enter()
519 ASSERT3U(wlocks_held, <=, locks); in spa_config_enter()
527 if (!(locks & (1 << i))) in spa_config_exit()
548 if (!(locks & (1 << i))) in spa_config_held()
1315 int locks = SCL_STATE_ALL | oplocks; in spa_vdev_state_enter() local
1327 int low = locks & ~(SCL_ZIO - 1); in spa_vdev_state_enter()
1328 int high = locks & ~low; in spa_vdev_state_enter()
[all …]
H A Dvdev_label.c1573 int locks = (SCL_L2ARC | SCL_ZIO); in vdev_copy_uberblocks() local
1588 spa_config_enter(vd->vdev_spa, locks, FTAG, RW_READER); in vdev_copy_uberblocks()
1613 spa_config_exit(vd->vdev_spa, locks, FTAG); in vdev_copy_uberblocks()
H A Dmetaslab.c927 int locks = spa_config_held(spa, SCL_ALL, RW_WRITER); in metaslab_group_passivate() local
955 spa_config_exit(spa, locks & ~(SCL_ZIO - 1), spa); in metaslab_group_passivate()
957 spa_config_enter(spa, locks & ~(SCL_ZIO - 1), spa, RW_WRITER); in metaslab_group_passivate()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Drrwlock.h97 rrwlock_t locks[RRM_NUM_LOCKS]; member
H A Dspa.h988 extern int spa_config_tryenter(spa_t *spa, int locks, void *tag, krw_t rw);
989 extern void spa_config_enter(spa_t *spa, int locks, const void *tag, krw_t rw);
990 extern void spa_config_exit(spa_t *spa, int locks, const void *tag);
991 extern int spa_config_held(spa_t *spa, int locks, krw_t rw);
/f-stack/freebsd/kern/
H A Dkern_lockf.c1874 struct lockdesclist locks; in lf_iteratelocks_sysid() local
1885 STAILQ_INIT(&locks); in lf_iteratelocks_sysid()
1907 STAILQ_INSERT_TAIL(&locks, ldesc, link); in lf_iteratelocks_sysid()
1919 while ((ldesc = STAILQ_FIRST(&locks)) != NULL) { in lf_iteratelocks_sysid()
1920 STAILQ_REMOVE_HEAD(&locks, link); in lf_iteratelocks_sysid()
1936 struct lockdesclist locks; in lf_iteratelocks_vnode() local
1947 STAILQ_INIT(&locks); in lf_iteratelocks_vnode()
1974 STAILQ_INSERT_TAIL(&locks, ldesc, link); in lf_iteratelocks_vnode()
1989 while ((ldesc = STAILQ_FIRST(&locks)) != NULL) { in lf_iteratelocks_vnode()
1990 STAILQ_REMOVE_HEAD(&locks, link); in lf_iteratelocks_vnode()
H A Dsubr_epoch.c686 int locks __unused; in epoch_wait_preempt()
692 locks = curthread->td_locks; in epoch_wait_preempt()
730 KASSERT(td->td_locks == locks, in epoch_wait_preempt()
731 ("%d residual locks held", td->td_locks - locks)); in epoch_wait_preempt()
H A Dsubr_witness.c2575 DB_SHOW_COMMAND(locks, db_witness_list) in DB_SHOW_COMMAND() argument
2586 DB_SHOW_ALL_COMMAND(locks, db_witness_list_all) in DB_SHOW_ALL_COMMAND() argument
/f-stack/dpdk/doc/guides/prog_guide/
H A Dmempool_lib.rst81 via the cache with many fewer locks on the actual memory pool structure.
82 In this way, each core has full access to its own cache (with locks) of free objects and
87 the speed at which a core can access its own cache for a specific memory pool without locks provide…
H A Dregexdev.rst147 require global locks and hinder performance.
H A Dwriting_efficient_code.rst170 This section describes some key considerations when using locks and atomic
H A Drcu_lib.rst191 ``rte_rcu_qsbr_quiescent()`` will check if all the locks are unlocked.
/f-stack/freebsd/contrib/device-tree/Bindings/clock/ti/
H A Ddpll.txt53 - ti,lock : DPLL locks in programmed rate
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/include/
H A Dproperties.shlib104 # Only older kernels support non-blocking mandatory locks
/f-stack/dpdk/doc/api/
H A Ddoxy-api-index.md73 - **locks**:
/f-stack/dpdk/examples/l3fwd-power/
H A Dmain.c144 static rte_spinlock_t locks[RTE_MAX_ETHPORTS]; variable
874 rte_spinlock_lock(&(locks[port_id])); in turn_on_off_intr()
879 rte_spinlock_unlock(&(locks[port_id])); in turn_on_off_intr()
2740 rte_spinlock_init(&(locks[portid])); in main()
/f-stack/tools/libxo/tests/gettext/
H A Dstrerror.pot387 msgid "No locks available"
/f-stack/doc/
H A DF-Stack_Development_Guide.md43 In order to minimize the impact of resource sharing and kernel system (such as scheduling, locks, e…
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Dste-ux500-samsung-golden.dts14 * that locks the L2 cache. Otherwise the kernel will crash after decompression.
/f-stack/dpdk/doc/guides/linux_gsg/
H A Denable_func.rst79 * RLIMIT_LOCKS (number of file locks that can be held by a process)
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dperformance_thread.rst741 Spin locks are not provided because they are problematical in a cooperative
743 discussion on how to avoid spin locks.
962 run on the same scheduler then it its probably safe to remove locks and spin
963 locks completely.
978 Spin locks are typically used when lock contention is likely to be rare and
/f-stack/tools/libxo/tests/gettext/po/pig_latin/
H A Dstrerror.po379 msgid "No locks available"
/f-stack/freebsd/contrib/openzfs/cmd/zpool_influxdb/
H A DREADME.md281 intervals, because the locks can interfere with the performance
/f-stack/dpdk/doc/guides/rel_notes/
H A Drelease_2_1.rst307 by locks are friendly to HTM. For example, an attempt to perform a HW I/O
310 fail. Therefore, hardware transactional locks are not advised to be used

12