Searched refs:PAGE_SIZE (Results 1 - 25 of 876) sorted by relevance

1234567891011>>

/drivers/scsi/
H A Dosst_options.h51 #define OSST_MAX_SG (((OSST_BUFFER_BLOCKS*1024) / PAGE_SIZE) + 1)
55 #define OSST_FIRST_SG ((OSST_BUFFER_BLOCKS*1024) / PAGE_SIZE)
/drivers/gpu/drm/
H A Ddrm_buffer.c46 int nr_pages = size / PAGE_SIZE + 1;
66 kmalloc(min(PAGE_SIZE, size - idx * PAGE_SIZE),
105 int nr_pages = size / PAGE_SIZE + 1;
118 user_data + idx * PAGE_SIZE,
119 min(PAGE_SIZE, size - idx * PAGE_SIZE))) {
140 int nr_pages = buf->size / PAGE_SIZE + 1;
169 if (idx + objsize <= PAGE_SIZE) {
173 int beginsz = PAGE_SIZE
[all...]
H A Ddrm_scatter.c90 pages = (request->size + PAGE_SIZE - 1) / PAGE_SIZE;
126 i += PAGE_SIZE, j++) {
149 j < PAGE_SIZE / sizeof(unsigned long);
154 (PAGE_SIZE * i));
156 j < PAGE_SIZE / sizeof(unsigned long);
167 j < PAGE_SIZE / sizeof(unsigned long);
H A Ddrm_cache.c45 for (i = 0; i < PAGE_SIZE; i += boot_cpu_data.x86_clflush_size)
92 (unsigned long)page_virtual + PAGE_SIZE);
H A Dati_pcigart.c43 PAGE_SIZE);
80 PAGE_SIZE, PCI_DMA_BIDIRECTIONAL);
141 max_real_pages = max_ati_pages / (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE);
155 0, PAGE_SIZE, PCI_DMA_BIDIRECTIONAL);
165 for (j = 0; j < (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE); j++) {
/drivers/scsi/fnic/
H A Dfnic_attrs.c29 return snprintf(buf, PAGE_SIZE, "%s\n", fnic_state_str[fnic->state]);
35 return snprintf(buf, PAGE_SIZE, "%s\n", DRV_VERSION);
43 return snprintf(buf, PAGE_SIZE, "%s\n", (lp->link_up)
/drivers/scsi/qla4xxx/
H A Dql4_attr.c20 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d (%x)\n",
25 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n",
36 return snprintf(buf, PAGE_SIZE, "%s\n", ha->serial_number);
44 return snprintf(buf, PAGE_SIZE, "%d.%02d\n", ha->iscsi_major,
53 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n",
63 return snprintf(buf, PAGE_SIZE, "0x%08X\n", ha->board_id);
73 return snprintf(buf, PAGE_SIZE, "0x%08X%8X\n", ha->firmware_state,
86 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_cnt);
98 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_num);
110 return snprintf(buf, PAGE_SIZE, "
[all...]
/drivers/w1/slaves/
H A Dw1_ds2423.c64 c = PAGE_SIZE;
84 c -= snprintf(out_buf + PAGE_SIZE - c,
93 c -= snprintf(out_buf + PAGE_SIZE - c,
116 c -= snprintf(out_buf + PAGE_SIZE - c,
119 c -= snprintf(out_buf + PAGE_SIZE - c,
125 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error");
128 return PAGE_SIZE - c;
/drivers/staging/media/easycap/
H A Deasycap_testcard.c123 if ((FIELD_BUFFER_SIZE/PAGE_SIZE) <= m) {
127 if (PAGE_SIZE < n) {
137 much = PAGE_SIZE - n;
147 if (PAGE_SIZE == n) {
/drivers/target/iscsi/
H A Discsi_target_stat.c75 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_index);
82 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION);
89 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION);
99 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_num_tpg_nps);
106 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES);
116 return snprintf(page, PAGE_SIZE, "%u\n", tiqn->tiqn_nsessions);
134 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count);
145 return snprintf(page, PAGE_SIZE, "%u\n",
157 return snprintf(page, PAGE_SIZE, "%s\n",
166 return snprintf(page, PAGE_SIZE, "
[all...]
/drivers/cpufreq/
H A Dcpufreq_stats.c105 len += snprintf(buf + len, PAGE_SIZE - len, " From : To\n");
106 len += snprintf(buf + len, PAGE_SIZE - len, " : ");
108 if (len >= PAGE_SIZE)
110 len += snprintf(buf + len, PAGE_SIZE - len, "%9u ",
113 if (len >= PAGE_SIZE)
114 return PAGE_SIZE;
116 len += snprintf(buf + len, PAGE_SIZE - len, "\n");
119 if (len >= PAGE_SIZE)
122 len += snprintf(buf + len, PAGE_SIZE - len, "%9u: ",
126 if (len >= PAGE_SIZE)
[all...]
/drivers/char/
H A Duv_mmtimer.c102 PAGE_SIZE) / 8;
151 if (vma->vm_end - vma->vm_start != PAGE_SIZE)
157 if (PAGE_SIZE > (1 << 16))
163 uv_mmtimer_addr &= ~(PAGE_SIZE - 1);
167 PAGE_SIZE, vma->vm_page_prot)) {
/drivers/target/
H A Dtarget_core_stat.c92 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index);
106 return snprintf(page, PAGE_SIZE, "%u\n", dev->dev_index);
120 return snprintf(page, PAGE_SIZE, "Target\n");
134 return snprintf(page, PAGE_SIZE, "%u\n", dev->dev_port_count);
188 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index);
202 return snprintf(page, PAGE_SIZE, "%u\n", dev->dev_index);
216 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT);
250 return snprintf(page, PAGE_SIZE, "%s\n", status);
278 return snprintf(page, PAGE_SIZE, "%u\n", non_accessible_lus);
292 return snprintf(page, PAGE_SIZE, "
[all...]
/drivers/net/wireless/ath/ath5k/
H A Dsysfs.c14 return snprintf(buf, PAGE_SIZE, "%d\n", get); \
41 return snprintf(buf, PAGE_SIZE, "%d\n", get); \
64 return snprintf(buf, PAGE_SIZE, "%d\n", ATH5K_ANI_MAX_NOISE_IMM_LVL);
73 return snprintf(buf, PAGE_SIZE, "%d\n", ATH5K_ANI_MAX_FIRSTEP_LVL);
/drivers/infiniband/hw/mthca/
H A Dmthca_allocator.c116 #define MTHCA_ARRAY_MASK (PAGE_SIZE / sizeof (void *) - 1)
162 int npage = (nent * sizeof (void *) + PAGE_SIZE - 1) / PAGE_SIZE;
181 for (i = 0; i < (nent * sizeof (void *) + PAGE_SIZE - 1) / PAGE_SIZE; ++i)
231 npages = (size + PAGE_SIZE - 1) / PAGE_SIZE;
248 dma_alloc_coherent(&dev->pdev->dev, PAGE_SIZE,
294 for (i = 0; i < (size + PAGE_SIZE - 1) / PAGE_SIZE;
[all...]
/drivers/net/ethernet/xscale/ixp2000/
H A Dixpdev_priv.h16 #define RX_BUF_COUNT ((3 * PAGE_SIZE) / (4 * sizeof(struct ixpdev_rx_desc)))
18 #define TX_BUF_COUNT ((3 * PAGE_SIZE) / (4 * sizeof(struct ixpdev_tx_desc)))
/drivers/acpi/
H A Dbgrt.c30 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->version);
37 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->status);
44 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->image_type);
51 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->image_offset_x);
58 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab->image_offset_y);
/drivers/net/wireless/b43legacy/
H A Dsysfs.c89 count = snprintf(buf, PAGE_SIZE, "0 (No Interference"
93 count = snprintf(buf, PAGE_SIZE, "1 (Non-WLAN Interference"
97 count = snprintf(buf, PAGE_SIZE, "2 (WLAN Interference"
170 count = snprintf(buf, PAGE_SIZE, "1 (Short Preamble"
173 count = snprintf(buf, PAGE_SIZE, "0 (Short Preamble"
/drivers/s390/char/
H A Dzcore.c78 static char buf[PAGE_SIZE] __attribute__((__aligned__(PAGE_SIZE)));
85 if ((src % PAGE_SIZE) != 0) {
86 blk_num = src / PAGE_SIZE + 2;
91 offs = min((PAGE_SIZE - (src % PAGE_SIZE)), count);
94 buf + (src % PAGE_SIZE), offs))
97 memcpy(dest, buf + (src % PAGE_SIZE), offs);
103 for (; (offs + PAGE_SIZE) <= count; offs += PAGE_SIZE) {
[all...]
/drivers/infiniband/hw/ipath/
H A Dipath_sysfs.c79 return scnprintf(buf, PAGE_SIZE, "%s", ib_ipath_version);
84 return scnprintf(buf, PAGE_SIZE, "%d\n",
100 ret = scnprintf(buf, PAGE_SIZE, "0x%llx\n",
139 if (any && strlcat(buf, " ", PAGE_SIZE) >=
140 PAGE_SIZE)
144 PAGE_SIZE) >= PAGE_SIZE)
151 strlcat(buf, "\n", PAGE_SIZE);
165 return scnprintf(buf, PAGE_SIZE, "%s", dd->ipath_boardversion);
174 return scnprintf(buf, PAGE_SIZE, "
[all...]
/drivers/scsi/arcmsr/
H A Darcmsr_attr.c261 return snprintf(buf, PAGE_SIZE,
273 return snprintf(buf, PAGE_SIZE,
285 return snprintf(buf, PAGE_SIZE,
297 return snprintf(buf, PAGE_SIZE,
309 return snprintf(buf, PAGE_SIZE,
322 return snprintf(buf, PAGE_SIZE,
335 return snprintf(buf, PAGE_SIZE,
348 return snprintf(buf, PAGE_SIZE,
361 return snprintf(buf, PAGE_SIZE,
374 return snprintf(buf, PAGE_SIZE,
[all...]
/drivers/s390/block/
H A Ddasd_devmap.c288 kmem_cache_create("dasd_page_cache", PAGE_SIZE,
289 PAGE_SIZE, SLAB_CACHE_DMA,
725 return snprintf(buf, PAGE_SIZE, ff_flag ? "1\n" : "0\n");
770 return snprintf(buf, PAGE_SIZE, ro_flag ? "1\n" : "0\n");
822 return snprintf(buf, PAGE_SIZE, erplog ? "1\n" : "0\n");
969 len = snprintf(buf, PAGE_SIZE, "%s\n",
975 len = snprintf(buf, PAGE_SIZE, "none\n");
992 len = snprintf(buf, PAGE_SIZE, "new\n");
995 len = snprintf(buf, PAGE_SIZE, "detected\n");
998 len = snprintf(buf, PAGE_SIZE, "basi
[all...]
/drivers/staging/ft1000/ft1000-pcmcia/
H A Dft1000_proc.c33 len += snprintf(page+len, PAGE_SIZE - len, args)
36 len += snprintf(page+len, PAGE_SIZE - len, message); \
39 len += snprintf(page+len, PAGE_SIZE - len, "%02x:", var[i]); \
41 len += snprintf(page+len, PAGE_SIZE - len, "%02x\n", var[i])
44 len += snprintf(page+len, PAGE_SIZE - len, message); \
47 len += snprintf(page+len, PAGE_SIZE - len, "%d.", var[i]); \
49 len += snprintf(page+len, PAGE_SIZE - len, "%d\n", var[i])
/drivers/staging/ft1000/ft1000-usb/
H A Dft1000_proc.c34 len += snprintf(page+len, PAGE_SIZE - len, args)
37 len += snprintf(page+len, PAGE_SIZE - len, message); \
39 len += snprintf(page+len, PAGE_SIZE - len, "%02x:", var[i]); \
41 len += snprintf(page+len, PAGE_SIZE - len, "%02x\n", var[i])
44 len += snprintf(page+len, PAGE_SIZE - len, message); \
46 len += snprintf(page+len, PAGE_SIZE - len, "%d.", var[i]); \
48 len += snprintf(page+len, PAGE_SIZE - len, "%d\n", var[i])
/drivers/infiniband/hw/amso1100/
H A Dc2_alloc.c46 new_head = dma_alloc_coherent(&c2dev->pcidev->dev, PAGE_SIZE,
59 i < (PAGE_SIZE - sizeof(struct sp_chunk) -
83 dma_free_coherent(&c2dev->pcidev->dev, PAGE_SIZE, root,

Completed in 669 milliseconds

1234567891011>>