Home
last modified time | relevance | path

Searched refs:pg_vec_lock (Results 1 – 2 of 2) sorted by relevance

/linux/net/packet/
H A Ddiag.c102 mutex_lock(&po->pg_vec_lock); in pdiag_put_rings_cfg()
108 mutex_unlock(&po->pg_vec_lock); in pdiag_put_rings_cfg()
H A Daf_packet.c2790 mutex_lock(&po->pg_vec_lock); in tpacket_snd()
2793 * we need to confirm it under protection of pg_vec_lock. in tpacket_snd()
2963 mutex_unlock(&po->pg_vec_lock); in tpacket_snd()
3156 /* Reading tx_ring.pg_vec without holding pg_vec_lock is racy. in packet_sendmsg()
3429 mutex_init(&po->pg_vec_lock); in packet_create()
4585 mutex_lock(&po->pg_vec_lock); in packet_set_ring()
4608 mutex_unlock(&po->pg_vec_lock); in packet_set_ring()
4645 mutex_lock(&po->pg_vec_lock); in packet_mmap()
4689 mutex_unlock(&po->pg_vec_lock); in packet_mmap()