Lines Matching refs:req_bytes
257 int req_bytes; in sys_get_prop_image_version() local
261 req_bytes = pkt->hdr.size - sizeof(*pkt); in sys_get_prop_image_version()
263 if (req_bytes < VER_STR_SZ || !pkt->data[0] || pkt->num_properties > 1) in sys_get_prop_image_version()
364 u32 req_bytes; in session_get_prop_profile_level() local
366 req_bytes = pkt->shdr.hdr.size - sizeof(*pkt); in session_get_prop_profile_level()
368 if (!req_bytes || req_bytes % sizeof(struct hfi_profile_level)) in session_get_prop_profile_level()
384 u32 req_bytes; in session_get_prop_buf_req() local
387 req_bytes = pkt->shdr.hdr.size - sizeof(*pkt); in session_get_prop_buf_req()
389 if (!req_bytes || req_bytes % sizeof(*buf_req) || !pkt->data[0]) in session_get_prop_buf_req()
397 while (req_bytes) { in session_get_prop_buf_req()
404 req_bytes -= sizeof(struct hfi_buffer_requirements); in session_get_prop_buf_req()