Home
last modified time | relevance | path

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

/Linux-v6.1/net/ceph/
Dmessenger.c85 static bool con_flag_valid(unsigned long con_flag) in con_flag_valid() argument
87 switch (con_flag) { in con_flag_valid()
99 void ceph_con_flag_clear(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_clear() argument
101 BUG_ON(!con_flag_valid(con_flag)); in ceph_con_flag_clear()
103 clear_bit(con_flag, &con->flags); in ceph_con_flag_clear()
106 void ceph_con_flag_set(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_set() argument
108 BUG_ON(!con_flag_valid(con_flag)); in ceph_con_flag_set()
110 set_bit(con_flag, &con->flags); in ceph_con_flag_set()
113 bool ceph_con_flag_test(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_test() argument
115 BUG_ON(!con_flag_valid(con_flag)); in ceph_con_flag_test()
[all …]
/Linux-v6.1/include/linux/ceph/
Dmessenger.h479 void ceph_con_flag_clear(struct ceph_connection *con, unsigned long con_flag);
480 void ceph_con_flag_set(struct ceph_connection *con, unsigned long con_flag);
481 bool ceph_con_flag_test(struct ceph_connection *con, unsigned long con_flag);
483 unsigned long con_flag);
485 unsigned long con_flag);