Home
last modified time | relevance | path

Searched refs:mem_needed (Results 1 – 3 of 3) sorted by relevance

/drivers/s390/block/
Dxpram.c256 unsigned long mem_needed; in xpram_setup_sizes() local
273 mem_needed = 0; in xpram_setup_sizes()
290 mem_needed += xpram_sizes[i]; in xpram_setup_sizes()
305 mem_needed); in xpram_setup_sizes()
309 if (mem_needed > pages * 4) { in xpram_setup_sizes()
321 mem_auto = ((pages - mem_needed / 4) / mem_auto_no) * 4; in xpram_setup_sizes()
/drivers/uwb/wlp/
Dmessages.c779 size_t mem_needed; in wlp_build_assoc_d2() local
790 mem_needed = sizeof(*_d2) in wlp_build_assoc_d2()
806 mem_needed += sizeof(struct wlp_attr_wss_info) in wlp_build_assoc_d2()
809 _skb = dev_alloc_skb(mem_needed); in wlp_build_assoc_d2()
/drivers/scsi/
Ddc395x.c4264 const unsigned mem_needed = (DC395x_MAX_SRB_CNT+1) in adapter_sg_tables_alloc() local
4266 int pages = (mem_needed+(PAGE_SIZE-1))/PAGE_SIZE; in adapter_sg_tables_alloc()