Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_conn.c70 #define CT_LOCKARRAY_MASK (CT_LOCKARRAY_SIZE-1) macro
83 read_lock(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_read_lock()
88 read_unlock(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_read_unlock()
93 write_lock(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_write_lock()
98 write_unlock(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_write_unlock()
103 read_lock_bh(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_read_lock_bh()
108 read_unlock_bh(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_read_unlock_bh()
113 write_lock_bh(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_write_lock_bh()
118 write_unlock_bh(&__ip_vs_conntbl_lock_array[key&CT_LOCKARRAY_MASK].l); in ct_write_unlock_bh()