/linux-6.12.1/drivers/mtd/ |
D | ssfdc.c | 21 unsigned char heads; member 316 ssfdc->heads = 16; in ssfdcr_add_mtd() 318 get_chs(mtd->size, NULL, &ssfdc->heads, &ssfdc->sectors); in ssfdcr_add_mtd() 320 ((long)ssfdc->sectors * (long)ssfdc->heads)); in ssfdcr_add_mtd() 323 ssfdc->cylinders, ssfdc->heads , ssfdc->sectors, in ssfdcr_add_mtd() 324 (long)ssfdc->cylinders * (long)ssfdc->heads * in ssfdcr_add_mtd() 327 ssfdc->mbd.size = (long)ssfdc->heads * (long)ssfdc->cylinders * in ssfdcr_add_mtd() 411 ssfdc->cylinders, ssfdc->heads, ssfdc->sectors); in ssfdcr_getgeo() 413 geo->heads = ssfdc->heads; in ssfdcr_getgeo()
|
D | nftlcore.c | 68 nftl->heads = 16; in nftl_add_mtd() 70 temp = nftl->cylinders * nftl->heads; in nftl_add_mtd() 75 nftl->heads = nftl->mbd.size / temp; in nftl_add_mtd() 78 nftl->heads++; in nftl_add_mtd() 79 temp = nftl->heads * nftl->sectors; in nftl_add_mtd() 84 if (nftl->mbd.size != nftl->heads * nftl->cylinders * nftl->sectors) { in nftl_add_mtd() 93 nftl->cylinders, nftl->heads , nftl->sectors, in nftl_add_mtd() 94 (long)nftl->cylinders * (long)nftl->heads * in nftl_add_mtd() 770 geo->heads = nftl->heads; in nftl_getgeo()
|
D | inftlcore.c | 75 inftl->heads = 16; in inftl_add_mtd() 77 temp = inftl->cylinders * inftl->heads; in inftl_add_mtd() 82 inftl->heads = inftl->mbd.size / temp; in inftl_add_mtd() 85 inftl->heads++; in inftl_add_mtd() 86 temp = inftl->heads * inftl->sectors; in inftl_add_mtd() 91 if (inftl->mbd.size != inftl->heads * inftl->cylinders * inftl->sectors) { in inftl_add_mtd() 100 inftl->cylinders, inftl->heads , inftl->sectors, in inftl_add_mtd() 101 (long)inftl->cylinders * (long)inftl->heads * in inftl_add_mtd() 920 geo->heads = inftl->heads; in inftl_getgeo()
|
/linux-6.12.1/drivers/scsi/ |
D | scsicam.c | 179 unsigned long heads, sectors, cylinders, temp; in setsize() local 185 heads = capacity / temp; /* Compute value for number of heads */ in setsize() 187 heads++; /* Else, increment number of heads */ in setsize() 188 temp = cylinders * heads; /* Compute divisor for sectors */ in setsize() 193 temp = heads * sectors; /* Compute divisor for cylinders */ in setsize() 202 *hds = (unsigned int) heads; in setsize()
|
/linux-6.12.1/tools/perf/scripts/python/ |
D | compaction-times.py | 109 heads = {} variable in 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-6.12.1/Documentation/filesystems/ |
D | buffer.rst | 4 Linux uses buffer heads to maintain state about individual filesystem blocks. 5 Buffer heads are deprecated and new filesystems should use iomap instead.
|
/linux-6.12.1/net/xdp/ |
D | xsk_buff_pool.c | 41 kvfree(pool->heads); in xp_destroy() 68 pool->heads = kvcalloc(umem->chunks, sizeof(*pool->heads), GFP_KERNEL); in xp_create_and_assign_umem() 69 if (!pool->heads) in xp_create_and_assign_umem() 101 xskb = &pool->heads[i]; in xp_create_and_assign_umem() 124 pool->heads[i].xdp.rxq = rxq; in xp_set_rxq_info() 133 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_fill_cb() 419 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_init_dma_info() 535 xskb = &pool->heads[xp_aligned_extract_idx(pool, addr)]; in __xp_alloc() 600 xskb = &pool->heads[xp_aligned_extract_idx(pool, addr)]; in xp_alloc_new_from_fq()
|
/linux-6.12.1/tools/mm/ |
D | thpmaps | 229 def thp_parse(vma, kpageflags, ranges, indexes, vfns, pfns, anons, heads): 252 folios = indexes[index_next:index_end][heads[index_next:index_end]] 312 def cont_parse(vma, order, ranges, anons, heads): 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) 419 contstats = [cont_parse(vma, order, ranges, anons, heads) for order in contorders]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | head.c | 35 list_for_each_entry(head, &disp->heads, head) { in nvkm_head_find() 64 list_add_tail(&head->head, &disp->heads); in nvkm_head_new_()
|
D | base.c | 162 list_for_each_entry(head, &disp->heads, head) in nvkm_disp_oneinit() 207 while (!list_empty(&disp->heads)) { in nvkm_disp_dtor() 208 head = list_first_entry(&disp->heads, typeof(*head), head); in nvkm_disp_dtor() 239 INIT_LIST_HEAD(&disp->heads); in nvkm_disp_new_()
|
D | gf119.c | 1022 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super() 1030 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super() 1037 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super() 1042 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super() 1047 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super() 1054 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_super() 1061 list_for_each_entry(head, &disp->heads, head) in gf119_disp_super() 1143 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_intr() 1178 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_init() 1225 list_for_each_entry(head, &disp->heads, head) { in gf119_disp_init()
|
D | gv100.c | 847 list_for_each_entry(head, &disp->heads, head) { in gv100_disp_super() 855 list_for_each_entry(head, &disp->heads, head) { in gv100_disp_super() 862 list_for_each_entry(head, &disp->heads, head) { in gv100_disp_super() 867 list_for_each_entry(head, &disp->heads, head) { in gv100_disp_super() 872 list_for_each_entry(head, &disp->heads, head) { in gv100_disp_super() 879 list_for_each_entry(head, &disp->heads, head) { in gv100_disp_super() 886 list_for_each_entry(head, &disp->heads, head) in gv100_disp_super() 1154 list_for_each_entry(head, &disp->heads, head) { in gv100_disp_init() 1214 list_for_each_entry(head, &disp->heads, head) { in gv100_disp_init()
|
/linux-6.12.1/arch/x86/boot/ |
D | mtools.conf.in | 11 file="@OBJ@/fdimage" cylinders=80 heads=2 sectors=18 filter 15 file="@OBJ@/fdimage" cylinders=80 heads=2 sectors=36 filter
|
/linux-6.12.1/block/partitions/ |
D | acorn.c | 200 (dr->heads + (dr->lowsector & 0x40 ? 1 : 0)) * in adfspart_check_CUMANA() 252 unsigned long start_sect, nr_sects, sectscyl, heads; in adfspart_check_ADFS() local 269 heads = dr->heads + ((dr->lowsector >> 6) & 1); in adfspart_check_ADFS() 270 sectscyl = dr->secspertrack * heads; in adfspart_check_ADFS()
|
D | ibm.c | 41 return cyl * geo->heads * geo->sectors + in cchh2blk() 59 return cyl * geo->heads * geo->sectors + in cchhb2blk() 256 geo_size = geo->cylinders * geo->heads in find_lnx1_partitions()
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
D | hwsq.c | 139 u32 heads, x, y, px = 0; in nvkm_hwsq_wait_vblank() local 142 heads = nvkm_rd32(device, 0x610050); in nvkm_hwsq_wait_vblank() 145 if (heads & (2 << (i << 3))) { in nvkm_hwsq_wait_vblank()
|
/linux-6.12.1/drivers/gpu/drm/qxl/ |
D | qxl_display.c | 60 heads, count), GFP_KERNEL); in qxl_alloc_client_monitors_config() 110 &qdev->rom->client_monitors_config.heads[i]; in qxl_display_copy_rom_client_monitors_config() 112 &qdev->client_monitors_config->heads[i]; in qxl_display_copy_rom_client_monitors_config() 158 head = &qdev->client_monitors_config->heads[output->index]; in qxl_update_offset_props() 268 head = &qdev->client_monitors_config->heads[h]; in qxl_add_monitors_config_modes() 305 struct qxl_head *head = &qdev->monitors_config->heads[i]; in qxl_send_monitors_config() 362 if (head.width == qdev->monitors_config->heads[i].width && in qxl_crtc_update_monitors_config() 363 head.height == qdev->monitors_config->heads[i].height && in qxl_crtc_update_monitors_config() 364 head.x == qdev->monitors_config->heads[i].x && in qxl_crtc_update_monitors_config() 365 head.y == qdev->monitors_config->heads[i].y && in qxl_crtc_update_monitors_config() [all …]
|
/linux-6.12.1/drivers/vhost/ |
D | net.c | 366 if (vq->heads[i].len == VHOST_DMA_FAILED_LEN) in vhost_zerocopy_signal_used() 368 if (VHOST_DMA_IS_DONE(vq->heads[i].len)) { in vhost_zerocopy_signal_used() 369 vq->heads[i].len = VHOST_DMA_CLEAR_LEN; in vhost_zerocopy_signal_used() 377 &vq->heads[nvq->done_idx], add); in vhost_zerocopy_signal_used() 394 vq->heads[ubuf->desc].len = success ? in vhost_zerocopy_complete() 460 vhost_add_used_and_signal_n(dev, vq, vq->heads, nvq->done_idx); in vhost_net_signal_used() 823 vq->heads[nvq->done_idx].id = cpu_to_vhost32(vq, head); in handle_tx_copy() 824 vq->heads[nvq->done_idx].len = 0; in handle_tx_copy() 882 vq->heads[nvq->upend_idx].id = cpu_to_vhost32(vq, head); in handle_tx_zerocopy() 883 vq->heads[nvq->upend_idx].len = VHOST_DMA_IN_PROGRESS; in handle_tx_zerocopy() [all …]
|
D | vhost.h | 131 struct vring_used_elem *heads; member 215 int vhost_add_used_n(struct vhost_virtqueue *, struct vring_used_elem *heads, 220 struct vring_used_elem *heads, unsigned count);
|
/linux-6.12.1/drivers/scsi/aic7xxx/ |
D | aiclib.h | 122 aic_sector_div(sector_t capacity, int heads, int sectors) in aic_sector_div() argument 125 sector_div(capacity, (heads * sectors)); in aic_sector_div()
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | memx.c | 129 u32 heads, x, y, px = 0; in nvkm_memx_wait_vblank() local 133 heads = nvkm_rd32(device, 0x610050); in nvkm_memx_wait_vblank() 136 if (heads & (2 << (i << 3))) { in nvkm_memx_wait_vblank()
|
/linux-6.12.1/Documentation/admin-guide/laptops/ |
D | disk-shock-protection.rst | 23 unload disk heads. This feature is being used in modern laptops in 26 the internal hard drive and park its heads on the ramp when critical 43 Otherwise, writing an integer value to this file will take the heads 49 -EOVERFLOW, but heads will be parked anyway and the timeout will be 62 For example, do the following in order to park the heads of drive 101 instead of /dev/sda), then parking the heads of one drive (drive X)
|
/linux-6.12.1/drivers/block/ |
D | amiflop.c | 179 unsigned int heads; /* number of heads */ member 1189 if (hdr.track != unit[drive].track/unit[drive].type->heads) { in dos_read() 1192 unit[drive].track/unit[drive].type->heads); in dos_read() 1196 if (hdr.side != unit[drive].track%unit[drive].type->heads) { in dos_read() 1199 unit[drive].track%unit[drive].type->heads); in dos_read() 1289 hdr.track=unit[drive].track/unit[drive].type->heads; in ms_putsec() 1290 hdr.side=unit[drive].track%unit[drive].type->heads; in ms_putsec() 1530 geo->heads = unit[drive].type->heads; in fd_getgeo() 1563 if (param < p->type->tracks * p->type->heads) in fd_locked_ioctl() 1584 getprm.head=p->type->heads; in fd_locked_ioctl() [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv50/ |
D | wndw.h | 38 const u32 *format, u32 heads, 112 enum drm_plane_type type, int index, s32 oclass, u32 heads,
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | dcb.c | 117 return (outp->heads << 8) | (outp->link << 6) | outp->or; in dcb_outp_hashm() 133 outp->heads = (conn & 0x00000f00) >> 8; in dcb_outp_parse()
|