Home
last modified time | relevance | path

Searched refs:smr_serialized_load (Results 1 – 10 of 10) sorted by relevance

/xnu-8796.121.2/osfmk/kern/
H A Dsmr.h133 #define smr_serialized_load(ptr) \ macro
359 __container_of_safe(smr_serialized_load(&(head)->first), type_t, link)
369 __container_of_safe(smr_serialized_load(&(elem)->field.next), \
380 for (__auto_type __it = smr_serialized_load(&(head)->first); \
382 __it = smr_serialized_load(&__it->next))
395 for (__auto_type __it = smr_serialized_load(&(head)->first), \
398 ((__next_it = smr_serialized_load(&__it->next)), 1); \
413 smr_serialized_load(&__head->first), __smrq_lastp(__head)); \
490 ((it) = __container_of_safe(smr_serialized_load(__prev_##it), \
874 if (*lastp != prev || smr_serialized_load(prev)) { in __smrq_serialized_insert()
[all …]
H A Dsmr.c818 while ((link = smr_serialized_load(prev))) {
975 link = smr_serialized_load(&oldarray[i].first); in __smr_hash_grow_and_unlock()
981 while ((next = smr_serialized_load(&link->next)) && in __smr_hash_grow_and_unlock()
1036 link = smr_serialized_load(&oldarray[i].first); in __smr_hash_grow_and_unlock()
1055 link = smr_serialized_load(&link->next); in __smr_hash_grow_and_unlock()
1057 while ((next = smr_serialized_load(&link->next)) && in __smr_hash_grow_and_unlock()
1278 other = smr_serialized_load(&other->next); in __smr_shash_entered_get_or_insert()
1337 next = smr_serialized_load(prev); in __smr_shash_entered_mut_begin()
1355 next = smr_serialized_load(&link->next); in __smr_shash_entered_mut_erase()
1381 next = smr_serialized_load(&old_link->next); in __smr_shash_entered_mut_replace()
[all …]
H A Dbtlog.c353 uint32_t param = smr_serialized_load(&btl->btl_param); in __btlib_rehash_needed()
453 while ((ref = smr_serialized_load(prev)) != BTREF_NULL) { in __btlib_split_step()
484 ref = smr_serialized_load(&bthp[i]->bth_array[j]); in __btlib_validate()
509 param_old = smr_serialized_load(&btl->btl_param); in __btlib_rehash_and_lock()
701 prev = __btlib_head(btl, smr_serialized_load(&btl->btl_param), hash); in __btlib_insert()
702 while ((ref = smr_serialized_load(prev)) != BTREF_NULL) { in __btlib_insert()
747 smr_serialized_store(&bts->bts_next, smr_serialized_load(prev)); in __btlib_insert()
766 uint32_t param = smr_serialized_load(&btl->btl_param); in __btlib_remove_locked()
781 btref_t tmp = smr_serialized_load(prev); in __btlib_remove_locked()
792 smr_serialized_store(prev, smr_serialized_load(&bts->bts_next)); in __btlib_remove_locked()
H A Dsmr_hash.h966 it->link = smr_serialized_load(&it->link->next); in smr_hash_iter_serialized_erase()
1610 for (struct smrq_slink *link = smr_serialized_load(&head->first); in __smr_hash_serialized_find()
1611 link; link = smr_serialized_load(&link->next)) { in __smr_hash_serialized_find()
/xnu-8796.121.2/osfmk/ipc/
H A Dipc_space.h172 table = smr_serialized_load(&space->is_table); in is_active_table()
H A Dipc_space.c417 table = smr_serialized_load(&space->is_table); in ipc_space_terminate()
H A Dipc_entry.c776 assert(smr_serialized_load(&space->is_table) == otable); in ipc_entry_grow_table()
/xnu-8796.121.2/bsd/kern/
H A Dkern_proc.c2249 assert(pgrp == smr_serialized_load(&parent->p_pgrp)); in pgrp_add_member()
2561 pg = smr_serialized_load(&p->p_pgrp); in pgrp_leave_locked()
2576 pgrp = pg_ref(smr_serialized_load(&parent->p_pgrp)); in pgrp_enter_locked()
3917 oldpg = smr_serialized_load(&p->p_pgrp); in pgrp_replace()
3971 struct pgrp *pgrp = smr_serialized_load(&old_proc->p_pgrp); in session_replace_leader()
4032 pgrp = pg_ref(smr_serialized_load(&p->p_pgrp)); in proc_pgrp()
H A Dkern_resource.c968 rlim = smr_serialized_load(&p->p_limit)->pl_rlimit[which]; in dosetrlimit()
1498 plimit = smr_serialized_load(&p->p_limit); in proc_limitdrop()
1556 cur_plim = smr_serialized_load(&p->p_limit);
H A Dproc_info.c409 struct pgrp *pg = smr_serialized_load(&p->p_pgrp); in proc_listpids()