Home
last modified time | relevance | path

Searched refs:__mutex_init (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/include/linux/
Dmutex.h64 __mutex_init((mutex), #mutex, &__key); \
76 #define mutex_init_with_key(mutex, key) __mutex_init((mutex), #mutex, (key))
89 extern void __mutex_init(struct mutex *lock, const char *name,
119 #define __mutex_init(mutex, name, key) \ macro
Dww_mutex.h30 #define ww_mutex_base_init(l,n,k) __mutex_init(l,n,k)
/linux-6.12.1/tools/perf/util/
Dmutex.c20 static void __mutex_init(struct mutex *mtx, bool pshared) in __mutex_init() function
39 __mutex_init(mtx, /*pshared=*/false); in mutex_init()
44 __mutex_init(mtx, /*pshared=*/true); in mutex_init_pshared()
/linux-6.12.1/rust/helpers/
Dmutex.c14 __mutex_init(mutex, name, key); in rust_helper___mutex_init()
/linux-6.12.1/rust/kernel/sync/lock/
Dmutex.rs104 unsafe { bindings::__mutex_init(ptr, name, key) } in init()
/linux-6.12.1/drivers/gpu/drm/i915/
Dintel_wakeref.c108 __mutex_init(&wf->mutex, "wakeref.mutex", &key->mutex); in __intel_wakeref_init()
Di915_active.c357 __mutex_init(&ref->mutex, "i915_active", mkey); in __i915_active_init()
/linux-6.12.1/kernel/locking/
Dmutex.c46 __mutex_init(struct mutex *lock, const char *name, struct lock_class_key *key) in __mutex_init() function
57 EXPORT_SYMBOL(__mutex_init);
Dlocktorture.c482 __mutex_init(&torture_nested_mutexes[i], __func__, in torture_mutex_init()
/linux-6.12.1/drivers/base/
Dclass.c205 __mutex_init(&cp->mutex, "subsys mutex", key); in class_register()
Dbus.c900 __mutex_init(&priv->mutex, "subsys mutex", key); in bus_register()
/linux-6.12.1/drivers/soundwire/
Dbus.c82 __mutex_init(&bus->msg_lock, "msg_lock", &bus->msg_lock_key); in sdw_bus_master_add()
85 __mutex_init(&bus->bus_lock, "bus_lock", &bus->bus_lock_key); in sdw_bus_master_add()
/linux-6.12.1/net/netfilter/
Dnfnetlink.c809 __mutex_init(&table[i].mutex, nfnl_lockdep_names[i], &nfnl_lockdep_keys[i]); in nfnetlink_init()
/linux-6.12.1/drivers/gpu/host1x/
Dbus.c723 __mutex_init(&client->lock, "host1x client lock", key); in __host1x_client_init()
/linux-6.12.1/net/netfilter/ipvs/
Dip_vs_est.c940 __mutex_init(&ipvs->est_mutex, "ipvs->est_mutex", &__ipvs_est_key); in ip_vs_estimator_net_init()
Dip_vs_sync.c2023 __mutex_init(&ipvs->sync_mutex, "ipvs->sync_mutex", &__ipvs_sync_key); in ip_vs_sync_net_init()
/linux-6.12.1/drivers/media/v4l2-core/
Dv4l2-subdev.c1555 __mutex_init(&state->_lock, lock_name, lock_key); in __v4l2_subdev_state_alloc()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dvmm.c1107 __mutex_init(&vmm->mutex.vmm, "&vmm->mutex.vmm", key ? key : &_key); in nvkm_vmm_ctor()
/linux-6.12.1/drivers/net/team/
Dteam_core.c1650 __mutex_init(&team->lock, "team->team_lock_key", &team->team_lock_key); in team_init()
/linux-6.12.1/mm/
Dhugetlb.c4515 __mutex_init(&h->resize_lock, "resize mutex", &h->resize_key); in hugetlb_add_hstate()