Searched refs:reqlen (Results 1 – 4 of 4) sorted by relevance
| /f-stack/app/redis-5.0.5/src/ |
| H A D | zipmap.c | 213 unsigned int freelen, reqlen = zipmapRequiredLength(klen,vlen); in zipmapSet() local 217 freelen = reqlen; in zipmapSet() 222 zm = zipmapResize(zm, zmlen+reqlen); in zipmapSet() 224 zmlen = zmlen+reqlen; in zipmapSet() 233 if (freelen < reqlen) { in zipmapSet() 238 zm = zipmapResize(zm, zmlen-freelen+reqlen); in zipmapSet() 243 memmove(p+reqlen, p+freelen, zmlen-(offset+freelen+1)); in zipmapSet() 244 zmlen = zmlen-freelen+reqlen; in zipmapSet() 245 freelen = reqlen; in zipmapSet() 253 empty = freelen-reqlen; in zipmapSet() [all …]
|
| H A D | ziplist.c | 744 size_t curlen = intrev32ifbe(ZIPLIST_BYTES(zl)), reqlen; in __ziplistInsert() local 767 reqlen = zipIntSize(encoding); in __ziplistInsert() 771 reqlen = slen; in __ziplistInsert() 775 reqlen += zipStorePrevEntryLength(NULL,prevlen); in __ziplistInsert() 776 reqlen += zipStoreEntryEncoding(NULL,encoding,slen); in __ziplistInsert() 783 if (nextdiff == -4 && reqlen < 4) { in __ziplistInsert() 790 zl = ziplistResize(zl,curlen+reqlen+nextdiff); in __ziplistInsert() 800 zipStorePrevEntryLengthLarge(p+reqlen,reqlen); in __ziplistInsert() 802 zipStorePrevEntryLength(p+reqlen,reqlen); in __ziplistInsert() 811 zipEntry(p+reqlen, &tail); in __ziplistInsert() [all …]
|
| /f-stack/dpdk/drivers/net/netvsc/ |
| H A D | hn_rndis.c | 268 if (unlikely(reqlen > PAGE_SIZE)) { in hn_nvs_send_rndis_ctrl() 270 reqlen); in hn_nvs_send_rndis_ctrl() 276 sg.len = reqlen; in hn_nvs_send_rndis_ctrl() 278 if (sg.ofs + reqlen > PAGE_SIZE) { in hn_nvs_send_rndis_ctrl() 471 uint32_t reqlen, comp_len; in hn_rndis_query() local 476 reqlen = sizeof(*req) + idlen; in hn_rndis_query() 477 req = hn_rndis_alloc(reqlen); in hn_rndis_query() 492 req->len = reqlen; in hn_rndis_query() 734 uint32_t reqlen, comp_len; in hn_rndis_set() local 738 reqlen = sizeof(*req) + dlen; in hn_rndis_set() [all …]
|
| H A D | hn_nvs.c | 48 void *req, uint32_t reqlen) in hn_nvs_req_send() argument 52 req, reqlen, 0, in hn_nvs_req_send() 58 void *req, uint32_t reqlen, in __hn_nvs_execute() argument 71 req, reqlen, 0, in __hn_nvs_execute() 133 void *req, uint32_t reqlen, in hn_nvs_execute() argument 141 ret = __hn_nvs_execute(hv, req, reqlen, resp, resplen, type); in hn_nvs_execute()
|