Home
last modified time | relevance | path

Searched refs:lh (Results 1 – 25 of 49) sorted by relevance

12

/linux/net/dccp/ccids/lib/
H A Dloss_interval.c
H A Dloss_interval.h
H A Dpacket_history.h
/linux/net/netfilter/
H A Dxt_l2tp.c84 union l2tp_val *lh; in l2tp_udp_mt() local
95 lh = skb_header_pointer(skb, offs, 2, &lhbuf); in l2tp_udp_mt()
96 if (lh == NULL) in l2tp_udp_mt()
99 flags = ntohs(lh->val16[0]); in l2tp_udp_mt()
113 lh = skb_header_pointer(skb, offs + 4, 4, &lhbuf); in l2tp_udp_mt()
114 if (lh == NULL) in l2tp_udp_mt()
117 data.tid = ntohl(lh->val32); in l2tp_udp_mt()
119 data.sid = ntohl(lh->val32); in l2tp_udp_mt()
123 lh = skb_header_pointer(skb, offs + 2, 4, &lhbuf); in l2tp_udp_mt()
124 if (lh == NULL) in l2tp_udp_mt()
[all …]
/linux/drivers/md/
H A Ddm-bufio.c447 static void lh_init(struct lock_history *lh, struct dm_buffer_cache *cache, bool write) in lh_init() argument
449 lh->cache = cache; in lh_init()
450 lh->write = write; in lh_init()
451 lh->no_previous = cache->num_locks; in lh_init()
452 lh->previous = lh->no_previous; in lh_init()
455 static void __lh_lock(struct lock_history *lh, unsigned int index) in __lh_lock() argument
457 if (lh->write) { in __lh_lock()
458 if (static_branch_unlikely(&no_sleep_enabled) && lh->cache->no_sleep) in __lh_lock()
459 write_lock_bh(&lh->cache->trees[index].u.spinlock); in __lh_lock()
461 down_write(&lh->cache->trees[index].u.lock); in __lh_lock()
[all …]
/linux/drivers/video/
H A Daperture.c137 struct list_head lh; member
159 list_del(&ap->lh); in devm_aperture_acquire_release()
174 ap = container_of(pos, struct aperture_range, lh); in devm_aperture_acquire()
191 INIT_LIST_HEAD(&ap->lh); in devm_aperture_acquire()
193 list_add(&ap->lh, &apertures); in devm_aperture_acquire()
255 struct aperture_range *ap = container_of(pos, struct aperture_range, lh); in aperture_detach_devices()
265 list_del(&ap->lh); in aperture_detach_devices()
/linux/kernel/rcu/
H A Dsrcutiny.c122 struct rcu_head *lh; in srcu_drive_gp() local
136 lh = ssp->srcu_cb_head; in srcu_drive_gp()
156 while (lh) { in srcu_drive_gp()
157 rhp = lh; in srcu_drive_gp()
158 lh = lh->next; in srcu_drive_gp()
/linux/security/apparmor/
H A Dpolicy.c938 static struct aa_profile *__list_lookup_parent(struct list_head *lh, in __list_lookup_parent() argument
950 list_for_each_entry(ent, lh, list) { in __list_lookup_parent()
978 LIST_HEAD(lh); in __replace_profile()
979 list_splice_init_rcu(&old->base.profiles, &lh, synchronize_rcu); in __replace_profile()
981 list_for_each_entry_safe(child, tmp, &lh, base.list) { in __replace_profile()
1098 LIST_HEAD(lh); in aa_replace_profiles()
1103 error = aa_unpack(udata, &lh, &ns_name); in aa_replace_profiles()
1113 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles()
1163 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles()
1194 p = __list_lookup_parent(&lh, ent->new); in aa_replace_profiles()
[all …]
/linux/drivers/dma/sh/
H A Dshdma.h56 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node) argument
/linux/drivers/infiniband/hw/mlx4/
H A Dcm.c527 struct list_head lh; in mlx4_ib_cm_paravirt_clean() local
532 INIT_LIST_HEAD(&lh); in mlx4_ib_cm_paravirt_clean()
557 list_splice_init(&dev->sriov.cm_list, &lh); in mlx4_ib_cm_paravirt_clean()
566 list_move_tail(&ent->list, &lh); in mlx4_ib_cm_paravirt_clean()
569 list_for_each_entry_safe(map, tmp_map, &lh, list) { in mlx4_ib_cm_paravirt_clean()
577 list_move_tail(&map->list, &lh); in mlx4_ib_cm_paravirt_clean()
584 list_for_each_entry_safe(map, tmp_map, &lh, list) { in mlx4_ib_cm_paravirt_clean()
/linux/net/atm/
H A Dbr2684.c126 struct list_head *lh; in br2684_find_dev() local
130 list_for_each(lh, &br2684_devs) { in br2684_find_dev()
131 net_dev = list_entry_brdev(lh); in br2684_find_dev()
137 list_for_each(lh, &br2684_devs) { in br2684_find_dev()
138 net_dev = list_entry_brdev(lh); in br2684_find_dev()
151 struct list_head *lh; in atm_dev_event() local
160 list_for_each(lh, &br2684_devs) { in atm_dev_event()
161 net_dev = list_entry_brdev(lh); in atm_dev_event()
/linux/mm/
H A Dhighmem.c738 struct list_head lh; /* List of page_address_maps */ member
765 if (!list_empty(&pas->lh)) { in page_address()
768 list_for_each_entry(pam, &pas->lh, list) { in page_address()
801 list_add_tail(&pam->list, &pas->lh); in set_page_address()
805 list_for_each_entry(pam, &pas->lh, list) { in set_page_address()
820 INIT_LIST_HEAD(&page_address_htable[i].lh); in page_address_init()
/linux/drivers/net/ethernet/altera/
H A Daltera_sgdma.c447 list_add_tail(&buffer->lh, &priv->txlisthd); in queue_tx()
458 list_add_tail(&buffer->lh, &priv->rxlisthd); in queue_rx()
470 list_remove_head(&priv->txlisthd, buffer, struct tse_buffer, lh); in dequeue_tx()
483 list_remove_head(&priv->rxlisthd, buffer, struct tse_buffer, lh); in dequeue_rx()
497 list_peek_head(&priv->rxlisthd, buffer, struct tse_buffer, lh); in queue_rx_peekhead()
/linux/arch/mips/include/asm/mach-ip27/
H A Dkernel-entry-init.h83 lh t1, KV_RO_NASID_OFFSET(t0)
84 lh t2, KV_RW_NASID_OFFSET(t0)
/linux/arch/s390/mm/
H A Dpgtable.c525 struct list_head *lh = (struct list_head *) pgtable; in pgtable_trans_huge_deposit() local
531 INIT_LIST_HEAD(lh); in pgtable_trans_huge_deposit()
533 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in pgtable_trans_huge_deposit()
539 struct list_head *lh; in pgtable_trans_huge_withdraw() local
547 lh = (struct list_head *) pgtable; in pgtable_trans_huge_withdraw()
548 if (list_empty(lh)) in pgtable_trans_huge_withdraw()
551 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in pgtable_trans_huge_withdraw()
552 list_del(lh); in pgtable_trans_huge_withdraw()
/linux/arch/riscv/kernel/tests/module_test/
H A Dtest_sub16.S9 lh a0, sub16
/linux/fs/coda/
H A Dpsdev.c97 struct list_head *lh; in coda_psdev_write() local
148 list_for_each(lh, &vcp->vc_processing) { in coda_psdev_write()
149 tmp = list_entry(lh, struct upc_req , uc_chain); in coda_psdev_write()
/linux/include/linux/
H A Dfilter.h870 struct list_head *lh; in bpf_net_ctx_get_all_used_flush_lists() local
877 lh = &bpf_net_ctx->dev_map_flush_list; in bpf_net_ctx_get_all_used_flush_lists()
878 if (kern_flags & BPF_RI_F_DEV_MAP_INIT && !list_empty(lh)) in bpf_net_ctx_get_all_used_flush_lists()
879 *lh_dev = lh; in bpf_net_ctx_get_all_used_flush_lists()
881 lh = &bpf_net_ctx->cpu_map_flush_list; in bpf_net_ctx_get_all_used_flush_lists()
882 if (kern_flags & BPF_RI_F_CPU_MAP_INIT && !list_empty(lh)) in bpf_net_ctx_get_all_used_flush_lists()
883 *lh_map = lh; in bpf_net_ctx_get_all_used_flush_lists()
885 lh = &bpf_net_ctx->xskmap_map_flush_list; in bpf_net_ctx_get_all_used_flush_lists()
887 kern_flags & BPF_RI_F_XSK_MAP_INIT && !list_empty(lh)) in bpf_net_ctx_get_all_used_flush_lists()
888 *lh_xsk = lh; in bpf_net_ctx_get_all_used_flush_lists()
/linux/fs/jfs/
H A Djfs_dtree.c3399 struct ldtentry *lh; in ciCompare() local
3427 lh = (struct ldtentry *) & p->slot[si]; in ciCompare()
3428 si = lh->next; in ciCompare()
3429 name = lh->name; in ciCompare()
3430 namlen = lh->namlen; in ciCompare()
3571 struct ldtentry *lh; in dtGetKey() local
3582 lh = (struct ldtentry *) & p->slot[si]; in dtGetKey()
3583 si = lh->next; in dtGetKey()
3584 namlen = lh->namlen; in dtGetKey()
3585 name = lh->name; in dtGetKey()
[all …]
/linux/arch/powerpc/mm/book3s64/
H A Dradix_pgtable.c1491 struct list_head *lh = (struct list_head *) pgtable; in radix__pgtable_trans_huge_deposit() local
1497 INIT_LIST_HEAD(lh); in radix__pgtable_trans_huge_deposit()
1499 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in radix__pgtable_trans_huge_deposit()
1507 struct list_head *lh; in radix__pgtable_trans_huge_withdraw() local
1513 lh = (struct list_head *) pgtable; in radix__pgtable_trans_huge_withdraw()
1514 if (list_empty(lh)) in radix__pgtable_trans_huge_withdraw()
1517 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in radix__pgtable_trans_huge_withdraw()
1518 list_del(lh); in radix__pgtable_trans_huge_withdraw()
/linux/sound/usb/usx2y/
H A Dusbus428ctldefs.h65 lh, member
/linux/drivers/dma/
H A Dfsldma.h192 #define to_fsl_desc(lh) container_of(lh, struct fsl_desc_sw, node) argument
/linux/fs/proc/
H A Dinode.c246 list_del(&pdeo->lh); in close_pdeo()
268 pdeo = list_first_entry(&de->pde_openers, struct pde_opener, lh); in proc_entry_rundown()
520 list_add(&pdeo->lh, &pde->pde_openers); in proc_reg_open()
544 list_for_each_entry(pdeo, &pde->pde_openers, lh) { in proc_reg_release()
/linux/drivers/scsi/
H A Dscsi_devinfo.c787 struct list_head *lh, *lh_next; in scsi_dev_info_remove_list() local
798 list_for_each_safe(lh, lh_next, &devinfo_table->scsi_dev_info_list) { in scsi_dev_info_remove_list()
801 devinfo = list_entry(lh, struct scsi_dev_info_list, in scsi_dev_info_remove_list()
/linux/security/apparmor/include/
H A Dpolicy_unpack.h119 int aa_unpack(struct aa_loaddata *udata, struct list_head *lh, const char **ns);

12