Home
last modified time | relevance | path

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

/net/ceph/
Dmon_client.c178 monc->m_auth->front.iov_len = len; in __send_prepared_auth_request()
273 monc->m_auth->front.iov_base, in __open_session()
335 void *p = msg->front.iov_base; in __send_subscribe()
376 msg->front.iov_len = p - msg->front.iov_base; in __send_subscribe()
377 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in __send_subscribe()
386 struct ceph_mon_subscribe_ack *h = msg->front.iov_base; in handle_subscribe_ack()
388 if (msg->front.iov_len < sizeof(*h)) in handle_subscribe_ack()
549 p = msg->front.iov_base; in ceph_monc_handle_map()
550 end = p + msg->front.iov_len; in ceph_monc_handle_map()
742 struct ceph_mon_statfs_reply *reply = msg->front.iov_base; in handle_statfs_reply()
[all …]
Dmessenger_v1.c220 WARN_ON(m->front.iov_len != le32_to_cpu(m->hdr.front_len)); in prepare_write_message()
226 con_out_kvec_add(con, m->front.iov_len, m->front.iov_base); in prepare_write_message()
238 crc = crc32c(0, m->front.iov_base, m->front.iov_len); in prepare_write_message()
1117 m->front.iov_len = 0; /* haven't read it yet */ in read_partial_message()
1128 ret = read_partial_message_section(con, &m->front, front_len, in read_partial_message()
Dosd_client.c615 memset(msg->front.iov_base, 0, msg->front.iov_len); in __ceph_osdc_alloc_messages()
2083 void *p = msg->front.iov_base; in encode_request_partial()
2143 msg->front.iov_len = p - msg->front.iov_base; in encode_request_partial()
2144 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in encode_request_partial()
2159 void *p = msg->front.iov_base; in encode_request_finish()
2160 void *const partial_end = p + msg->front.iov_len; in encode_request_finish()
2210 p = msg->front.iov_base; in encode_request_finish()
2240 msg->front.iov_len = p - msg->front.iov_base; in encode_request_finish()
2241 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in encode_request_finish()
3601 void *p = msg->front.iov_base; in decode_MOSDOpReply()
[all …]
Dmessenger.c1688 BUG_ON(msg->front.iov_len != le32_to_cpu(msg->hdr.front_len)); in ceph_con_send()
1924 m->front.iov_base = ceph_kvmalloc(front_len, flags); in ceph_msg_new2()
1925 if (m->front.iov_base == NULL) { in ceph_msg_new2()
1931 m->front.iov_base = NULL; in ceph_msg_new2()
1933 m->front_alloc_len = m->front.iov_len = front_len; in ceph_msg_new2()
2094 kvfree(m->front.iov_base); in ceph_msg_free()
2150 msg->front.iov_base, msg->front.iov_len, true); in ceph_msg_dump()
Dmsgpool.c86 msg->front.iov_len = pool->front_len; in ceph_msgpool_put()
Dmessenger_v2.c661 con->in_front_crc = crc32c(-1, con->in_msg->front.iov_base, in verify_epilogue_crcs()
988 sg_cnt += calc_sg_cnt(msg->front.iov_base, in setup_message_sgs()
1004 init_sgs(&cur_sg, msg->front.iov_base, front_len(msg), in setup_message_sgs()
1517 con->v2.out_epil.front_crc = crc32c(-1, msg->front.iov_base, in prepare_message_plain()
1519 add_out_kvec(con, msg->front.iov_base, front_len(msg)); in prepare_message_plain()
2614 add_in_kvec(con, msg->front.iov_base, front_len(msg)); in __handle_control()
2615 msg->front.iov_len = front_len(msg); in __handle_control()
2621 msg->front.iov_len = 0; in __handle_control()
3145 crc32c(-1, con->out_msg->front.iov_base, sent); in prepare_zero_front()
/net/sched/
Dsch_qfq.c173 unsigned int front; /* Index of the front slot. */ member
899 i = (grp->front + slot) % QFQ_MAX_SLOTS; in qfq_slot_insert()
908 return hlist_entry(grp->slots[grp->front].first, in qfq_slot_head()
921 if (hlist_empty(&grp->slots[grp->front])) in qfq_front_slot_remove()
942 grp->front = (grp->front + i) % QFQ_MAX_SLOTS; in qfq_slot_scan()
963 grp->front = (grp->front - i) % QFQ_MAX_SLOTS; in qfq_slot_rotate()
1361 i = (grp->front + offset) % QFQ_MAX_SLOTS; in qfq_slot_remove()
1407 } else if (hlist_empty(&grp->slots[grp->front])) { in qfq_deactivate_agg()
/net/core/
Dfilter.c2776 int front, back; in BPF_CALL_4() local
2781 front = start - offset; in BPF_CALL_4()
2782 back = psge->length - front; in BPF_CALL_4()
2785 if (front) in BPF_CALL_4()
2786 memcpy(raw, from, front); in BPF_CALL_4()
2789 from += front; in BPF_CALL_4()
2790 to = raw + front + len; in BPF_CALL_4()