Searched refs:lh (Results 1 - 25 of 67) sorted by relevance

123

/linux-master/net/dccp/ccids/lib/
H A Dloss_interval.c22 static inline struct tfrc_loss_interval *tfrc_lh_peek(struct tfrc_loss_hist *lh) argument
24 return lh->counter ? lh->ring[LIH_INDEX(lh->counter - 1)] : NULL;
28 static inline u32 tfrc_lh_get_interval(struct tfrc_loss_hist *lh, const u8 i) argument
30 BUG_ON(i >= lh->counter);
31 return lh->ring[LIH_INDEX(lh->counter - i - 1)]->li_length;
37 static struct tfrc_loss_interval *tfrc_lh_demand_next(struct tfrc_loss_hist *lh) argument
39 if (lh
45 tfrc_lh_cleanup(struct tfrc_loss_hist *lh) argument
58 tfrc_lh_calc_i_mean(struct tfrc_loss_hist *lh) argument
87 tfrc_lh_update_i_mean(struct tfrc_loss_hist *lh, struct sk_buff *skb) argument
138 tfrc_lh_interval_add(struct tfrc_loss_hist *lh, struct tfrc_rx_hist *rh, u32 (*calc_first_li)(struct sock *), struct sock *sk) argument
[all...]
H A Dloss_interval.h47 static inline void tfrc_lh_init(struct tfrc_loss_hist *lh) argument
49 memset(lh, 0, sizeof(struct tfrc_loss_hist));
52 static inline u8 tfrc_lh_is_initialised(struct tfrc_loss_hist *lh) argument
54 return lh->counter > 0;
57 static inline u8 tfrc_lh_length(struct tfrc_loss_hist *lh) argument
59 return min(lh->counter, (u8)LIH_SIZE);
66 u8 tfrc_lh_update_i_mean(struct tfrc_loss_hist *lh, struct sk_buff *);
67 void tfrc_lh_cleanup(struct tfrc_loss_hist *lh);
H A Dpacket_history.h135 int tfrc_rx_handle_loss(struct tfrc_rx_hist *h, struct tfrc_loss_hist *lh,
/linux-master/arch/riscv/kernel/tests/module_test/
H A Dtest_sub16.S9 lh a0, sub16
/linux-master/net/netfilter/
H A Dxt_l2tp.c84 union l2tp_val *lh; local
95 lh = skb_header_pointer(skb, offs, 2, &lhbuf);
96 if (lh == NULL)
99 flags = ntohs(lh->val16[0]);
113 lh = skb_header_pointer(skb, offs + 4, 4, &lhbuf);
114 if (lh == NULL)
117 data.tid = ntohl(lh->val32);
119 data.sid = ntohl(lh->val32);
123 lh = skb_header_pointer(skb, offs + 2, 4, &lhbuf);
124 if (lh
142 union l2tp_val *lh; local
[all...]
/linux-master/drivers/video/
H A Daperture.c137 struct list_head lh; member in struct:aperture_range
159 list_del(&ap->lh);
174 ap = container_of(pos, struct aperture_range, lh);
191 INIT_LIST_HEAD(&ap->lh);
193 list_add(&ap->lh, &apertures);
255 struct aperture_range *ap = container_of(pos, struct aperture_range, lh);
265 list_del(&ap->lh);
/linux-master/fs/gfs2/
H A Drecovery.h30 const struct gfs2_log_header *lh, unsigned int blkno,
H A Drecovery.c118 int __get_log_header(struct gfs2_sbd *sdp, const struct gfs2_log_header *lh, argument
123 if (lh->lh_header.mh_magic != cpu_to_be32(GFS2_MAGIC) ||
124 lh->lh_header.mh_type != cpu_to_be32(GFS2_METATYPE_LH) ||
125 (blkno && be32_to_cpu(lh->lh_blkno) != blkno))
128 hash = crc32(~0, lh, LH_V1_SIZE - 4);
131 if (be32_to_cpu(lh->lh_hash) != hash)
134 crc = crc32c(~0, (void *)lh + LH_V1_SIZE + 4,
137 if ((lh->lh_crc != 0 && be32_to_cpu(lh->lh_crc) != crc))
140 head->lh_sequence = be64_to_cpu(lh
221 struct gfs2_log_header_host lh; local
[all...]
H A Dlog.c835 struct gfs2_log_header *lh; local
847 lh = page_address(page);
848 clear_page(lh);
850 lh->lh_header.mh_magic = cpu_to_be32(GFS2_MAGIC);
851 lh->lh_header.mh_type = cpu_to_be32(GFS2_METATYPE_LH);
852 lh->lh_header.__pad0 = cpu_to_be64(0);
853 lh->lh_header.mh_format = cpu_to_be32(GFS2_FORMAT_LH);
854 lh->lh_header.mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid);
855 lh->lh_sequence = cpu_to_be64(seq);
856 lh
[all...]
/linux-master/arch/sparc/mm/
H A Dtlb.c271 struct list_head *lh = (struct list_head *) pgtable; local
277 INIT_LIST_HEAD(lh);
279 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp));
285 struct list_head *lh; local
292 lh = (struct list_head *) pgtable;
293 if (list_empty(lh))
296 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next;
297 list_del(lh);
/linux-master/drivers/dma/sh/
H A Dshdma.h56 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node)
/linux-master/drivers/s390/block/
H A Ddcssblk.c70 struct list_head lh; member in struct:dcssblk_dev_info
86 struct list_head lh; member in struct:segment_info
116 list_for_each_entry_safe(entry, temp, &dev_info->seg_list, lh) {
117 list_del(&entry->lh);
141 list_for_each_entry(entry, &dcssblk_devices, lh)
162 list_for_each_entry(entry, &dcssblk_devices, lh) {
181 list_for_each_entry(dev_info, &dcssblk_devices, lh) {
182 list_for_each_entry(entry, &dev_info->seg_list, lh) {
200 list_for_each_entry(entry, &dev_info->seg_list, lh) {
219 list_for_each_entry(entry, &dev_info->seg_list, lh) {
[all...]
/linux-master/drivers/md/
H A Ddm-bufio.c454 static void lh_init(struct lock_history *lh, struct dm_buffer_cache *cache, bool write) argument
456 lh->cache = cache;
457 lh->write = write;
458 lh->no_previous = cache->num_locks;
459 lh->previous = lh->no_previous;
462 static void __lh_lock(struct lock_history *lh, unsigned int index) argument
464 if (lh->write) {
465 if (static_branch_unlikely(&no_sleep_enabled) && lh->cache->no_sleep)
466 write_lock_bh(&lh
477 __lh_unlock(struct lock_history *lh, unsigned int index) argument
495 lh_exit(struct lock_history *lh) argument
507 lh_next(struct lock_history *lh, sector_t b) argument
658 struct lock_history *lh; member in struct:evict_wrapper
680 __cache_evict(struct dm_buffer_cache *bc, int list_mode, b_predicate pred, void *context, struct lock_history *lh) argument
703 struct lock_history lh; local
734 __cache_mark_many(struct dm_buffer_cache *bc, int old_mode, int new_mode, b_predicate pred, void *context, struct lock_history *lh) argument
755 struct lock_history lh; local
780 __cache_iterate(struct dm_buffer_cache *bc, int list_mode, iter_fn fn, void *context, struct lock_history *lh) argument
811 struct lock_history lh; local
[all...]
/linux-master/kernel/rcu/
H A Dsrcutiny.c115 struct rcu_head *lh; local
126 lh = ssp->srcu_cb_head;
138 while (lh) {
139 rhp = lh;
140 lh = lh->next;
/linux-master/arch/s390/appldata/
H A Dappldata_base.c110 struct list_head *lh; local
114 list_for_each(lh, &appldata_ops_list) {
115 ops = list_entry(lh, struct appldata_ops, list);
269 struct list_head *lh; local
281 list_for_each(lh, &appldata_ops_list) {
282 tmp_ops = list_entry(lh, struct appldata_ops, list);
/linux-master/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-master/security/apparmor/
H A Dpolicy.c906 static struct aa_profile *__list_lookup_parent(struct list_head *lh, argument
918 list_for_each_entry(ent, lh, list) {
946 LIST_HEAD(lh);
947 list_splice_init_rcu(&old->base.profiles, &lh, synchronize_rcu);
949 list_for_each_entry_safe(child, tmp, &lh, base.list) {
1066 LIST_HEAD(lh);
1071 error = aa_unpack(udata, &lh, &ns_name);
1081 list_for_each_entry(ent, &lh, list) {
1131 list_for_each_entry(ent, &lh, list) {
1162 p = __list_lookup_parent(&lh, en
1250 struct list_head *lh; local
[all...]
/linux-master/sound/usb/usx2y/
H A Dusbus428ctldefs.h65 lh, member in struct:usx2y_volume
/linux-master/fs/
H A Dseq_file.c905 struct list_head *lh; local
907 list_for_each(lh, head)
909 return lh;
926 struct list_head *lh; local
928 lh = ((struct list_head *)v)->next;
930 return lh == head ? NULL : lh;
936 struct list_head *lh; local
938 list_for_each_rcu(lh, head)
940 return lh;
958 struct list_head *lh; local
[all...]
/linux-master/drivers/gpio/
H A Dgpiolib-cdev.c156 static long linehandle_set_config(struct linehandle_state *lh, argument
172 for (i = 0; i < lh->num_descs; i++) {
173 desc = lh->descs[i];
200 struct linehandle_state *lh = file->private_data; local
207 guard(srcu)(&lh->gdev->srcu);
209 if (!rcu_access_pointer(lh->gdev->chip))
216 lh->num_descs, lh->descs,
222 for (i = 0; i < lh->num_descs; i++)
234 if (!test_bit(FLAG_IS_OUT, &lh
266 linehandle_free(struct linehandle_state *lh) argument
297 struct linehandle_state *lh; local
[all...]
/linux-master/include/linux/
H A Dbinfmts.h83 struct list_head lh; member in struct:linux_binfmt
/linux-master/drivers/net/ethernet/altera/
H A Daltera_sgdma.c447 list_add_tail(&buffer->lh, &priv->txlisthd);
458 list_add_tail(&buffer->lh, &priv->rxlisthd);
470 list_remove_head(&priv->txlisthd, buffer, struct tse_buffer, lh);
483 list_remove_head(&priv->rxlisthd, buffer, struct tse_buffer, lh);
497 list_peek_head(&priv->rxlisthd, buffer, struct tse_buffer, lh);
/linux-master/drivers/infiniband/hw/mlx4/
H A Dcm.c527 struct list_head lh; local
532 INIT_LIST_HEAD(&lh);
557 list_splice_init(&dev->sriov.cm_list, &lh);
566 list_move_tail(&ent->list, &lh);
569 list_for_each_entry_safe(map, tmp_map, &lh, list) {
577 list_move_tail(&map->list, &lh);
584 list_for_each_entry_safe(map, tmp_map, &lh, list) {
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_irq.c421 struct list_head *lh; local
429 lh = &adev->dm.irq_handler_list_low_tab[src];
430 INIT_LIST_HEAD(lh);
447 struct list_head *lh; local
459 lh = &adev->dm.irq_handler_list_low_tab[src];
462 if (!list_empty(lh)) {
463 list_for_each_safe(entry, tmp, lh) {
/linux-master/mm/
H A Dhighmem.c727 struct list_head lh; /* List of page_address_maps */ member in struct:page_address_slot
754 if (!list_empty(&pas->lh)) {
757 list_for_each_entry(pam, &pas->lh, list) {
790 list_add_tail(&pam->list, &pas->lh);
794 list_for_each_entry(pam, &pas->lh, list) {
809 INIT_LIST_HEAD(&page_address_htable[i].lh);

Completed in 427 milliseconds

123