Searched refs:lh (Results 1 - 25 of 67) sorted by last modified time

123

/linux-master/net/ipv4/
H A Daf_inet.c1192 struct list_head *lh; local
1204 list_for_each(lh, &inetsw[p->type]) {
1205 answer = list_entry(lh, struct inet_protosw, list);
1211 last_perm = lh;
/linux-master/drivers/s390/net/
H A Dqeth_core_main.c3454 struct list_head *lh; local
3482 list_for_each(lh, &card->qdio.in_buf_pool.entry_list)
/linux-master/net/bluetooth/
H A Dl2cap_core.c1097 struct l2cap_hdr *lh; local
1108 lh = skb_put(skb, L2CAP_HDR_SIZE);
1109 lh->len = cpu_to_le16(hlen - L2CAP_HDR_SIZE);
1110 lh->cid = cpu_to_le16(chan->dcid);
2220 struct l2cap_hdr *lh; local
2233 lh = skb_put(skb, L2CAP_HDR_SIZE);
2234 lh->cid = cpu_to_le16(chan->dcid);
2235 lh->len = cpu_to_le16(len + L2CAP_PSMLEN_SIZE);
2252 struct l2cap_hdr *lh; local
2264 lh
2283 struct l2cap_hdr *lh; local
2403 struct l2cap_hdr *lh; local
2918 struct l2cap_hdr *lh; local
6759 struct l2cap_hdr *lh = (void *) skb->data; local
[all...]
/linux-master/net/ipv6/
H A Dip6_fib.c76 list_for_each_entry(w, &(net)->ipv6.fib6_walkers, lh)
81 list_add(&w->lh, &net->ipv6.fib6_walkers);
88 list_del(&w->lh);
2596 INIT_LIST_HEAD(&iter->w.lh);
H A Daf_inet6.c754 struct list_head *lh; local
770 list_for_each(lh, &inetsw6[p->type]) {
771 answer = list_entry(lh, struct inet_protosw, list);
777 last_perm = lh;
/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/fs/
H A Dexec.c90 insert ? list_add(&fmt->lh, &formats) :
91 list_add_tail(&fmt->lh, &formats);
100 list_del(&fmt->lh);
159 list_for_each_entry(fmt, &formats, lh) {
1773 list_for_each_entry(fmt, &formats, lh) {
/linux-master/include/linux/
H A Dnetdevice.h3017 #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list)
3024 struct list_head *lh; local
3028 lh = dev->dev_list.next;
3029 return lh == &net->dev_base_head ? NULL : net_device_entry(lh);
3034 struct list_head *lh; local
3038 lh = rcu_dereference(list_next_rcu(&dev->dev_list));
3039 return lh == &net->dev_base_head ? NULL : net_device_entry(lh);
3050 struct list_head *lh = rcu_dereference(list_next_rcu(&net->dev_base_head)); local
[all...]
/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/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c366 ff_layout_alloc_lseg(struct pnfs_layout_hdr *lh, argument
514 mirror = ff_layout_add_mirror(lh, fls->mirror_array[i]);
/linux-master/drivers/scsi/
H A Dscsi_devinfo.c818 struct list_head *lh, *lh_next; local
829 list_for_each_safe(lh, lh_next, &devinfo_table->scsi_dev_info_list) {
832 devinfo = list_entry(lh, struct scsi_dev_info_list,
/linux-master/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_common.h778 void s5p_mfc_cleanup_queue(struct list_head *lh, struct vb2_queue *vq);
H A Ds5p_mfc.c130 void s5p_mfc_cleanup_queue(struct list_head *lh, struct vb2_queue *vq) argument
135 while (!list_empty(lh)) {
136 b = list_entry(lh->next, struct s5p_mfc_buf, list);
/linux-master/arch/powerpc/mm/book3s64/
H A Dradix_pgtable.c1407 struct list_head *lh = (struct list_head *) pgtable; local
1413 INIT_LIST_HEAD(lh);
1415 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp));
1423 struct list_head *lh; local
1429 lh = (struct list_head *) pgtable;
1430 if (list_empty(lh))
1433 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next;
1434 list_del(lh);
/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/arch/s390/mm/
H A Dpgtable.c568 struct list_head *lh = (struct list_head *) pgtable; local
574 INIT_LIST_HEAD(lh);
576 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp));
582 struct list_head *lh; local
590 lh = (struct list_head *) pgtable;
591 if (list_empty(lh))
594 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next;
595 list_del(lh);
/linux-master/include/net/
H A Dip6_fib.h356 struct list_head lh; member in struct:fib6_walker
/linux-master/fs/proc/
H A Dinode.c246 list_del(&pdeo->lh);
268 pdeo = list_first_entry(&de->pde_openers, struct pde_opener, lh);
535 list_add(&pdeo->lh, &pde->pde_openers);
562 list_for_each_entry(pdeo, &pde->pde_openers, lh) {
/linux-master/fs/nfs/
H A Ddir.c3033 struct list_head *lh; local
3038 lh = rcu_dereference(list_tail_rcu(&nfsi->access_cache_entry_lru));
3039 cache = list_entry(lh, struct nfs_access_entry, lru);
3040 if (lh == &nfsi->access_cache_entry_lru ||
/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/security/apparmor/
H A Dpolicy_unpack.c1392 * @lh: list to place unpacked profiles in a aa_repl_ws
1396 * @lh in order of discovery, with the list chain stored in base.list
1399 * Returns: profile(s) on @lh else error pointer if fails to unpack
1401 int aa_unpack(struct aa_loaddata *udata, struct list_head *lh, argument
1447 list_add_tail(&ent->list, lh);
1471 list_for_each_entry_safe(ent, tmp, lh, list) {
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/drivers/dma/sh/
H A Dshdma.h56 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node)
/linux-master/drivers/s390/scsi/
H A Dzfcp_fc.c715 static void zfcp_fc_validate_port(struct zfcp_port *port, struct list_head *lh) argument
726 list_move_tail(&port->list, 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 455 milliseconds

123