Searched refs:lens (Results 1 – 9 of 9) sorted by relevance
/net/rds/ |
D | connection.c | 536 struct rds_info_lengths *lens, in rds_conn_message_info_cmn() argument 593 lens->nr = total; in rds_conn_message_info_cmn() 595 lens->each = sizeof(struct rds6_info_message); in rds_conn_message_info_cmn() 597 lens->each = sizeof(struct rds_info_message); in rds_conn_message_info_cmn() 602 struct rds_info_lengths *lens, in rds_conn_message_info() argument 605 rds_conn_message_info_cmn(sock, len, iter, lens, want_send, false); in rds_conn_message_info() 611 struct rds_info_lengths *lens, in rds6_conn_message_info() argument 614 rds_conn_message_info_cmn(sock, len, iter, lens, want_send, true); in rds6_conn_message_info() 620 struct rds_info_lengths *lens) in rds_conn_message_info_send() argument 622 rds_conn_message_info(sock, len, iter, lens, 1); in rds_conn_message_info_send() [all …]
|
D | info.c | 162 struct rds_info_lengths lens; in rds_info_getsockopt() local 218 func(sock, len, &iter, &lens); in rds_info_getsockopt() 219 BUG_ON(lens.each == 0); in rds_info_getsockopt() 221 total = lens.nr * lens.each; in rds_info_getsockopt() 230 ret = lens.each; in rds_info_getsockopt()
|
D | af_rds.c | 731 struct rds_info_lengths *lens) in rds_sock_inc_info() argument 763 lens->nr = total; in rds_sock_inc_info() 764 lens->each = sizeof(struct rds_info_message); in rds_sock_inc_info() 770 struct rds_info_lengths *lens) in rds6_sock_inc_info() argument 795 lens->nr = total; in rds6_sock_inc_info() 796 lens->each = sizeof(struct rds6_info_message); in rds6_sock_inc_info() 802 struct rds_info_lengths *lens) in rds_sock_info() argument 834 lens->nr = cnt; in rds_sock_info() 835 lens->each = sizeof(struct rds_info_socket); in rds_sock_info() 843 struct rds_info_lengths *lens) in rds6_sock_info() argument [all …]
|
D | stats.c | 113 struct rds_info_lengths *lens) in rds_stats_info() argument 141 lens->each = sizeof(struct rds_info_counter); in rds_stats_info() 142 lens->nr = rds_trans_stats_info_copy(iter, avail) + in rds_stats_info()
|
D | tcp.c | 233 struct rds_info_lengths *lens) in rds_tcp_tc_info() argument 266 lens->nr = rds_tcp_tc_count; in rds_tcp_tc_info() 267 lens->each = sizeof(tsinfo); in rds_tcp_tc_info() 279 struct rds_info_lengths *lens) in rds6_tcp_tc_info() argument 309 lens->nr = rds6_tcp_tc_count; in rds6_tcp_tc_info() 310 lens->each = sizeof(tsinfo6); in rds6_tcp_tc_info()
|
D | ib.c | 371 struct rds_info_lengths *lens) in rds_ib_ic_info() argument 375 rds_for_each_conn_info(sock, len, iter, lens, in rds_ib_ic_info() 385 struct rds_info_lengths *lens) in rds6_ib_ic_info() argument 389 rds_for_each_conn_info(sock, len, iter, lens, in rds6_ib_ic_info()
|
D | info.h | 20 struct rds_info_lengths *lens);
|
D | rds.h | 784 struct rds_info_lengths *lens,
|
/net/ceph/ |
D | messenger_v2.c | 451 static int calc_segment_count(const int *lens, int len_cnt) in calc_segment_count() argument 456 if (lens[i]) in calc_segment_count() 464 const int *lens, int len_cnt) in init_frame_desc() argument 471 desc->fd_seg_cnt = calc_segment_count(lens, len_cnt); in init_frame_desc() 474 desc->fd_lens[i] = lens[i]; in init_frame_desc() 1615 int lens[] = { in prepare_message() local 1625 con->out_msg, lens[0], lens[1], lens[2], lens[3]); in prepare_message() 1634 init_frame_desc(&desc, FRAME_TAG_MESSAGE, lens, 4); in prepare_message()
|