/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | head.c | 35 list_for_each_entry(head, &disp->heads, head) { 64 list_add_tail(&head->head, &disp->heads);
|
H A D | base.c | 162 list_for_each_entry(head, &disp->heads, head) 207 while (!list_empty(&disp->heads)) { 208 head = list_first_entry(&disp->heads, typeof(*head), head); 239 INIT_LIST_HEAD(&disp->heads);
|
H A D | udisp.c | 110 list_for_each_entry(head, &disp->heads, head)
|
/linux-master/drivers/scsi/ |
H A D | scsicam.c | 50 * scsi_partsize - Parse cylinders/heads/sectors from PC partition table 167 * number of heads and maximizes the number of cylinders. This 168 * will support rather large disks before the number of heads 179 unsigned long heads, sectors, cylinders, temp; local 184 temp = cylinders * sectors; /* Compute divisor for heads */ 185 heads = capacity / temp; /* Compute value for number of heads */ 187 heads++; /* Else, increment number of heads */ 188 temp = cylinders * heads; /* Comput [all...] |
/linux-master/drivers/mtd/ |
H A D | ssfdc.c | 21 unsigned char heads; member in struct:ssfdcr_record 316 ssfdc->heads = 16; 318 get_chs(mtd->size, NULL, &ssfdc->heads, &ssfdc->sectors); 320 ((long)ssfdc->sectors * (long)ssfdc->heads)); 323 ssfdc->cylinders, ssfdc->heads , ssfdc->sectors, 324 (long)ssfdc->cylinders * (long)ssfdc->heads * 327 ssfdc->mbd.size = (long)ssfdc->heads * (long)ssfdc->cylinders * 411 ssfdc->cylinders, ssfdc->heads, ssfdc->sectors); 413 geo->heads = ssfdc->heads; [all...] |
H A D | sm_ftl.h | 54 int heads; member in struct:sm_ftl
|
H A D | nftlcore.c | 68 nftl->heads = 16; 70 temp = nftl->cylinders * nftl->heads; 75 nftl->heads = nftl->mbd.size / temp; 78 nftl->heads++; 79 temp = nftl->heads * nftl->sectors; 84 if (nftl->mbd.size != nftl->heads * nftl->cylinders * nftl->sectors) { 87 mbd.size == heads * cylinders * sectors 93 nftl->cylinders, nftl->heads , nftl->sectors, 94 (long)nftl->cylinders * (long)nftl->heads * 770 geo->heads [all...] |
H A D | inftlcore.c | 75 inftl->heads = 16; 77 temp = inftl->cylinders * inftl->heads; 82 inftl->heads = inftl->mbd.size / temp; 85 inftl->heads++; 86 temp = inftl->heads * inftl->sectors; 91 if (inftl->mbd.size != inftl->heads * inftl->cylinders * inftl->sectors) { 94 mbd.size == heads * cylinders * sectors 100 inftl->cylinders, inftl->heads , inftl->sectors, 101 (long)inftl->cylinders * (long)inftl->heads * 920 geo->heads [all...] |
/linux-master/include/uapi/linux/ |
H A D | adfs_fs.h | 14 __u8 heads; member in struct:adfs_discrecord
|
H A D | virtio_blk.h | 70 __u8 heads; member in struct:virtio_blk_config::virtio_blk_geometry
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | hwsq.c | 139 u32 heads, x, y, px = 0; local 142 heads = nvkm_rd32(device, 0x610050); 145 if (heads & (2 << (i << 3))) {
|
/linux-master/drivers/scsi/aic7xxx/ |
H A D | aiclib.h | 122 aic_sector_div(sector_t capacity, int heads, int sectors) argument 125 sector_div(capacity, (heads * sectors));
|
/linux-master/include/linux/mtd/ |
H A D | inftl.h | 34 unsigned char heads; member in struct:INFTLrecord
|
H A D | nftl.h | 26 unsigned char heads; member in struct:NFTLrecord
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | dcb.h | 22 uint8_t heads; member in struct:dcb_output
|
/linux-master/tools/perf/scripts/python/ |
H A D | compaction-times.py | 109 heads = {} variable in class:chead 121 head = cls.heads[pid] 126 head = cls.heads[pid] = chead(comm, pid, filtered) 133 head = cls.heads[pid] 142 head = cls.heads[pid] 152 for i in cls.heads: 153 yield cls.heads[i]
|
/linux-master/net/xdp/ |
H A D | xsk_buff_pool.c | 41 kvfree(pool->heads); 68 pool->heads = kvcalloc(umem->chunks, sizeof(*pool->heads), GFP_KERNEL); 69 if (!pool->heads) 101 xskb = &pool->heads[i]; 124 pool->heads[i].xdp.rxq = rxq; 133 struct xdp_buff_xsk *xskb = &pool->heads[i]; 414 struct xdp_buff_xsk *xskb = &pool->heads[i]; 530 xskb = &pool->heads[xp_aligned_extract_idx(pool, addr)]; 595 xskb = &pool->heads[xp_aligned_extract_id [all...] |
/linux-master/block/partitions/ |
H A D | acorn.c | 200 (dr->heads + (dr->lowsector & 0x40 ? 1 : 0)) * 252 unsigned long start_sect, nr_sects, sectscyl, heads; local 269 heads = dr->heads + ((dr->lowsector >> 6) & 1); 270 sectscyl = dr->secspertrack * heads;
|
/linux-master/tools/mm/ |
H A D | thpmaps | 229 def thp_parse(vma, kpageflags, ranges, indexes, vfns, pfns, anons, heads): 232 # True if page is anonymous, heads: True if page is head of a THP), return a 252 folios = indexes[index_next:index_end][heads[index_next:index_end]] 312 def cont_parse(vma, order, ranges, anons, heads): 315 # True if page is anonymous, heads: True if page is head of a THP), return a 334 folio_boundary = heads[index_next+1:index_next+nr_cont].any() 407 heads = flags & KPF_COMPOUND_HEAD != 0 413 heads = heads[thps] 418 thpstats = thp_parse(vma, kpageflags, ranges, indexes, vfns, pfns, anons, heads) [all...] |
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | wndw.h | 38 const u32 *format, u32 heads, 112 enum drm_plane_type type, int index, s32 oclass, u32 heads,
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | memx.c | 129 u32 heads, x, y, px = 0; local 133 heads = nvkm_rd32(device, 0x610050); 136 if (heads & (2 << (i << 3))) {
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_display.c | 60 heads, count), GFP_KERNEL); 110 &qdev->rom->client_monitors_config.heads[i]; 112 &qdev->client_monitors_config->heads[i]; 158 head = &qdev->client_monitors_config->heads[output->index]; 265 head = &qdev->client_monitors_config->heads[h]; 302 struct qxl_head *head = &qdev->monitors_config->heads[i]; 359 if (head.width == qdev->monitors_config->heads[i].width && 360 head.height == qdev->monitors_config->heads[i].height && 361 head.x == qdev->monitors_config->heads[i].x && 362 head.y == qdev->monitors_config->heads[ [all...] |
/linux-master/drivers/vhost/ |
H A D | net.c | 116 * For RX, number of batched heads 366 if (vq->heads[i].len == VHOST_DMA_FAILED_LEN) 368 if (VHOST_DMA_IS_DONE(vq->heads[i].len)) { 369 vq->heads[i].len = VHOST_DMA_CLEAR_LEN; 377 &vq->heads[nvq->done_idx], add); 394 vq->heads[ubuf->desc].len = success ? 460 vhost_add_used_and_signal_n(dev, vq, vq->heads, nvq->done_idx); 823 vq->heads[nvq->done_idx].id = cpu_to_vhost32(vq, head); 824 vq->heads[nvq->done_idx].len = 0; 882 vq->heads[nv 1018 get_rx_bufs(struct vhost_virtqueue *vq, struct vring_used_elem *heads, int datalen, unsigned *iovcount, struct vhost_log *log, unsigned *log_num, unsigned int quota) argument [all...] |
H A D | vhost.h | 129 struct vring_used_elem *heads; member in struct:vhost_virtqueue 214 int vhost_add_used_n(struct vhost_virtqueue *, struct vring_used_elem *heads, 219 struct vring_used_elem *heads, unsigned count);
|
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | outp.h | 27 u8 heads; member in struct:nvif_outp::__anon741
|