Home
last modified time | relevance | path

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

123

/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/s390/block/
H A Ddcssblk.c68 struct list_head lh; member
86 struct list_head lh; member
116 list_for_each_entry_safe(entry, temp, &dev_info->seg_list, lh) { in dcssblk_release_segment()
117 list_del(&entry->lh); in dcssblk_release_segment()
141 list_for_each_entry(entry, &dcssblk_devices, lh) in dcssblk_assign_free_minor()
162 list_for_each_entry(entry, &dcssblk_devices, lh) { in dcssblk_get_device_by_name()
181 list_for_each_entry(dev_info, &dcssblk_devices, lh) { in dcssblk_get_segment_by_name()
182 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_get_segment_by_name()
200 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_highest_addr()
219 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_lowest_addr()
[all …]
/linux/fs/gfs2/
H A Drecovery.c118 int __get_log_header(struct gfs2_sbd *sdp, const struct gfs2_log_header *lh, in __get_log_header() argument
124 if (lh->lh_header.mh_magic != cpu_to_be32(GFS2_MAGIC) || in __get_log_header()
125 lh->lh_header.mh_type != cpu_to_be32(GFS2_METATYPE_LH) || in __get_log_header()
126 (blkno && be32_to_cpu(lh->lh_blkno) != blkno)) in __get_log_header()
129 hash = crc32(~0, lh, LH_V1_SIZE - 4); in __get_log_header()
132 if (be32_to_cpu(lh->lh_hash) != hash) in __get_log_header()
135 crc = crc32c(~0, (void *)lh + LH_V1_SIZE + 4, in __get_log_header()
138 if ((lh->lh_crc != 0 && be32_to_cpu(lh->lh_crc) != crc)) in __get_log_header()
141 head->lh_sequence = be64_to_cpu(lh->lh_sequence); in __get_log_header()
142 head->lh_flags = be32_to_cpu(lh->lh_flags); in __get_log_header()
[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.c955 static struct aa_profile *__list_lookup_parent(struct list_head *lh, in __list_lookup_parent() argument
967 list_for_each_entry(ent, lh, list) { in __list_lookup_parent()
995 LIST_HEAD(lh); in __replace_profile()
996 list_splice_init_rcu(&old->base.profiles, &lh, synchronize_rcu); in __replace_profile()
998 list_for_each_entry_safe(child, tmp, &lh, base.list) { in __replace_profile()
1115 LIST_HEAD(lh); in aa_replace_profiles()
1120 error = aa_unpack(udata, &lh, &ns_name); in aa_replace_profiles()
1130 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles()
1180 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles()
1211 p = __list_lookup_parent(&lh, ent->new); in aa_replace_profiles()
[all …]
/linux/arch/s390/appldata/
H A Dappldata_base.c110 struct list_head *lh; in appldata_work_fn() local
114 list_for_each(lh, &appldata_ops_list) { in appldata_work_fn()
115 ops = list_entry(lh, struct appldata_ops, list); in appldata_work_fn()
269 struct list_head *lh; in appldata_generic_handler() local
281 list_for_each(lh, &appldata_ops_list) { in appldata_generic_handler()
282 tmp_ops = list_entry(lh, struct appldata_ops, list); in appldata_generic_handler()
/linux/fs/
H A Dseq_file.c899 struct list_head *lh; in seq_list_start() local
901 list_for_each(lh, head) in seq_list_start()
903 return lh; in seq_list_start()
920 struct list_head *lh; in seq_list_next() local
922 lh = ((struct list_head *)v)->next; in seq_list_next()
924 return lh == head ? NULL : lh; in seq_list_next()
930 struct list_head *lh; in seq_list_start_rcu() local
932 list_for_each_rcu(lh, head) in seq_list_start_rcu()
934 return lh; in seq_list_start_rcu()
952 struct list_head *lh; in seq_list_next_rcu() local
[all …]
/linux/drivers/gpio/
H A Dgpiolib-cdev.c163 static long linehandle_set_config(struct linehandle_state *lh, in linehandle_set_config() argument
183 for (i = 0; i < lh->num_descs; i++) { in linehandle_set_config()
184 desc = lh->descs[i]; in linehandle_set_config()
207 struct linehandle_state *lh = file->private_data; in linehandle_ioctl() local
214 guard(srcu)(&lh->gdev->srcu); in linehandle_ioctl()
216 if (!rcu_access_pointer(lh->gdev->chip)) in linehandle_ioctl()
223 lh->num_descs, lh->descs, in linehandle_ioctl()
229 for (i = 0; i < lh->num_descs; i++) in linehandle_ioctl()
241 if (!test_bit(GPIOD_FLAG_IS_OUT, &lh->descs[0]->flags)) in linehandle_ioctl()
248 for (i = 0; i < lh->num_descs; i++) in linehandle_ioctl()
[all …]
/linux/drivers/dma/sh/
H A Dshdma.h56 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node) argument
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_irq.c422 struct list_head *lh; in amdgpu_dm_irq_init() local
430 lh = &adev->dm.irq_handler_list_low_tab[src]; in amdgpu_dm_irq_init()
431 INIT_LIST_HEAD(lh); in amdgpu_dm_irq_init()
448 struct list_head *lh; in amdgpu_dm_irq_fini() local
460 lh = &adev->dm.irq_handler_list_low_tab[src]; in amdgpu_dm_irq_fini()
463 if (!list_empty(lh)) { in amdgpu_dm_irq_fini()
464 list_for_each_safe(entry, tmp, lh) { in amdgpu_dm_irq_fini()
/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.c739 struct list_head lh; /* List of page_address_maps */
766 if (!list_empty(&pas->lh)) { in page_address()
769 list_for_each_entry(pam, &pas->lh, list) { in page_address()
802 list_add_tail(&pam->list, &pas->lh); in set_page_address()
806 list_for_each_entry(pam, &pas->lh, list) { in set_page_address()
821 INIT_LIST_HEAD(&page_address_htable[i].lh); in page_address_init()
738 struct list_head lh; /* List of page_address_maps */ global() member
/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/drivers/gpu/drm/exynos/
H A Dexynos_drm_ipp.c482 struct drm_exynos_ipp_limit_val *lh = &l.h, *lv = &l.v; in exynos_drm_ipp_check_size_limits() local
495 lh = &l.v; in exynos_drm_ipp_check_size_limits()
498 if (!__size_limit_check(buf->rect.w, lh) || in exynos_drm_ipp_check_size_limits()
499 !__align_check(buf->rect.x, lh->align) || in exynos_drm_ipp_check_size_limits()
527 const struct drm_exynos_ipp_limit_val *lh, *lv; in exynos_drm_ipp_check_scale_limits() local
537 lh = (!swap) ? &limits->h : &limits->v; in exynos_drm_ipp_check_scale_limits()
542 if (!__scale_limit_check(src->w, dw, lh->min, lh->max) || in exynos_drm_ipp_check_scale_limits()
/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/arch/riscv/kernel/tests/module_test/
H A Dtest_sub16.S9 lh a0, sub16
/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()

123