lh 666 arch/arc/mm/tlb.c struct list_head *lh = (struct list_head *) pgtable; lh 672 arch/arc/mm/tlb.c INIT_LIST_HEAD(lh); lh 674 arch/arc/mm/tlb.c list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); lh 680 arch/arc/mm/tlb.c struct list_head *lh; lh 686 arch/arc/mm/tlb.c lh = (struct list_head *) pgtable; lh 687 arch/arc/mm/tlb.c if (list_empty(lh)) lh 690 arch/arc/mm/tlb.c pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; lh 691 arch/arc/mm/tlb.c list_del(lh); lh 111 arch/mips/include/asm/asm-eva.h #define kernel_lh(reg, addr) lh reg, addr lh 93 arch/mips/include/asm/mach-ip27/kernel-entry-init.h lh t1, KV_RO_NASID_OFFSET(t0) lh 94 arch/mips/include/asm/mach-ip27/kernel-entry-init.h lh t2, KV_RW_NASID_OFFSET(t0) lh 972 arch/powerpc/mm/book3s64/radix_pgtable.c struct list_head *lh = (struct list_head *) pgtable; lh 978 arch/powerpc/mm/book3s64/radix_pgtable.c INIT_LIST_HEAD(lh); lh 980 arch/powerpc/mm/book3s64/radix_pgtable.c list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); lh 988 arch/powerpc/mm/book3s64/radix_pgtable.c struct list_head *lh; lh 994 arch/powerpc/mm/book3s64/radix_pgtable.c lh = (struct list_head *) pgtable; lh 995 arch/powerpc/mm/book3s64/radix_pgtable.c if (list_empty(lh)) lh 998 arch/powerpc/mm/book3s64/radix_pgtable.c pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; lh 999 arch/powerpc/mm/book3s64/radix_pgtable.c list_del(lh); lh 127 arch/s390/appldata/appldata_base.c struct list_head *lh; lh 131 arch/s390/appldata/appldata_base.c list_for_each(lh, &appldata_ops_list) { lh 132 arch/s390/appldata/appldata_base.c ops = list_entry(lh, struct appldata_ops, list); lh 286 arch/s390/appldata/appldata_base.c struct list_head *lh; lh 298 arch/s390/appldata/appldata_base.c list_for_each(lh, &appldata_ops_list) { lh 299 arch/s390/appldata/appldata_base.c tmp_ops = list_entry(lh, struct appldata_ops, list); lh 421 arch/s390/appldata/appldata_base.c struct list_head *lh; lh 431 arch/s390/appldata/appldata_base.c list_for_each(lh, &appldata_ops_list) { lh 432 arch/s390/appldata/appldata_base.c ops = list_entry(lh, struct appldata_ops, list); lh 450 arch/s390/appldata/appldata_base.c struct list_head *lh; lh 460 arch/s390/appldata/appldata_base.c list_for_each(lh, &appldata_ops_list) { lh 461 arch/s390/appldata/appldata_base.c ops = list_entry(lh, struct appldata_ops, list); lh 520 arch/s390/mm/pgtable.c struct list_head *lh = (struct list_head *) pgtable; lh 526 arch/s390/mm/pgtable.c INIT_LIST_HEAD(lh); lh 528 arch/s390/mm/pgtable.c list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); lh 534 arch/s390/mm/pgtable.c struct list_head *lh; lh 542 arch/s390/mm/pgtable.c lh = (struct list_head *) pgtable; lh 543 arch/s390/mm/pgtable.c if (list_empty(lh)) lh 546 arch/s390/mm/pgtable.c pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; lh 547 arch/s390/mm/pgtable.c list_del(lh); lh 268 arch/sparc/mm/tlb.c struct list_head *lh = (struct list_head *) pgtable; lh 274 arch/sparc/mm/tlb.c INIT_LIST_HEAD(lh); lh 276 arch/sparc/mm/tlb.c list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); lh 282 arch/sparc/mm/tlb.c struct list_head *lh; lh 289 arch/sparc/mm/tlb.c lh = (struct list_head *) pgtable; lh 290 arch/sparc/mm/tlb.c if (list_empty(lh)) lh 293 arch/sparc/mm/tlb.c pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; lh 294 arch/sparc/mm/tlb.c list_del(lh); lh 1412 block/partitions/ldm.c static void ldm_free_vblks (struct list_head *lh) lh 1416 block/partitions/ldm.c BUG_ON (!lh); lh 1418 block/partitions/ldm.c list_for_each_safe (item, tmp, lh) lh 247 drivers/block/drbd/drbd_debugfs.c struct drbd_device *device, struct list_head *lh, lh 252 drivers/block/drbd/drbd_debugfs.c list_for_each_entry(peer_req, lh, w.list) { lh 191 drivers/dma/fsldma.h #define to_fsl_desc(lh) container_of(lh, struct fsl_desc_sw, node) lh 134 drivers/dma/mmp_pdma.c #define to_mmp_pdma_desc(lh) \ lh 135 drivers/dma/mmp_pdma.c container_of(lh, struct mmp_pdma_desc_sw, node) lh 56 drivers/dma/sh/shdma.h #define to_sh_desc(lh) container_of(lh, struct sh_desc, node) lh 439 drivers/gpio/gpiolib.c struct linehandle_state *lh = filep->private_data; lh 449 drivers/gpio/gpiolib.c lh->numdescs, lh 450 drivers/gpio/gpiolib.c lh->descs, lh 457 drivers/gpio/gpiolib.c for (i = 0; i < lh->numdescs; i++) lh 469 drivers/gpio/gpiolib.c if (!test_bit(FLAG_IS_OUT, &lh->descs[0]->flags)) lh 476 drivers/gpio/gpiolib.c for (i = 0; i < lh->numdescs; i++) lh 482 drivers/gpio/gpiolib.c lh->numdescs, lh 483 drivers/gpio/gpiolib.c lh->descs, lh 500 drivers/gpio/gpiolib.c struct linehandle_state *lh = filep->private_data; lh 501 drivers/gpio/gpiolib.c struct gpio_device *gdev = lh->gdev; lh 504 drivers/gpio/gpiolib.c for (i = 0; i < lh->numdescs; i++) lh 505 drivers/gpio/gpiolib.c gpiod_free(lh->descs[i]); lh 506 drivers/gpio/gpiolib.c kfree(lh->label); lh 507 drivers/gpio/gpiolib.c kfree(lh); lh 525 drivers/gpio/gpiolib.c struct linehandle_state *lh; lh 564 drivers/gpio/gpiolib.c lh = kzalloc(sizeof(*lh), GFP_KERNEL); lh 565 drivers/gpio/gpiolib.c if (!lh) lh 567 drivers/gpio/gpiolib.c lh->gdev = gdev; lh 573 drivers/gpio/gpiolib.c lh->label = kstrdup(handlereq.consumer_label, lh 575 drivers/gpio/gpiolib.c if (!lh->label) { lh 592 drivers/gpio/gpiolib.c ret = gpiod_request(desc, lh->label); lh 595 drivers/gpio/gpiolib.c lh->descs[i] = desc; lh 629 drivers/gpio/gpiolib.c lh->numdescs = handlereq.lines; lh 639 drivers/gpio/gpiolib.c lh, lh 660 drivers/gpio/gpiolib.c lh->numdescs); lh 668 drivers/gpio/gpiolib.c gpiod_free(lh->descs[i]); lh 669 drivers/gpio/gpiolib.c kfree(lh->label); lh 671 drivers/gpio/gpiolib.c kfree(lh); lh 377 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c struct irq_list_head *lh; lh 385 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c lh = &adev->dm.irq_handler_list_low_tab[src]; lh 386 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c INIT_LIST_HEAD(&lh->head); lh 387 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c INIT_WORK(&lh->work, dm_irq_work_func); lh 405 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c struct irq_list_head *lh; lh 413 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c lh = &adev->dm.irq_handler_list_low_tab[src]; lh 415 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c flush_work(&lh->work); lh 480 drivers/gpu/drm/exynos/exynos_drm_ipp.c struct drm_exynos_ipp_limit_val *lh = &l.h, *lv = &l.v; lh 493 drivers/gpu/drm/exynos/exynos_drm_ipp.c lh = &l.v; lh 496 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (!__size_limit_check(buf->rect.w, lh) || lh 497 drivers/gpu/drm/exynos/exynos_drm_ipp.c !__align_check(buf->rect.x, lh->align) || lh 525 drivers/gpu/drm/exynos/exynos_drm_ipp.c const struct drm_exynos_ipp_limit_val *lh, *lv; lh 535 drivers/gpu/drm/exynos/exynos_drm_ipp.c lh = (!swap) ? &limits->h : &limits->v; lh 540 drivers/gpu/drm/exynos/exynos_drm_ipp.c if (!__scale_limit_check(src->w, dw, lh->min, lh->max) || lh 386 drivers/infiniband/hw/mlx4/cm.c struct list_head lh; lh 391 drivers/infiniband/hw/mlx4/cm.c INIT_LIST_HEAD(&lh); lh 416 drivers/infiniband/hw/mlx4/cm.c list_splice_init(&dev->sriov.cm_list, &lh); lh 425 drivers/infiniband/hw/mlx4/cm.c list_move_tail(&ent->list, &lh); lh 428 drivers/infiniband/hw/mlx4/cm.c list_for_each_entry_safe(map, tmp_map, &lh, list) { lh 436 drivers/infiniband/hw/mlx4/cm.c list_move_tail(&map->list, &lh); lh 443 drivers/infiniband/hw/mlx4/cm.c list_for_each_entry_safe(map, tmp_map, &lh, list) { lh 130 drivers/media/platform/s5p-mfc/s5p_mfc.c void s5p_mfc_cleanup_queue(struct list_head *lh, struct vb2_queue *vq) lh 135 drivers/media/platform/s5p-mfc/s5p_mfc.c while (!list_empty(lh)) { lh 136 drivers/media/platform/s5p-mfc/s5p_mfc.c b = list_entry(lh->next, struct s5p_mfc_buf, list); lh 759 drivers/media/platform/s5p-mfc/s5p_mfc_common.h void s5p_mfc_cleanup_queue(struct list_head *lh, struct vb2_queue *vq); lh 447 drivers/net/ethernet/altera/altera_sgdma.c list_add_tail(&buffer->lh, &priv->txlisthd); lh 458 drivers/net/ethernet/altera/altera_sgdma.c list_add_tail(&buffer->lh, &priv->rxlisthd); lh 470 drivers/net/ethernet/altera/altera_sgdma.c list_remove_head(&priv->txlisthd, buffer, struct tse_buffer, lh); lh 483 drivers/net/ethernet/altera/altera_sgdma.c list_remove_head(&priv->rxlisthd, buffer, struct tse_buffer, lh); lh 497 drivers/net/ethernet/altera/altera_sgdma.c list_peek_head(&priv->rxlisthd, buffer, struct tse_buffer, lh); lh 372 drivers/net/ethernet/altera/altera_tse.h struct list_head lh; lh 190 drivers/net/ethernet/freescale/ucc_geth.c static struct list_head *dequeue(struct list_head *lh) lh 195 drivers/net/ethernet/freescale/ucc_geth.c if (!list_empty(lh)) { lh 196 drivers/net/ethernet/freescale/ucc_geth.c struct list_head *node = lh->next; lh 835 drivers/net/wireless/ath/ath6kl/htc_pipe.c struct list_head *lh; lh 843 drivers/net/wireless/ath/ath6kl/htc_pipe.c lh = (struct list_head *) target->pipe.htc_packet_pool; lh 844 drivers/net/wireless/ath/ath6kl/htc_pipe.c packet->list.next = lh; lh 2342 drivers/net/wireless/ath/wil6210/cfg80211.c struct list_head *lh; lh 2344 drivers/net/wireless/ath/wil6210/cfg80211.c while ((lh = next_probe_client(vif)) != NULL) { lh 2345 drivers/net/wireless/ath/wil6210/cfg80211.c req = list_entry(lh, struct wil_probe_client_req, list); lh 1219 drivers/net/wireless/ath/wil6210/debugfs.c static int wil_print_rx_buff(struct seq_file *s, struct list_head *lh) lh 1224 drivers/net/wireless/ath/wil6210/debugfs.c list_for_each_entry(it, lh, list) { lh 3396 drivers/net/wireless/ath/wil6210/wmi.c struct list_head *lh; lh 3399 drivers/net/wireless/ath/wil6210/wmi.c while ((lh = next_wmi_ev(wil)) != NULL) { lh 3400 drivers/net/wireless/ath/wil6210/wmi.c evt = list_entry(lh, struct pending_wmi_event, list); lh 68 drivers/s390/block/dcssblk.c struct list_head lh; lh 85 drivers/s390/block/dcssblk.c struct list_head lh; lh 115 drivers/s390/block/dcssblk.c list_for_each_entry_safe(entry, temp, &dev_info->seg_list, lh) { lh 116 drivers/s390/block/dcssblk.c list_del(&entry->lh); lh 140 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dcssblk_devices, lh) lh 161 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dcssblk_devices, lh) { lh 180 drivers/s390/block/dcssblk.c list_for_each_entry(dev_info, &dcssblk_devices, lh) { lh 181 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dev_info->seg_list, lh) { lh 199 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dev_info->seg_list, lh) { lh 218 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dev_info->seg_list, lh) { lh 248 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dev_info->seg_list, lh) { lh 325 drivers/s390/block/dcssblk.c INIT_LIST_HEAD(&(*seg_info)->lh); lh 361 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dev_info->seg_list, lh) { lh 386 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dev_info->seg_list, lh) { lh 408 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dev_info->seg_list, lh) { lh 412 drivers/s390/block/dcssblk.c list_del(&dev_info->lh); lh 466 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dev_info->seg_list, lh) { lh 518 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dev_info->seg_list, lh) { lh 606 drivers/s390/block/dcssblk.c list_add_tail(&seg_info->lh, &dev_info->seg_list); lh 631 drivers/s390/block/dcssblk.c INIT_LIST_HEAD(&dev_info->lh); lh 668 drivers/s390/block/dcssblk.c list_add_tail(&dev_info->lh, &dcssblk_devices); lh 706 drivers/s390/block/dcssblk.c list_del(&dev_info->lh); lh 710 drivers/s390/block/dcssblk.c list_for_each_entry(seg_info, &dev_info->seg_list, lh) { lh 717 drivers/s390/block/dcssblk.c list_del(&dev_info->lh); lh 726 drivers/s390/block/dcssblk.c list_for_each_entry_safe(seg_info, temp, &dev_info->seg_list, lh) { lh 727 drivers/s390/block/dcssblk.c list_del(&seg_info->lh); lh 785 drivers/s390/block/dcssblk.c list_del(&dev_info->lh); lh 794 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dev_info->seg_list, lh) lh 841 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dev_info->seg_list, lh) { lh 994 drivers/s390/block/dcssblk.c list_for_each_entry(dev_info, &dcssblk_devices, lh) { lh 1023 drivers/s390/block/dcssblk.c list_for_each_entry(dev_info, &dcssblk_devices, lh) { lh 1024 drivers/s390/block/dcssblk.c list_for_each_entry(entry, &dev_info->seg_list, lh) { lh 3125 drivers/s390/net/qeth_core_main.c struct list_head *lh; lh 3159 drivers/s390/net/qeth_core_main.c list_for_each(lh, &card->qdio.in_buf_pool.entry_list) lh 697 drivers/s390/scsi/zfcp_fc.c static void zfcp_fc_validate_port(struct zfcp_port *port, struct list_head *lh) lh 708 drivers/s390/scsi/zfcp_fc.c list_move_tail(&port->list, lh); lh 7488 drivers/scsi/ncr53c8xx.c int lh = ln & 3; lh 7540 drivers/scsi/ncr53c8xx.c lp->jump_lcb.l_paddr = tp->jump_lcb[lh].l_paddr; lh 7552 drivers/scsi/ncr53c8xx.c tp->jump_lcb[lh].l_paddr = cpu_to_scr(vtobus (&lp->jump_lcb)); lh 813 drivers/scsi/scsi_devinfo.c struct list_head *lh, *lh_next; lh 824 drivers/scsi/scsi_devinfo.c list_for_each_safe(lh, lh_next, &devinfo_table->scsi_dev_info_list) { lh 827 drivers/scsi/scsi_devinfo.c devinfo = list_entry(lh, struct scsi_dev_info_list, lh 97 fs/coda/psdev.c struct list_head *lh; lh 152 fs/coda/psdev.c list_for_each(lh, &vcp->vc_processing) { lh 153 fs/coda/psdev.c tmp = list_entry(lh, struct upc_req , uc_chain); lh 87 fs/exec.c insert ? list_add(&fmt->lh, &formats) : lh 88 fs/exec.c list_add_tail(&fmt->lh, &formats); lh 97 fs/exec.c list_del(&fmt->lh); lh 156 fs/exec.c list_for_each_entry(fmt, &formats, lh) { lh 1655 fs/exec.c list_for_each_entry(fmt, &formats, lh) { lh 691 fs/gfs2/log.c struct gfs2_log_header *lh; lh 699 fs/gfs2/log.c lh = page_address(page); lh 700 fs/gfs2/log.c clear_page(lh); lh 702 fs/gfs2/log.c lh->lh_header.mh_magic = cpu_to_be32(GFS2_MAGIC); lh 703 fs/gfs2/log.c lh->lh_header.mh_type = cpu_to_be32(GFS2_METATYPE_LH); lh 704 fs/gfs2/log.c lh->lh_header.__pad0 = cpu_to_be64(0); lh 705 fs/gfs2/log.c lh->lh_header.mh_format = cpu_to_be32(GFS2_FORMAT_LH); lh 706 fs/gfs2/log.c lh->lh_header.mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); lh 707 fs/gfs2/log.c lh->lh_sequence = cpu_to_be64(seq); lh 708 fs/gfs2/log.c lh->lh_flags = cpu_to_be32(flags); lh 709 fs/gfs2/log.c lh->lh_tail = cpu_to_be32(tail); lh 710 fs/gfs2/log.c lh->lh_blkno = cpu_to_be32(lblock); lh 711 fs/gfs2/log.c hash = ~crc32(~0, lh, LH_V1_SIZE); lh 712 fs/gfs2/log.c lh->lh_hash = cpu_to_be32(hash); lh 715 fs/gfs2/log.c lh->lh_nsec = cpu_to_be32(tv.tv_nsec); lh 716 fs/gfs2/log.c lh->lh_sec = cpu_to_be64(tv.tv_sec); lh 724 fs/gfs2/log.c lh->lh_addr = cpu_to_be64(dblock); lh 725 fs/gfs2/log.c lh->lh_jinode = cpu_to_be64(GFS2_I(jd->jd_inode)->i_no_addr); lh 731 fs/gfs2/log.c lh->lh_statfs_addr = lh 733 fs/gfs2/log.c lh->lh_quota_addr = lh 737 fs/gfs2/log.c lh->lh_local_total = cpu_to_be64(l_sc->sc_total); lh 738 fs/gfs2/log.c lh->lh_local_free = cpu_to_be64(l_sc->sc_free); lh 739 fs/gfs2/log.c lh->lh_local_dinodes = cpu_to_be64(l_sc->sc_dinodes); lh 745 fs/gfs2/log.c crc = crc32c(~0, (void *)lh + LH_V1_SIZE + 4, lh 747 fs/gfs2/log.c lh->lh_crc = cpu_to_be32(crc); lh 417 fs/gfs2/lops.c struct gfs2_log_header_host uninitialized_var(lh); lh 423 fs/gfs2/lops.c if (!__get_log_header(sdp, kaddr + offset, 0, &lh)) { lh 424 fs/gfs2/lops.c if (lh.lh_sequence >= head->lh_sequence) lh 425 fs/gfs2/lops.c *head = lh; lh 120 fs/gfs2/recovery.c int __get_log_header(struct gfs2_sbd *sdp, const struct gfs2_log_header *lh, lh 125 fs/gfs2/recovery.c if (lh->lh_header.mh_magic != cpu_to_be32(GFS2_MAGIC) || lh 126 fs/gfs2/recovery.c lh->lh_header.mh_type != cpu_to_be32(GFS2_METATYPE_LH) || lh 127 fs/gfs2/recovery.c (blkno && be32_to_cpu(lh->lh_blkno) != blkno)) lh 130 fs/gfs2/recovery.c hash = crc32(~0, lh, LH_V1_SIZE - 4); lh 133 fs/gfs2/recovery.c if (be32_to_cpu(lh->lh_hash) != hash) lh 136 fs/gfs2/recovery.c crc = crc32c(~0, (void *)lh + LH_V1_SIZE + 4, lh 139 fs/gfs2/recovery.c if ((lh->lh_crc != 0 && be32_to_cpu(lh->lh_crc) != crc)) lh 142 fs/gfs2/recovery.c head->lh_sequence = be64_to_cpu(lh->lh_sequence); lh 143 fs/gfs2/recovery.c head->lh_flags = be32_to_cpu(lh->lh_flags); lh 144 fs/gfs2/recovery.c head->lh_tail = be32_to_cpu(lh->lh_tail); lh 145 fs/gfs2/recovery.c head->lh_blkno = be32_to_cpu(lh->lh_blkno); lh 218 fs/gfs2/recovery.c struct gfs2_log_header_host lh; lh 219 fs/gfs2/recovery.c error = get_log_header(jd, start, &lh); lh 30 fs/gfs2/recovery.h const struct gfs2_log_header *lh, unsigned int blkno, lh 409 fs/gfs2/super.c struct gfs2_log_header_host lh; lh 434 fs/gfs2/super.c error = gfs2_find_jhead(jd, &lh, false); lh 437 fs/gfs2/super.c if (!(lh.lh_flags & GFS2_LOG_HEAD_UNMOUNT)) { lh 3662 fs/jfs/jfs_dtree.c struct ldtentry *lh; lh 3690 fs/jfs/jfs_dtree.c lh = (struct ldtentry *) & p->slot[si]; lh 3691 fs/jfs/jfs_dtree.c si = lh->next; lh 3692 fs/jfs/jfs_dtree.c name = lh->name; lh 3693 fs/jfs/jfs_dtree.c namlen = lh->namlen; lh 3834 fs/jfs/jfs_dtree.c struct ldtentry *lh; lh 3845 fs/jfs/jfs_dtree.c lh = (struct ldtentry *) & p->slot[si]; lh 3846 fs/jfs/jfs_dtree.c si = lh->next; lh 3847 fs/jfs/jfs_dtree.c namlen = lh->namlen; lh 3848 fs/jfs/jfs_dtree.c name = lh->name; lh 3897 fs/jfs/jfs_dtree.c struct ldtentry *lh = NULL; lh 3928 fs/jfs/jfs_dtree.c lh = (struct ldtentry *) h; lh 3929 fs/jfs/jfs_dtree.c lh->next = h->next; lh 3930 fs/jfs/jfs_dtree.c lh->inumber = cpu_to_le32(data->leaf.ino); lh 3931 fs/jfs/jfs_dtree.c lh->namlen = klen; lh 3932 fs/jfs/jfs_dtree.c name = lh->name; lh 3937 fs/jfs/jfs_dtree.c lh->index = cpu_to_le32(add_index(data->leaf.tid, lh 4004 fs/jfs/jfs_dtree.c lh->next = -1; lh 4026 fs/jfs/jfs_dtree.c lh = (struct ldtentry *) & (p->slot[stbl[n]]); lh 4028 fs/jfs/jfs_dtree.c le32_to_cpu(lh->index), bn, n, lh 2369 fs/nfs/dir.c struct list_head *lh; lh 2374 fs/nfs/dir.c lh = rcu_dereference(nfsi->access_cache_entry_lru.prev); lh 2375 fs/nfs/dir.c cache = list_entry(lh, struct nfs_access_entry, lru); lh 2376 fs/nfs/dir.c if (lh == &nfsi->access_cache_entry_lru || lh 364 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_alloc_lseg(struct pnfs_layout_hdr *lh, lh 515 fs/nfs/flexfilelayout/flexfilelayout.c mirror = ff_layout_add_mirror(lh, fls->mirror_array[i]); lh 169 fs/proc/inode.c list_del(&pdeo->lh); lh 191 fs/proc/inode.c pdeo = list_first_entry(&de->pde_openers, struct pde_opener, lh); lh 374 fs/proc/inode.c list_add(&pdeo->lh, &pde->pde_openers); lh 390 fs/proc/inode.c list_for_each_entry(pdeo, &pde->pde_openers, lh) { lh 201 fs/proc/internal.h struct list_head lh; lh 898 fs/seq_file.c struct list_head *lh; lh 900 fs/seq_file.c list_for_each(lh, head) lh 902 fs/seq_file.c return lh; lh 919 fs/seq_file.c struct list_head *lh; lh 921 fs/seq_file.c lh = ((struct list_head *)v)->next; lh 923 fs/seq_file.c return lh == head ? NULL : lh; lh 97 include/linux/binfmts.h struct list_head lh; lh 2572 include/linux/netdevice.h #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list) lh 2576 include/linux/netdevice.h struct list_head *lh; lh 2580 include/linux/netdevice.h lh = dev->dev_list.next; lh 2581 include/linux/netdevice.h return lh == &net->dev_base_head ? NULL : net_device_entry(lh); lh 2586 include/linux/netdevice.h struct list_head *lh; lh 2590 include/linux/netdevice.h lh = rcu_dereference(list_next_rcu(&dev->dev_list)); lh 2591 include/linux/netdevice.h return lh == &net->dev_base_head ? NULL : net_device_entry(lh); lh 2602 include/linux/netdevice.h struct list_head *lh = rcu_dereference(list_next_rcu(&net->dev_base_head)); lh 2604 include/linux/netdevice.h return lh == &net->dev_base_head ? NULL : net_device_entry(lh); lh 317 include/net/ip6_fib.h struct list_head lh; lh 112 kernel/rcu/srcutiny.c struct rcu_head *lh; lh 123 kernel/rcu/srcutiny.c lh = ssp->srcu_cb_head; lh 134 kernel/rcu/srcutiny.c while (lh) { lh 135 kernel/rcu/srcutiny.c rhp = lh; lh 136 kernel/rcu/srcutiny.c lh = lh->next; lh 609 lib/lru_cache.c struct list_head *lh; lh 621 lib/lru_cache.c lh = &lc->free; lh 624 lib/lru_cache.c lh = &lc->lru; lh 626 lib/lru_cache.c list_move(&e->list, lh); lh 393 mm/highmem.c struct list_head lh; /* List of page_address_maps */ lh 420 mm/highmem.c if (!list_empty(&pas->lh)) { lh 423 mm/highmem.c list_for_each_entry(pam, &pas->lh, list) { lh 457 mm/highmem.c list_add_tail(&pam->list, &pas->lh); lh 461 mm/highmem.c list_for_each_entry(pam, &pas->lh, list) { lh 479 mm/highmem.c INIT_LIST_HEAD(&page_address_htable[i].lh); lh 126 net/atm/br2684.c struct list_head *lh; lh 130 net/atm/br2684.c list_for_each(lh, &br2684_devs) { lh 131 net/atm/br2684.c net_dev = list_entry_brdev(lh); lh 137 net/atm/br2684.c list_for_each(lh, &br2684_devs) { lh 138 net/atm/br2684.c net_dev = list_entry_brdev(lh); lh 151 net/atm/br2684.c struct list_head *lh; lh 160 net/atm/br2684.c list_for_each(lh, &br2684_devs) { lh 161 net/atm/br2684.c net_dev = list_entry_brdev(lh); lh 1047 net/bluetooth/l2cap_core.c struct l2cap_hdr *lh; lh 1058 net/bluetooth/l2cap_core.c lh = skb_put(skb, L2CAP_HDR_SIZE); lh 1059 net/bluetooth/l2cap_core.c lh->len = cpu_to_le16(hlen - L2CAP_HDR_SIZE); lh 1060 net/bluetooth/l2cap_core.c lh->cid = cpu_to_le16(chan->dcid); lh 2204 net/bluetooth/l2cap_core.c struct l2cap_hdr *lh; lh 2217 net/bluetooth/l2cap_core.c lh = skb_put(skb, L2CAP_HDR_SIZE); lh 2218 net/bluetooth/l2cap_core.c lh->cid = cpu_to_le16(chan->dcid); lh 2219 net/bluetooth/l2cap_core.c lh->len = cpu_to_le16(len + L2CAP_PSMLEN_SIZE); lh 2236 net/bluetooth/l2cap_core.c struct l2cap_hdr *lh; lh 2248 net/bluetooth/l2cap_core.c lh = skb_put(skb, L2CAP_HDR_SIZE); lh 2249 net/bluetooth/l2cap_core.c lh->cid = cpu_to_le16(chan->dcid); lh 2250 net/bluetooth/l2cap_core.c lh->len = cpu_to_le16(len); lh 2267 net/bluetooth/l2cap_core.c struct l2cap_hdr *lh; lh 2290 net/bluetooth/l2cap_core.c lh = skb_put(skb, L2CAP_HDR_SIZE); lh 2291 net/bluetooth/l2cap_core.c lh->cid = cpu_to_le16(chan->dcid); lh 2292 net/bluetooth/l2cap_core.c lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE)); lh 2388 net/bluetooth/l2cap_core.c struct l2cap_hdr *lh; lh 2408 net/bluetooth/l2cap_core.c lh = skb_put(skb, L2CAP_HDR_SIZE); lh 2409 net/bluetooth/l2cap_core.c lh->cid = cpu_to_le16(chan->dcid); lh 2410 net/bluetooth/l2cap_core.c lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE)); lh 2927 net/bluetooth/l2cap_core.c struct l2cap_hdr *lh; lh 2943 net/bluetooth/l2cap_core.c lh = skb_put(skb, L2CAP_HDR_SIZE); lh 2944 net/bluetooth/l2cap_core.c lh->len = cpu_to_le16(L2CAP_CMD_HDR_SIZE + dlen); lh 2947 net/bluetooth/l2cap_core.c lh->cid = cpu_to_le16(L2CAP_CID_LE_SIGNALING); lh 2949 net/bluetooth/l2cap_core.c lh->cid = cpu_to_le16(L2CAP_CID_SIGNALING); lh 7017 net/bluetooth/l2cap_core.c struct l2cap_hdr *lh = (void *) skb->data; lh 7029 net/bluetooth/l2cap_core.c cid = __le16_to_cpu(lh->cid); lh 7030 net/bluetooth/l2cap_core.c len = __le16_to_cpu(lh->len); lh 22 net/dccp/ccids/lib/loss_interval.c static inline struct tfrc_loss_interval *tfrc_lh_peek(struct tfrc_loss_hist *lh) lh 24 net/dccp/ccids/lib/loss_interval.c return lh->counter ? lh->ring[LIH_INDEX(lh->counter - 1)] : NULL; lh 28 net/dccp/ccids/lib/loss_interval.c static inline u32 tfrc_lh_get_interval(struct tfrc_loss_hist *lh, const u8 i) lh 30 net/dccp/ccids/lib/loss_interval.c BUG_ON(i >= lh->counter); lh 31 net/dccp/ccids/lib/loss_interval.c return lh->ring[LIH_INDEX(lh->counter - i - 1)]->li_length; lh 37 net/dccp/ccids/lib/loss_interval.c static struct tfrc_loss_interval *tfrc_lh_demand_next(struct tfrc_loss_hist *lh) lh 39 net/dccp/ccids/lib/loss_interval.c if (lh->ring[LIH_INDEX(lh->counter)] == NULL) lh 40 net/dccp/ccids/lib/loss_interval.c lh->ring[LIH_INDEX(lh->counter)] = kmem_cache_alloc(tfrc_lh_slab, lh 42 net/dccp/ccids/lib/loss_interval.c return lh->ring[LIH_INDEX(lh->counter)]; lh 45 net/dccp/ccids/lib/loss_interval.c void tfrc_lh_cleanup(struct tfrc_loss_hist *lh) lh 47 net/dccp/ccids/lib/loss_interval.c if (!tfrc_lh_is_initialised(lh)) lh 50 net/dccp/ccids/lib/loss_interval.c for (lh->counter = 0; lh->counter < LIH_SIZE; lh->counter++) lh 51 net/dccp/ccids/lib/loss_interval.c if (lh->ring[LIH_INDEX(lh->counter)] != NULL) { lh 53 net/dccp/ccids/lib/loss_interval.c lh->ring[LIH_INDEX(lh->counter)]); lh 54 net/dccp/ccids/lib/loss_interval.c lh->ring[LIH_INDEX(lh->counter)] = NULL; lh 58 net/dccp/ccids/lib/loss_interval.c static void tfrc_lh_calc_i_mean(struct tfrc_loss_hist *lh) lh 61 net/dccp/ccids/lib/loss_interval.c int i, k = tfrc_lh_length(lh) - 1; /* k is as in rfc3448bis, 5.4 */ lh 67 net/dccp/ccids/lib/loss_interval.c i_i = tfrc_lh_get_interval(lh, i); lh 77 net/dccp/ccids/lib/loss_interval.c lh->i_mean = max(i_tot0, i_tot1) / w_tot; lh 84 net/dccp/ccids/lib/loss_interval.c u8 tfrc_lh_update_i_mean(struct tfrc_loss_hist *lh, struct sk_buff *skb) lh 86 net/dccp/ccids/lib/loss_interval.c struct tfrc_loss_interval *cur = tfrc_lh_peek(lh); lh 87 net/dccp/ccids/lib/loss_interval.c u32 old_i_mean = lh->i_mean; lh 109 net/dccp/ccids/lib/loss_interval.c if (tfrc_lh_length(lh) == 1) /* due to RFC 3448, 6.3.1 */ lh 113 net/dccp/ccids/lib/loss_interval.c tfrc_lh_calc_i_mean(lh); lh 115 net/dccp/ccids/lib/loss_interval.c return lh->i_mean < old_i_mean; lh 135 net/dccp/ccids/lib/loss_interval.c int tfrc_lh_interval_add(struct tfrc_loss_hist *lh, struct tfrc_rx_hist *rh, lh 138 net/dccp/ccids/lib/loss_interval.c struct tfrc_loss_interval *cur = tfrc_lh_peek(lh), *new; lh 143 net/dccp/ccids/lib/loss_interval.c new = tfrc_lh_demand_next(lh); lh 153 net/dccp/ccids/lib/loss_interval.c if (++lh->counter == 1) lh 154 net/dccp/ccids/lib/loss_interval.c lh->i_mean = new->li_length = (*calc_first_li)(sk); lh 159 net/dccp/ccids/lib/loss_interval.c if (lh->counter > (2*LIH_SIZE)) lh 160 net/dccp/ccids/lib/loss_interval.c lh->counter -= LIH_SIZE; lh 162 net/dccp/ccids/lib/loss_interval.c tfrc_lh_calc_i_mean(lh); lh 47 net/dccp/ccids/lib/loss_interval.h static inline void tfrc_lh_init(struct tfrc_loss_hist *lh) lh 49 net/dccp/ccids/lib/loss_interval.h memset(lh, 0, sizeof(struct tfrc_loss_hist)); lh 52 net/dccp/ccids/lib/loss_interval.h static inline u8 tfrc_lh_is_initialised(struct tfrc_loss_hist *lh) lh 54 net/dccp/ccids/lib/loss_interval.h return lh->counter > 0; lh 57 net/dccp/ccids/lib/loss_interval.h static inline u8 tfrc_lh_length(struct tfrc_loss_hist *lh) lh 59 net/dccp/ccids/lib/loss_interval.h return min(lh->counter, (u8)LIH_SIZE); lh 66 net/dccp/ccids/lib/loss_interval.h u8 tfrc_lh_update_i_mean(struct tfrc_loss_hist *lh, struct sk_buff *); lh 67 net/dccp/ccids/lib/loss_interval.h void tfrc_lh_cleanup(struct tfrc_loss_hist *lh); lh 312 net/dccp/ccids/lib/packet_history.c struct tfrc_loss_hist *lh, lh 328 net/dccp/ccids/lib/packet_history.c is_new_loss = tfrc_lh_interval_add(lh, h, calc_first_li, sk); lh 135 net/dccp/ccids/lib/packet_history.h int tfrc_rx_handle_loss(struct tfrc_rx_hist *h, struct tfrc_loss_hist *lh, lh 1128 net/ipv4/af_inet.c struct list_head *lh; lh 1140 net/ipv4/af_inet.c list_for_each(lh, &inetsw[p->type]) { lh 1141 net/ipv4/af_inet.c answer = list_entry(lh, struct inet_protosw, list); lh 1147 net/ipv4/af_inet.c last_perm = lh; lh 669 net/ipv6/af_inet6.c struct list_head *lh; lh 685 net/ipv6/af_inet6.c list_for_each(lh, &inetsw6[p->type]) { lh 686 net/ipv6/af_inet6.c answer = list_entry(lh, struct inet_protosw, list); lh 692 net/ipv6/af_inet6.c last_perm = lh; lh 74 net/ipv6/ip6_fib.c list_for_each_entry(w, &(net)->ipv6.fib6_walkers, lh) lh 79 net/ipv6/ip6_fib.c list_add(&w->lh, &net->ipv6.fib6_walkers); lh 86 net/ipv6/ip6_fib.c list_del(&w->lh); lh 2434 net/ipv6/ip6_fib.c INIT_LIST_HEAD(&iter->w.lh); lh 84 net/netfilter/xt_l2tp.c union l2tp_val *lh; lh 95 net/netfilter/xt_l2tp.c lh = skb_header_pointer(skb, offs, 2, &lhbuf); lh 96 net/netfilter/xt_l2tp.c if (lh == NULL) lh 99 net/netfilter/xt_l2tp.c flags = ntohs(lh->val16[0]); lh 113 net/netfilter/xt_l2tp.c lh = skb_header_pointer(skb, offs + 4, 4, &lhbuf); lh 114 net/netfilter/xt_l2tp.c if (lh == NULL) lh 117 net/netfilter/xt_l2tp.c data.tid = ntohl(lh->val32); lh 119 net/netfilter/xt_l2tp.c data.sid = ntohl(lh->val32); lh 123 net/netfilter/xt_l2tp.c lh = skb_header_pointer(skb, offs + 2, 4, &lhbuf); lh 124 net/netfilter/xt_l2tp.c if (lh == NULL) lh 126 net/netfilter/xt_l2tp.c data.tid = (u32) ntohs(lh->val16[0]); lh 127 net/netfilter/xt_l2tp.c data.sid = (u32) ntohs(lh->val16[1]); lh 142 net/netfilter/xt_l2tp.c union l2tp_val *lh; lh 147 net/netfilter/xt_l2tp.c lh = skb_header_pointer(skb, thoff, sizeof(lhbuf), &lhbuf); lh 148 net/netfilter/xt_l2tp.c if (lh == NULL) lh 150 net/netfilter/xt_l2tp.c if (lh->val32 == 0) { lh 155 net/netfilter/xt_l2tp.c lh = skb_header_pointer(skb, thoff + 8, sizeof(lhbuf), lh 157 net/netfilter/xt_l2tp.c if (lh == NULL) lh 159 net/netfilter/xt_l2tp.c data.tid = ntohl(lh->val32); lh 161 net/netfilter/xt_l2tp.c data.sid = ntohl(lh->val32); lh 72 security/apparmor/include/policy_unpack.h int aa_unpack(struct aa_loaddata *udata, struct list_head *lh, const char **ns); lh 704 security/apparmor/policy.c static struct aa_profile *__list_lookup_parent(struct list_head *lh, lh 716 security/apparmor/policy.c list_for_each_entry(ent, lh, list) { lh 745 security/apparmor/policy.c LIST_HEAD(lh); lh 746 security/apparmor/policy.c list_splice_init_rcu(&old->base.profiles, &lh, synchronize_rcu); lh 748 security/apparmor/policy.c list_for_each_entry_safe(child, tmp, &lh, base.list) { lh 865 security/apparmor/policy.c LIST_HEAD(lh); lh 870 security/apparmor/policy.c error = aa_unpack(udata, &lh, &ns_name); lh 880 security/apparmor/policy.c list_for_each_entry(ent, &lh, list) { lh 928 security/apparmor/policy.c list_for_each_entry(ent, &lh, list) { lh 956 security/apparmor/policy.c p = __list_lookup_parent(&lh, ent->new); lh 979 security/apparmor/policy.c list_for_each_entry(ent, &lh, list) { lh 1000 security/apparmor/policy.c list_for_each_entry_safe(ent, tmp, &lh, list) { lh 1026 security/apparmor/policy.c struct list_head *lh; lh 1032 security/apparmor/policy.c lh = &parent->base.profiles; lh 1034 security/apparmor/policy.c lh = &ns->base.profiles; lh 1035 security/apparmor/policy.c __add_profile(lh, ent->new); lh 1061 security/apparmor/policy.c list_for_each_entry(tmp, &lh, list) { lh 1071 security/apparmor/policy.c list_for_each_entry_safe(ent, tmp, &lh, list) { lh 1054 security/apparmor/policy_unpack.c int aa_unpack(struct aa_loaddata *udata, struct list_head *lh, lh 1099 security/apparmor/policy_unpack.c list_add_tail(&ent->list, lh); lh 1116 security/apparmor/policy_unpack.c list_for_each_entry_safe(ent, tmp, lh, list) {