Lines Matching refs:BUG_ON

102 	BUG_ON(!con_flag_valid(con_flag));
109 BUG_ON(!con_flag_valid(con_flag));
116 BUG_ON(!con_flag_valid(con_flag));
124 BUG_ON(!con_flag_valid(con_flag));
132 BUG_ON(!con_flag_valid(con_flag));
213 BUG_ON(ceph_msg_cache);
223 BUG_ON(!ceph_msg_cache);
235 BUG_ON(!ceph_zero_page);
247 BUG_ON(ceph_zero_page);
267 BUG_ON(ceph_msgr_wq == NULL);
443 BUG_ON(con->sock);
735 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter));
756 BUG_ON(bytes > cursor->resid);
757 BUG_ON(bytes > bio_iter_len(it->bio, it->iter));
775 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter));
790 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter));
811 BUG_ON(bytes > cursor->resid);
812 BUG_ON(bytes > bvec_iter_len(bvecs, cursor->bvec_iter));
823 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter));
837 BUG_ON(data->type != CEPH_MSG_DATA_PAGES);
839 BUG_ON(!data->pages);
840 BUG_ON(!data->length);
846 BUG_ON(page_count > (int)USHRT_MAX);
848 BUG_ON(length > SIZE_MAX - cursor->page_offset);
857 BUG_ON(data->type != CEPH_MSG_DATA_PAGES);
859 BUG_ON(cursor->page_index >= cursor->page_count);
860 BUG_ON(cursor->page_offset >= PAGE_SIZE);
870 BUG_ON(cursor->data->type != CEPH_MSG_DATA_PAGES);
872 BUG_ON(cursor->page_offset + bytes > PAGE_SIZE);
886 BUG_ON(cursor->page_index >= cursor->page_count);
903 BUG_ON(data->type != CEPH_MSG_DATA_PAGELIST);
906 BUG_ON(!pagelist);
911 BUG_ON(list_empty(&pagelist->head));
926 BUG_ON(data->type != CEPH_MSG_DATA_PAGELIST);
929 BUG_ON(!pagelist);
931 BUG_ON(!cursor->page);
932 BUG_ON(cursor->offset + cursor->resid != pagelist->length);
946 BUG_ON(data->type != CEPH_MSG_DATA_PAGELIST);
949 BUG_ON(!pagelist);
951 BUG_ON(cursor->offset + cursor->resid != pagelist->length);
952 BUG_ON((cursor->offset & ~PAGE_MASK) + bytes > PAGE_SIZE);
967 BUG_ON(list_is_last(&cursor->page->lru, &pagelist->head));
994 BUG_ON(len < 0);
1015 BUG_ON(bytes > cursor->resid);
1069 BUG_ON(!length);
1070 BUG_ON(length > msg->data_length);
1071 BUG_ON(!msg->num_data_items);
1114 BUG_ON(!page);
1115 BUG_ON(*page_offset + *length > PAGE_SIZE);
1116 BUG_ON(!*length);
1117 BUG_ON(*length > cursor->resid);
1130 BUG_ON(bytes > cursor->resid);
1170 BUG_ON(kaddr == NULL);
1405 BUG_ON(con->in_msg->con != con);
1510 BUG_ON(ret == -ENOENT);
1565 BUG_ON(con->sock);
1570 BUG_ON(con->sock);
1710 BUG_ON(msg->con != con);
1734 BUG_ON(msg->front.iov_len != le32_to_cpu(msg->hdr.front_len));
1748 BUG_ON(!list_empty(&msg->list_head));
1869 BUG_ON(msg->num_data_items >= msg->max_data_items);
1888 BUG_ON(!pages);
1889 BUG_ON(!length);
1907 BUG_ON(!pagelist);
1908 BUG_ON(!pagelist->length);
2041 BUG_ON(!middle_len);
2042 BUG_ON(msg->middle);
2072 BUG_ON(con->in_msg != NULL);
2073 BUG_ON(!con->ops->alloc_msg);
2084 BUG_ON(*skip);
2116 BUG_ON(list_empty(&con->out_queue));