Searched refs:req_max (Results 1 – 3 of 3) sorted by relevance
196 if (p->req_cnt >= p->req_max) { in mpp_service_next_req()198 p->req_max, p->req_max * 2); in mpp_service_next_req()199 p->reqs = mpp_realloc(p->reqs, MppReqV1, p->req_max * 2); in mpp_service_next_req()205 p->req_max *= 2; in mpp_service_next_req()302 p->req_max = MAX_REQ_NUM; in mpp_service_init()303 p->reqs = mpp_malloc(MppReqV1, p->req_max); in mpp_service_init()580 if (p->req_cnt <= 0 || p->req_cnt > p->req_max) { in mpp_service_cmd_send()
432 unsigned int mtu, req_max, reply_max, entry_sz; in nfp_bpf_ctrl_cmsg_cache_cnt() local436 req_max = (mtu - sizeof(struct cmsg_req_map_op)) / entry_sz; in nfp_bpf_ctrl_cmsg_cache_cnt()439 return min3(req_max, reply_max, NFP_BPF_MAP_CACHE_CNT); in nfp_bpf_ctrl_cmsg_cache_cnt()
46 RK_S32 req_max; member