/drivers/gpu/drm/ |
H A D | drm_memory.c | 45 PAGE_ALIGN(size) / PAGE_SIZE; 75 phys_page_map = (agpmem->memory->pages + (offset - agpmem->bound) / PAGE_SIZE);
|
/drivers/gpu/drm/nouveau/ |
H A D | nvc0_fb.c | 74 pci_unmap_page(dev->pdev, priv->r100c10, PAGE_SIZE, 102 PAGE_SIZE, PCI_DMA_BIDIRECTIONAL);
|
/drivers/md/ |
H A D | dm-io.c | 183 *len = PAGE_SIZE - o; 235 *len = PAGE_SIZE - dp->context_u; 240 dp->context_ptr += PAGE_SIZE - dp->context_u; 248 dp->context_u = ((unsigned long) data) & (PAGE_SIZE - 1); 270 *len = PAGE_SIZE - dp->context_u; 275 dp->context_ptr += PAGE_SIZE - dp->context_u; 283 dp->context_u = ((unsigned long) data) & (PAGE_SIZE - 1); 314 dm_sector_div_up(remaining, (PAGE_SIZE >> SECTOR_SHIFT)));
|
H A D | dm-bio-record.h | 21 #if PAGE_SIZE < 65536
|
/drivers/net/ethernet/aeroflex/ |
H A D | greth.h | 67 #define GRETH_RX_BUF_PPGAE (PAGE_SIZE/GRETH_RX_BUF_SIZE) 68 #define GRETH_TX_BUF_PPGAE (PAGE_SIZE/GRETH_TX_BUF_SIZE)
|
/drivers/net/xen-netback/ |
H A D | common.h | 108 #define XEN_NETIF_TX_RING_SIZE __CONST_RING_SIZE(xen_netif_tx, PAGE_SIZE) 109 #define XEN_NETIF_RX_RING_SIZE __CONST_RING_SIZE(xen_netif_rx, PAGE_SIZE)
|
/drivers/scsi/lpfc/ |
H A D | lpfc_attr.c | 106 return snprintf(buf, PAGE_SIZE, LPFC_MODULE_DESC "\n"); 126 return snprintf(buf, PAGE_SIZE, "1\n"); 128 return snprintf(buf, PAGE_SIZE, "0\n"); 141 return snprintf(buf, PAGE_SIZE, "BlockGuard Enabled\n"); 143 return snprintf(buf, PAGE_SIZE, 146 return snprintf(buf, PAGE_SIZE, 158 return snprintf(buf, PAGE_SIZE, "%llu\n", 170 return snprintf(buf, PAGE_SIZE, "%llu\n", 182 return snprintf(buf, PAGE_SIZE, "%llu\n", 200 return snprintf(buf, PAGE_SIZE, " [all...] |
/drivers/scsi/pm8001/ |
H A D | pm8001_ctl.c | 61 return snprintf(buf, PAGE_SIZE, "%d\n", 81 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x.%02x\n", 102 return snprintf(buf, PAGE_SIZE, "%d\n", 120 return snprintf(buf, PAGE_SIZE, "%04d\n", 139 return snprintf(buf, PAGE_SIZE, "%04d\n", 197 return snprintf(buf, PAGE_SIZE, "0x%016llx\n", 217 return snprintf(buf, PAGE_SIZE, "%08xh\n", pm8001_ha->logging_level); 553 return snprintf(buf, PAGE_SIZE, "status=%x %s\n",
|
/drivers/staging/omapdrm/ |
H A D | omap_gem_helpers.c | 138 size / PAGE_SIZE, 0, 0); 147 size / PAGE_SIZE, 0);
|
/drivers/staging/zram/ |
H A D | zram_drv.c | 99 for (pos = 0; pos != PAGE_SIZE / sizeof(*page); pos++) { 161 if (zram->table[index].size <= PAGE_SIZE / 2) 203 return bvec->bv_len != PAGE_SIZE; 238 uncmem = kmalloc(PAGE_SIZE, GFP_KERNEL); 248 clen = PAGE_SIZE; 280 size_t clen = PAGE_SIZE; 286 memset(mem, 0, PAGE_SIZE); 294 memcpy(mem, cmem, PAGE_SIZE); 333 uncmem = kmalloc(PAGE_SIZE, GFP_KERNEL); 372 ret = lzo1x_1_compress(uncmem, PAGE_SIZE, sr [all...] |
H A D | zram_drv.h | 50 static const size_t max_zpage_size = PAGE_SIZE / 4 * 3;
|
/drivers/target/ |
H A D | target_core_rd.c | 119 rd_dev->sg_table_count, (unsigned long)page_count * PAGE_SIZE); 187 sg[j].length = PAGE_SIZE; 274 (unsigned long)(rd_dev->rd_page_count * PAGE_SIZE)); 365 src_len = PAGE_SIZE - rd_offset; 396 src_len = PAGE_SIZE; 427 req->rd_offset = do_div(tmp, PAGE_SIZE); 518 bl += sprintf(b + bl, " PAGES/PAGE_SIZE: %u*%lu" 520 PAGE_SIZE, rd_dev->sg_table_count); 537 unsigned long long blocks_long = ((rd_dev->rd_page_count * PAGE_SIZE) /
|
/drivers/usb/storage/ |
H A D | protocol.c | 162 unsigned int poff = (sg->offset + *offset) & (PAGE_SIZE-1); 182 PAGE_SIZE - poff);
|
/drivers/input/tablet/ |
H A D | aiptek.c | 1052 return snprintf(buf, PAGE_SIZE, "%dx%d\n", 1080 return snprintf(buf, PAGE_SIZE, "%s\n", 1117 return snprintf(buf, PAGE_SIZE, "%s\n", 1159 return snprintf(buf, PAGE_SIZE, "%s\n", 1190 return snprintf(buf, PAGE_SIZE, "disable\n"); 1192 return snprintf(buf, PAGE_SIZE, "%d\n", 1232 return snprintf(buf, PAGE_SIZE, "disable\n"); 1234 return snprintf(buf, PAGE_SIZE, "%d\n", 1273 return snprintf(buf, PAGE_SIZE, "%d\n", aiptek->curSetting.jitterDelay); 1302 return snprintf(buf, PAGE_SIZE, " [all...] |
/drivers/scsi/ |
H A D | vmw_pvscsi.c | 48 #define SGL_SIZE PAGE_SIZE 402 adapter->rings_state = pci_alloc_consistent(adapter->dev, PAGE_SIZE, 412 adapter->req_pages * PAGE_SIZE, 420 adapter->cmp_pages * PAGE_SIZE, 425 BUG_ON(!IS_ALIGNED(adapter->ringStatePA, PAGE_SIZE)); 426 BUG_ON(!IS_ALIGNED(adapter->reqRingPA, PAGE_SIZE)); 427 BUG_ON(!IS_ALIGNED(adapter->cmpRingPA, PAGE_SIZE)); 435 adapter->msg_pages * PAGE_SIZE, 439 BUG_ON(!IS_ALIGNED(adapter->msgRingPA, PAGE_SIZE)); 457 base += PAGE_SIZE; [all...] |
/drivers/usb/atm/ |
H A D | cxacru.c | 251 return snprintf(buf, PAGE_SIZE, "%u\n", value); 256 return snprintf(buf, PAGE_SIZE, "%d\n", value); 262 return snprintf(buf, PAGE_SIZE, "%u.%02u\n", 266 return snprintf(buf, PAGE_SIZE, "-%u.%02u\n", 275 return snprintf(buf, PAGE_SIZE, "%u\n", value); 276 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); 283 return snprintf(buf, PAGE_SIZE, "%u\n", value); 284 return snprintf(buf, PAGE_SIZE, "%s\n", str[value]); 294 return snprintf(buf, PAGE_SIZE, "%u\n", value); 295 return snprintf(buf, PAGE_SIZE, " [all...] |
/drivers/dma/ |
H A D | iop-adma.c | 1084 for (i = 0; i < PAGE_SIZE; i++) 1094 memset(page_address(dest), 0, PAGE_SIZE); local 1106 PAGE_SIZE, DMA_FROM_DEVICE); 1109 0, PAGE_SIZE, DMA_TO_DEVICE); 1111 IOP_ADMA_NUM_SRC_TEST, PAGE_SIZE, 1128 PAGE_SIZE, DMA_FROM_DEVICE); 1129 for (i = 0; i < (PAGE_SIZE / sizeof(u32)); i++) { 1139 PAGE_SIZE, DMA_TO_DEVICE); 1154 zero_sum_srcs[i], 0, PAGE_SIZE, 1157 IOP_ADMA_NUM_SRC_TEST + 1, PAGE_SIZE, 1296 memset(page_address(pq_hw[0]), 0 , PAGE_SIZE); local 1297 memset(page_address(pq_hw[1]), 0 , PAGE_SIZE); local [all...] |
/drivers/char/hw_random/ |
H A D | core.c | 227 ret = snprintf(buf, PAGE_SIZE, "%s\n", name); 246 strncat(buf, rng->name, PAGE_SIZE - ret - 1); 248 strncat(buf, " ", PAGE_SIZE - ret - 1); 251 strncat(buf, "\n", PAGE_SIZE - ret - 1);
|
/drivers/gpu/drm/udl/ |
H A D | udl_gem.c | 40 size = roundup(size, PAGE_SIZE); 133 page_count = obj->base.size / PAGE_SIZE; 161 int page_count = obj->base.size / PAGE_SIZE; 173 int page_count = obj->base.size / PAGE_SIZE;
|
/drivers/hwmon/ |
H A D | ltc4215.c | 145 return snprintf(buf, PAGE_SIZE, "%d\n", voltage); 154 return snprintf(buf, PAGE_SIZE, "%u\n", curr); 167 return snprintf(buf, PAGE_SIZE, "%u\n", power); 179 return snprintf(buf, PAGE_SIZE, "%u\n", (reg & mask) ? 1 : 0);
|
/drivers/infiniband/hw/mlx4/ |
H A D | doorbell.c | 66 PAGE_SIZE, 0, 0);
|
/drivers/macintosh/ |
H A D | macio_sysfs.c | 44 int len = of_device_get_modalias(dev, buf, PAGE_SIZE - 2);
|
/drivers/s390/char/ |
H A D | sclp_rw.h | 61 #define NR_EMPTY_MTO_PER_SCCB ((PAGE_SIZE - sizeof(struct sclp_buffer) - \
|
/drivers/scsi/ibmvscsi/ |
H A D | rpa_vscsi.c | 217 memset(queue->msgs, 0x00, PAGE_SIZE); 225 queue->msg_token, PAGE_SIZE); 256 queue->size = PAGE_SIZE / sizeof(*queue->msgs); 270 queue->msg_token, PAGE_SIZE);
|
/drivers/staging/ramster/ |
H A D | xvmalloc_int.h | 32 #define XV_MAX_ALLOC_SIZE (PAGE_SIZE - XV_ALIGN)
|