Home
last modified time | relevance | path

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

12

/linux/net/dccp/ccids/lib/
H A Dloss_interval.c
H A Dloss_interval.h
H A Dpacket_history.h
H A Dpacket_history.c
/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/rust/pin-init/internal/src/
H A Dinit.rs376 let lh = content.lookahead1();
377 if lh.peek(End) || lh.peek(Token![..]) {
379 } else if lh.peek(Ident) || lh.peek(Token![_]) || lh.peek(Token![#]) {
381 let lh = content.lookahead1();
382 if lh.peek(End) {
384 } else if lh.peek(Token![,]) {
387 return Err(lh
409 let lh = content.lookahead1(); global() localVariable
414 let lh = content.lookahead1(); global() localVariable
485 let lh = input.lookahead1(); global() localVariable
494 let lh = input.lookahead1(); global() localVariable
[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/drivers/md/
H A Ddm-bufio.c462 static void lh_init(struct lock_history *lh, struct dm_buffer_cache *cache, bool write) in lh_init() argument
464 lh->cache = cache; in lh_init()
465 lh->write = write; in lh_init()
466 lh->no_previous = cache->num_locks; in lh_init()
467 lh->previous = lh->no_previous; in lh_init()
470 static void __lh_lock(struct lock_history *lh, unsigned int index) in __lh_lock() argument
472 if (lh->write) { in __lh_lock()
473 if (static_branch_unlikely(&no_sleep_enabled) && lh->cache->no_sleep) in __lh_lock()
474 write_lock_bh(&lh->cache->trees[index].u.spinlock); in __lh_lock()
476 down_write(&lh->cache->trees[index].u.lock); in __lh_lock()
[all …]
/linux/kernel/rcu/
H A Dsrcutiny.c125 struct rcu_head *lh; in srcu_drive_gp() local
139 lh = ssp->srcu_cb_head; in srcu_drive_gp()
159 while (lh) { in srcu_drive_gp()
160 rhp = lh; in srcu_drive_gp()
161 lh = lh->next; in srcu_drive_gp()
/linux/security/apparmor/
H A Dpolicy.c1031 static struct aa_profile *__list_lookup_parent(struct list_head *lh, in __list_lookup_parent() argument
1043 list_for_each_entry(ent, lh, list) { in __list_lookup_parent()
1071 LIST_HEAD(lh); in __replace_profile()
1072 list_splice_init_rcu(&old->base.profiles, &lh, synchronize_rcu); in __replace_profile()
1074 list_for_each_entry_safe(child, tmp, &lh, base.list) { in __replace_profile()
1194 LIST_HEAD(lh); in aa_replace_profiles()
1199 error = aa_unpack(udata, &lh, &ns_name, compressed_profile, compressed_size); in aa_replace_profiles()
1209 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles()
1264 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles()
1295 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/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/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/sound/usb/usx2y/
H A Dusbus428ctldefs.h65 lh, member
/linux/include/linux/
H A Dfilter.h947 struct list_head *lh; in bpf_net_ctx_get_all_used_flush_lists() local
954 lh = &bpf_net_ctx->dev_map_flush_list; in bpf_net_ctx_get_all_used_flush_lists()
955 if (kern_flags & BPF_RI_F_DEV_MAP_INIT && !list_empty(lh)) in bpf_net_ctx_get_all_used_flush_lists()
956 *lh_dev = lh; in bpf_net_ctx_get_all_used_flush_lists()
958 lh = &bpf_net_ctx->cpu_map_flush_list; in bpf_net_ctx_get_all_used_flush_lists()
959 if (kern_flags & BPF_RI_F_CPU_MAP_INIT && !list_empty(lh)) in bpf_net_ctx_get_all_used_flush_lists()
960 *lh_map = lh; in bpf_net_ctx_get_all_used_flush_lists()
962 lh = &bpf_net_ctx->xskmap_map_flush_list; in bpf_net_ctx_get_all_used_flush_lists()
964 kern_flags & BPF_RI_F_XSK_MAP_INIT && !list_empty(lh)) in bpf_net_ctx_get_all_used_flush_lists()
965 *lh_xsk = lh; in bpf_net_ctx_get_all_used_flush_lists()
/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/security/apparmor/include/
H A Dpolicy_unpack.h132 int aa_unpack(struct aa_loaddata *udata, struct list_head *lh, const char **ns,
/linux/net/bluetooth/
H A Dl2cap_core.c1176 struct l2cap_hdr *lh; in l2cap_create_sframe_pdu() local
1187 lh = skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_sframe_pdu()
1188 lh->len = cpu_to_le16(hlen - L2CAP_HDR_SIZE); in l2cap_create_sframe_pdu()
1189 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_sframe_pdu()
2287 struct l2cap_hdr *lh; in l2cap_create_connless_pdu() local
2300 lh = skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_connless_pdu()
2301 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_connless_pdu()
2302 lh->len = cpu_to_le16(len + L2CAP_PSMLEN_SIZE); in l2cap_create_connless_pdu()
2319 struct l2cap_hdr *lh; in l2cap_create_basic_pdu() local
2331 lh = skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_basic_pdu()
[all …]
/linux/arch/mips/kernel/
H A Dcps-vec-ns16550.S21 # define UART_L lh
/linux/arch/xtensa/lib/
H A Dmulsi3.S58 mula.aa.lh a2, a3

12