Home
last modified time | relevance | path

Searched refs:new_size (Results 1 – 9 of 9) sorted by relevance

/drivers/staging/comedi/
Ddrivers.c56 unsigned long new_size);
417 unsigned long new_size) in comedi_buf_alloc() argument
422 new_size = (new_size + PAGE_SIZE - 1) & PAGE_MASK; in comedi_buf_alloc()
425 if (async->prealloc_buf && async->prealloc_bufsz == new_size) { in comedi_buf_alloc()
458 if (new_size) { in comedi_buf_alloc()
460 unsigned n_pages = new_size >> PAGE_SHIFT; in comedi_buf_alloc()
533 async->prealloc_bufsz = new_size; in comedi_buf_alloc()
Dcomedidev.h187 unsigned long new_size);
361 new_size);
/drivers/acpi/acpica/
Dtbxface.c175 acpi_size new_size; in acpi_reallocate_root_table() local
187 new_size = ((acpi_size) acpi_gbl_root_table_list.count + in acpi_reallocate_root_table()
193 tables = ACPI_ALLOCATE_ZEROED(new_size); in acpi_reallocate_root_table()
198 ACPI_MEMCPY(tables, acpi_gbl_root_table_list.tables, new_size); in acpi_reallocate_root_table()
/drivers/uwb/
Dhwa-rc.c119 size_t *new_size) in hwarc_filter_evt_beacon_WUSB_0100() argument
154 *new_size = sizeof(*newbe) + ielength; in hwarc_filter_evt_beacon_WUSB_0100()
177 size_t *new_size) in hwarc_filter_evt_drp_avail_WUSB_0100() argument
221 *new_size = sizeof(*newda); in hwarc_filter_evt_drp_avail_WUSB_0100()
252 size_t *new_size) in hwarc_filter_evt_drp_WUSB_0100() argument
285 *new_size = sizeof(*newdrpev) + ielength; in hwarc_filter_evt_drp_WUSB_0100()
/drivers/base/
Dfirmware_class.c205 int new_size = fw_priv->alloc_size; in fw_realloc_buffer() local
210 new_size = ALIGN(min_size, PAGE_SIZE); in fw_realloc_buffer()
211 new_data = vmalloc(new_size); in fw_realloc_buffer()
218 fw_priv->alloc_size = new_size; in fw_realloc_buffer()
/drivers/md/
Ddm-table.c598 unsigned new_size; in realloc_argv() local
600 new_size = *array_size ? *array_size * 2 : 64; in realloc_argv()
601 argv = kmalloc(new_size * sizeof(*argv), GFP_KERNEL); in realloc_argv()
604 *array_size = new_size; in realloc_argv()
/drivers/infiniband/hw/ehca/
Dehca_mrmw.c420 u64 new_size; in ehca_rereg_phys_mr() local
496 new_size = e_mr->size; in ehca_rereg_phys_mr()
507 &new_size); in ehca_rereg_phys_mr()
510 if ((new_size == 0) || in ehca_rereg_phys_mr()
511 (((u64)iova_start + new_size) < (u64)iova_start)) { in ehca_rereg_phys_mr()
513 "iova_start=%p", new_size, iova_start); in ehca_rereg_phys_mr()
518 new_size, PAGE_SIZE); in ehca_rereg_phys_mr()
520 new_size, hw_pgsize); in ehca_rereg_phys_mr()
536 ret = ehca_rereg_mr(shca, e_mr, new_start, new_size, new_acl, in ehca_rereg_phys_mr()
/drivers/mtd/nand/
Dnandsim.c2300 uint64_t new_size = (uint64_t)nsmtd->erasesize << overridesize; in ns_init_module() local
2301 if (new_size >> overridesize != nsmtd->erasesize) { in ns_init_module()
2306 nsmtd->size = new_size; in ns_init_module()
2307 chip->chipsize = new_size; in ns_init_module()
/drivers/scsi/
Dst.c3700 static int enlarge_buffer(struct st_buffer * STbuffer, int new_size, int need_dma) in enlarge_buffer() argument
3705 if (new_size <= STbuffer->buffer_size) in enlarge_buffer()
3728 order < ST_MAX_ORDER && b_size < new_size; in enlarge_buffer()
3732 if (max_segs * (PAGE_SIZE << order) < new_size) { in enlarge_buffer()
3736 return enlarge_buffer(STbuffer, new_size, need_dma); in enlarge_buffer()
3740 segs < max_segs && got < new_size;) { in enlarge_buffer()