/drivers/video/ |
H A D | fb_sys_fops.c | 22 unsigned long total_size; local 27 total_size = info->screen_size; 29 if (total_size == 0) 30 total_size = info->fix.smem_len; 32 if (p >= total_size) 35 if (count >= total_size) 36 count = total_size; 38 if (count + p > total_size) 39 count = total_size - p; 62 unsigned long total_size; local [all...] |
H A D | hecubafb.c | 165 unsigned long total_size; local 170 total_size = info->fix.smem_len; 172 if (p > total_size) 175 if (count > total_size) { 177 count = total_size; 180 if (count + p > total_size) { 184 count = total_size - p;
|
H A D | metronomefb.c | 524 unsigned long total_size; local 529 total_size = info->fix.smem_len; 531 if (p > total_size) 534 if (count > total_size) { 536 count = total_size; 539 if (count + p > total_size) { 543 count = total_size - p;
|
H A D | broadsheetfb.c | 1012 unsigned long total_size; local 1017 total_size = info->fix.smem_len; 1019 if (p > total_size) 1022 if (count > total_size) { 1024 count = total_size; 1027 if (count + p > total_size) { 1031 count = total_size - p;
|
/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_mem.c | 137 u64 *total_size, 146 *total_size = 0; 153 *total_size += buffer_list[i].size; 165 if (*total_size > 0xFFFFFFFFULL) 198 (unsigned long long) mask, *shift, (unsigned long long) *total_size, 134 build_phys_page_list(struct ib_phys_buf *buffer_list, int num_phys_buf, u64 *iova_start, u64 *total_size, int *npages, int *shift, __be64 **page_list) argument
|
H A D | iwch_provider.c | 479 u64 total_size; local 509 &total_size, &npages, &shift, &page_list); 531 mhp->attr.len = (u32) total_size; 561 u64 total_size; local 588 &total_size, &npages, 607 mhp->attr.len = (u32) total_size;
|
/drivers/staging/usbip/ |
H A D | vhci_tx.c | 73 size_t total_size = 0; local 131 total_size += txsize; 134 return total_size; 163 size_t total_size = 0; local 199 total_size += txsize; 202 return total_size;
|
H A D | stub_tx.c | 163 size_t total_size = 0; local 277 total_size += txsize; 286 return total_size; 316 size_t total_size = 0; local 348 total_size += txsize; 360 return total_size;
|
/drivers/acpi/acpica/ |
H A D | rscalc.c | 191 acpi_rs_length total_size; local 207 total_size = acpi_gbl_aml_resource_sizes[resource->type]; 219 total_size--; 228 total_size--; 243 total_size = 249 total_size = (acpi_rs_length) 250 (total_size + resource->data.vendor.byte_length); 258 *size_needed = aml_size_needed + total_size; 269 total_size = (acpi_rs_length) 270 (total_size [all...] |
/drivers/infiniband/hw/mthca/ |
H A D | mthca_profile.c | 78 s64 total_size = 0; local 148 profile[i].start = mem_base + total_size; 149 total_size += profile[i].size; 151 if (total_size > mem_avail) { 154 (unsigned long long) total_size, 170 (int) (total_size >> 10)); 173 (int) (total_size >> 10), (int) (mem_avail >> 10), 174 (int) ((mem_avail - total_size) >> 10)); 284 return total_size;
|
H A D | mthca_mr.c | 430 u64 iova, u64 total_size, u32 access, struct mthca_mr *mr) 470 mpt_entry->length = cpu_to_be64(total_size); 521 int list_len, u64 iova, u64 total_size, 537 total_size, access, mr); 429 mthca_mr_alloc(struct mthca_dev *dev, u32 pd, int buffer_size_shift, u64 iova, u64 total_size, u32 access, struct mthca_mr *mr) argument 519 mthca_mr_alloc_phys(struct mthca_dev *dev, u32 pd, u64 *buffer_list, int buffer_size_shift, int list_len, u64 iova, u64 total_size, u32 access, struct mthca_mr *mr) argument
|
H A D | mthca_provider.c | 900 u64 total_size; local 908 total_size = 0; 915 total_size += buffer_list[i].size; 960 *iova_start, total_size,
|
/drivers/mtd/devices/ |
H A D | mtdram.c | 20 static unsigned long total_size = CONFIG_MTDRAM_TOTAL_SIZE; variable 22 #define MTDRAM_TOTAL_SIZE (total_size * 1024) 26 module_param(total_size, ulong, 0); 27 MODULE_PARM_DESC(total_size, "Total device size in KiB"); 147 if (!total_size)
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | profile.c | 83 u64 total_size = 0; local 141 profile[i].start = total_size; 142 total_size += profile[i].size; 145 if (total_size > dev_cap->max_icm_sz) { 148 (unsigned long long) total_size, 163 (int) (total_size >> 10)); 238 return total_size;
|
/drivers/char/ |
H A D | tile-srom.c | 67 u32 total_size; /* Size of this device */ member in struct:srom_dev 275 /* Provide our own implementation so we can use srom->total_size. */ 285 offset += srom->total_size; 292 if (offset < 0 || offset > srom->total_size) { 308 return sprintf(buf, "%u\n", srom->total_size); 326 __ATTR(total_size, S_IRUGO, total_show, NULL), 362 if (_srom_read(devhdl, &srom->total_size, 363 SROM_TOTAL_SIZE_OFF, sizeof(srom->total_size)) < 0)
|
/drivers/edac/ |
H A D | edac_device.c | 79 unsigned total_size; local 129 total_size = ((unsigned long)pvt) + sz_private; 132 dev_ctl = kzalloc(total_size, GFP_KERNEL);
|
/drivers/dma/ |
H A D | ste_dma40_ll.c | 267 int total_size = 0; local 281 total_size += sg_dma_len(current_sg); 296 return total_size; 416 int total_size = 0; local 430 total_size += sg_dma_len(current_sg); 439 return total_size;
|
/drivers/s390/block/ |
H A D | dasd_eer.c | 278 __u32 total_size; member in struct:dasd_eer_header 310 header.total_size = sizeof(header) + data_size + 4; /* "EOR" */ 320 dasd_eer_start_record(eerb, header.total_size); 353 header.total_size = sizeof(header) + data_size + 4; /* "EOR" */ 363 dasd_eer_start_record(eerb, header.total_size);
|
/drivers/infiniband/hw/cxgb4/ |
H A D | mem.c | 289 u64 *total_size, int *npages, 296 *total_size = 0; 303 *total_size += buffer_list[i].size; 315 if (*total_size > 0xFFFFFFFFULL) 348 (unsigned long long)mask, *shift, (unsigned long long)*total_size, 365 u64 total_size; local 395 &total_size, &npages, 413 mhp->attr.len = (u32) total_size; 426 u64 total_size; local 456 &total_size, 287 build_phys_page_list(struct ib_phys_buf *buffer_list, int num_phys_buf, u64 *iova_start, u64 *total_size, int *npages, int *shift, __be64 **page_list) argument [all...] |
/drivers/net/wireless/mwifiex/ |
H A D | wmm.c | 983 int count = 0, total_size = 0; local 987 total_size += skb->len; 988 if (total_size >= max_buf_size)
|
/drivers/staging/sm7xx/ |
H A D | smtcfb.c | 454 unsigned long total_size; local 462 total_size = info->screen_size; 464 if (total_size == 0) 465 total_size = info->fix.smem_len; 467 if (p >= total_size) 470 if (count >= total_size) 471 count = total_size; 473 if (count + p > total_size) 474 count = total_size - p; 534 unsigned long total_size; local [all...] |
/drivers/media/video/ivtv/ |
H A D | ivtvfb.c | 388 unsigned long total_size; local 398 total_size = info->screen_size; 400 if (total_size == 0) 401 total_size = info->fix.smem_len; 403 if (p > total_size) 406 if (count > total_size) { 408 count = total_size; 411 if (count + p > total_size) { 414 count = total_size - p;
|
/drivers/net/ethernet/amd/ |
H A D | ni65.c | 179 short total_size; member in struct:card 190 .total_size = 0x10, 201 .total_size = 0x18, 212 .total_size = 0x18, 349 release_region(dev->base_addr, cards[p->cardno].total_size); 428 if(!request_region(ioaddr, cards[i].total_size, cards[i].cardname)) 433 release_region(ioaddr, cards[i].total_size); 440 release_region(ioaddr, cards[i].total_size); 453 release_region(ioaddr, cards[i].total_size); 468 release_region(ioaddr, cards[p->cardno].total_size); [all...] |
/drivers/scsi/cxgbi/cxgb3i/ |
H A D | cxgb3i.c | 394 int total_size = 0; local 448 total_size += skb->truesize; 455 return total_size;
|
/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 455 int total_size = 0; local 513 total_size += skb->truesize; 522 return total_size;
|