Home
last modified time | relevance | path

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

/net/ceph/
Dmessenger.c86 static bool con_flag_valid(unsigned long con_flag) in con_flag_valid() argument
88 switch (con_flag) { in con_flag_valid()
100 void ceph_con_flag_clear(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_clear() argument
102 BUG_ON(!con_flag_valid(con_flag)); in ceph_con_flag_clear()
104 clear_bit(con_flag, &con->flags); in ceph_con_flag_clear()
107 void ceph_con_flag_set(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_set() argument
109 BUG_ON(!con_flag_valid(con_flag)); in ceph_con_flag_set()
111 set_bit(con_flag, &con->flags); in ceph_con_flag_set()
114 bool ceph_con_flag_test(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_test() argument
116 BUG_ON(!con_flag_valid(con_flag)); in ceph_con_flag_test()
[all …]