Searched refs:PAGE_SIZE (Results 51 - 75 of 876) sorted by relevance

1234567891011>>

/drivers/gpu/drm/
H A Ddrm_memory.c45 PAGE_ALIGN(size) / PAGE_SIZE;
75 phys_page_map = (agpmem->memory->pages + (offset - agpmem->bound) / PAGE_SIZE);
/drivers/gpu/drm/nouveau/
H A Dnvc0_fb.c74 pci_unmap_page(dev->pdev, priv->r100c10, PAGE_SIZE,
102 PAGE_SIZE, PCI_DMA_BIDIRECTIONAL);
/drivers/md/
H A Ddm-io.c183 *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 Ddm-bio-record.h21 #if PAGE_SIZE < 65536
/drivers/net/ethernet/aeroflex/
H A Dgreth.h67 #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 Dcommon.h108 #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 Dlpfc_attr.c106 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 Dpm8001_ctl.c61 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 Domap_gem_helpers.c138 size / PAGE_SIZE, 0, 0);
147 size / PAGE_SIZE, 0);
/drivers/staging/zram/
H A Dzram_drv.c99 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 Dzram_drv.h50 static const size_t max_zpage_size = PAGE_SIZE / 4 * 3;
/drivers/target/
H A Dtarget_core_rd.c119 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 Dprotocol.c162 unsigned int poff = (sg->offset + *offset) & (PAGE_SIZE-1);
182 PAGE_SIZE - poff);
/drivers/input/tablet/
H A Daiptek.c1052 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 Dvmw_pvscsi.c48 #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 Dcxacru.c251 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 Diop-adma.c1084 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 Dcore.c227 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 Dudl_gem.c40 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 Dltc4215.c145 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 Ddoorbell.c66 PAGE_SIZE, 0, 0);
/drivers/macintosh/
H A Dmacio_sysfs.c44 int len = of_device_get_modalias(dev, buf, PAGE_SIZE - 2);
/drivers/s390/char/
H A Dsclp_rw.h61 #define NR_EMPTY_MTO_PER_SCCB ((PAGE_SIZE - sizeof(struct sclp_buffer) - \
/drivers/scsi/ibmvscsi/
H A Drpa_vscsi.c217 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 Dxvmalloc_int.h32 #define XV_MAX_ALLOC_SIZE (PAGE_SIZE - XV_ALIGN)

Completed in 1908 milliseconds

1234567891011>>