/linux-4.4.14/net/dccp/ccids/lib/ |
D | loss_interval.c | 26 static inline struct tfrc_loss_interval *tfrc_lh_peek(struct tfrc_loss_hist *lh) in tfrc_lh_peek() argument 28 return lh->counter ? lh->ring[LIH_INDEX(lh->counter - 1)] : NULL; in tfrc_lh_peek() 32 static inline u32 tfrc_lh_get_interval(struct tfrc_loss_hist *lh, const u8 i) in tfrc_lh_get_interval() argument 34 BUG_ON(i >= lh->counter); in tfrc_lh_get_interval() 35 return lh->ring[LIH_INDEX(lh->counter - i - 1)]->li_length; in tfrc_lh_get_interval() 41 static struct tfrc_loss_interval *tfrc_lh_demand_next(struct tfrc_loss_hist *lh) in tfrc_lh_demand_next() argument 43 if (lh->ring[LIH_INDEX(lh->counter)] == NULL) in tfrc_lh_demand_next() 44 lh->ring[LIH_INDEX(lh->counter)] = kmem_cache_alloc(tfrc_lh_slab, in tfrc_lh_demand_next() 46 return lh->ring[LIH_INDEX(lh->counter)]; in tfrc_lh_demand_next() 49 void tfrc_lh_cleanup(struct tfrc_loss_hist *lh) in tfrc_lh_cleanup() argument [all …]
|
D | loss_interval.h | 51 static inline void tfrc_lh_init(struct tfrc_loss_hist *lh) in tfrc_lh_init() argument 53 memset(lh, 0, sizeof(struct tfrc_loss_hist)); in tfrc_lh_init() 56 static inline u8 tfrc_lh_is_initialised(struct tfrc_loss_hist *lh) in tfrc_lh_is_initialised() argument 58 return lh->counter > 0; in tfrc_lh_is_initialised() 61 static inline u8 tfrc_lh_length(struct tfrc_loss_hist *lh) in tfrc_lh_length() argument 63 return min(lh->counter, (u8)LIH_SIZE); in tfrc_lh_length() 70 u8 tfrc_lh_update_i_mean(struct tfrc_loss_hist *lh, struct sk_buff *); 71 void tfrc_lh_cleanup(struct tfrc_loss_hist *lh);
|
D | packet_history.h | 148 int tfrc_rx_handle_loss(struct tfrc_rx_hist *h, struct tfrc_loss_hist *lh,
|
D | packet_history.c | 327 struct tfrc_loss_hist *lh, in tfrc_rx_handle_loss() argument 343 is_new_loss = tfrc_lh_interval_add(lh, h, calc_first_li, sk); in tfrc_rx_handle_loss()
|
/linux-4.4.14/net/netfilter/ |
D | xt_l2tp.c | 87 union l2tp_val *lh; in l2tp_udp_mt() local 98 lh = skb_header_pointer(skb, offs, 2, &lhbuf); in l2tp_udp_mt() 99 if (lh == NULL) in l2tp_udp_mt() 102 flags = ntohs(lh->val16[0]); in l2tp_udp_mt() 116 lh = skb_header_pointer(skb, offs + 4, 4, &lhbuf); in l2tp_udp_mt() 117 if (lh == NULL) in l2tp_udp_mt() 120 data.tid = ntohl(lh->val32); in l2tp_udp_mt() 122 data.sid = ntohl(lh->val32); in l2tp_udp_mt() 126 lh = skb_header_pointer(skb, offs + 2, 4, &lhbuf); in l2tp_udp_mt() 127 if (lh == NULL) in l2tp_udp_mt() [all …]
|
D | xt_connlimit.c | 107 union nf_inet_addr lh, rh; in same_source_net() local 111 lh.ip6[i] = addr->ip6[i] & mask->ip6[i]; in same_source_net() 115 return memcmp(&lh.ip6, &rh.ip6, sizeof(lh.ip6)); in same_source_net()
|
/linux-4.4.14/fs/gfs2/ |
D | recovery.c | 120 static int gfs2_log_header_in(struct gfs2_log_header_host *lh, const void *buf) in gfs2_log_header_in() argument 128 lh->lh_sequence = be64_to_cpu(str->lh_sequence); in gfs2_log_header_in() 129 lh->lh_flags = be32_to_cpu(str->lh_flags); in gfs2_log_header_in() 130 lh->lh_tail = be32_to_cpu(str->lh_tail); in gfs2_log_header_in() 131 lh->lh_blkno = be32_to_cpu(str->lh_blkno); in gfs2_log_header_in() 132 lh->lh_hash = be32_to_cpu(str->lh_hash); in gfs2_log_header_in() 154 struct gfs2_log_header_host uninitialized_var(lh); in get_log_header() 167 error = gfs2_log_header_in(&lh, bh->b_data); in get_log_header() 170 if (error || lh.lh_blkno != blk || lh.lh_hash != hash) in get_log_header() 173 *head = lh; in get_log_header() [all …]
|
D | log.c | 657 struct gfs2_log_header *lh; in log_write_header() local 663 lh = page_address(page); in log_write_header() 664 clear_page(lh); in log_write_header() 670 lh->lh_header.mh_magic = cpu_to_be32(GFS2_MAGIC); in log_write_header() 671 lh->lh_header.mh_type = cpu_to_be32(GFS2_METATYPE_LH); in log_write_header() 672 lh->lh_header.__pad0 = cpu_to_be64(0); in log_write_header() 673 lh->lh_header.mh_format = cpu_to_be32(GFS2_FORMAT_LH); in log_write_header() 674 lh->lh_header.mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in log_write_header() 675 lh->lh_sequence = cpu_to_be64(sdp->sd_log_sequence++); in log_write_header() 676 lh->lh_flags = cpu_to_be32(flags); in log_write_header() [all …]
|
D | super.c | 649 struct gfs2_log_header_host lh; in gfs2_lock_fs_check_clean() local 674 error = gfs2_find_jhead(jd, &lh); in gfs2_lock_fs_check_clean() 677 if (!(lh.lh_flags & GFS2_LOG_HEAD_UNMOUNT)) { in gfs2_lock_fs_check_clean()
|
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/ |
D | lproc_mdc.c | 97 struct kuc_hdr *lh; in mdc_kuc_write() local 111 len = sizeof(*lh) + sizeof(*hal) + MTI_NAME_MAXLEN + in mdc_kuc_write() 114 lh = kzalloc(len, GFP_NOFS); in mdc_kuc_write() 115 if (!lh) in mdc_kuc_write() 118 lh->kuc_magic = KUC_MAGIC; in mdc_kuc_write() 119 lh->kuc_transport = KUC_TRANSPORT_HSM; in mdc_kuc_write() 120 lh->kuc_msgtype = HMT_ACTION_LIST; in mdc_kuc_write() 121 lh->kuc_msglen = len; in mdc_kuc_write() 123 hal = (struct hsm_action_list *)(lh + 1); in mdc_kuc_write() 142 rc = libcfs_kkuc_group_put(KUC_GRP_HSM, lh); in mdc_kuc_write() [all …]
|
D | mdc_request.c | 1437 struct kuc_hdr *lh = (struct kuc_hdr *)buf; in changelog_kuc_hdr() local 1441 lh->kuc_magic = KUC_MAGIC; in changelog_kuc_hdr() 1442 lh->kuc_transport = KUC_TRANSPORT_CHANGELOG; in changelog_kuc_hdr() 1443 lh->kuc_flags = flags; in changelog_kuc_hdr() 1444 lh->kuc_msgtype = CL_RECORD; in changelog_kuc_hdr() 1445 lh->kuc_msglen = len; in changelog_kuc_hdr() 1446 return lh; in changelog_kuc_hdr() 1464 struct kuc_hdr *lh; in changelog_kkuc_cb() local 1489 len = sizeof(*lh) + changelog_rec_size(&rec->cr) + rec->cr.cr_namelen; in changelog_kkuc_cb() 1492 lh = changelog_kuc_hdr(cs->cs_buf, len, cs->cs_flags); in changelog_kkuc_cb() [all …]
|
/linux-4.4.14/drivers/s390/block/ |
D | dcssblk.c | 46 struct list_head lh; member 62 struct list_head lh; member 92 list_for_each_entry_safe(entry, temp, &dev_info->seg_list, lh) { in dcssblk_release_segment() 93 list_del(&entry->lh); in dcssblk_release_segment() 117 list_for_each_entry(entry, &dcssblk_devices, lh) in dcssblk_assign_free_minor() 138 list_for_each_entry(entry, &dcssblk_devices, lh) { in dcssblk_get_device_by_name() 157 list_for_each_entry(dev_info, &dcssblk_devices, lh) { in dcssblk_get_segment_by_name() 158 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_get_segment_by_name() 176 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_highest_addr() 195 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_lowest_addr() [all …]
|
/linux-4.4.14/arch/metag/kernel/ |
D | tcm.c | 28 struct list_head *lh; in find_pool() local 31 list_for_each(lh, &pool_list) { in find_pool() 32 pool = list_entry(lh, struct tcm_pool, list); in find_pool() 94 struct list_head *lh; in tcm_lookup_tag() local 98 list_for_each(lh, &pool_list) { in tcm_lookup_tag() 99 pool = list_entry(lh, struct tcm_pool, list); in tcm_lookup_tag()
|
D | kick.c | 73 struct list_head *lh; in kick_handler() local 94 list_for_each(lh, &kick_handlers_list) { in kick_handler() 95 kh = list_entry(lh, struct kick_irq_handler, list); in kick_handler()
|
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/ |
D | lib-lnet.h | 256 lnet_libhandle_t *lh); 258 lnet_res_lh_invalidate(lnet_libhandle_t *lh) in lnet_res_lh_invalidate() argument 261 list_del(&lh->lh_hash_chain); in lnet_res_lh_invalidate() 278 lnet_libhandle_t *lh; in lnet_handle2eq() local 280 lh = lnet_res_lh_lookup(&the_lnet.ln_eq_container, handle->cookie); in lnet_handle2eq() 281 if (lh == NULL) in lnet_handle2eq() 284 return lh_entry(lh, lnet_eq_t, eq_lh); in lnet_handle2eq() 297 lnet_libhandle_t *lh; in lnet_handle2md() local 301 lh = lnet_res_lh_lookup(the_lnet.ln_md_containers[cpt], in lnet_handle2md() 303 if (lh == NULL) in lnet_handle2md() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | kernel_user_comm.c | 156 struct kuc_hdr lh; in libcfs_kkuc_group_rem() local 158 lh.kuc_magic = KUC_MAGIC; in libcfs_kkuc_group_rem() 159 lh.kuc_transport = KUC_TRANSPORT_GENERIC; in libcfs_kkuc_group_rem() 160 lh.kuc_msgtype = KUC_MSG_SHUTDOWN; in libcfs_kkuc_group_rem() 161 lh.kuc_msglen = sizeof(lh); in libcfs_kkuc_group_rem() 162 libcfs_kkuc_group_put(group, &lh); in libcfs_kkuc_group_rem()
|
/linux-4.4.14/arch/sparc/mm/ |
D | tlb.c | 221 struct list_head *lh = (struct list_head *) pgtable; in pgtable_trans_huge_deposit() local 227 INIT_LIST_HEAD(lh); in pgtable_trans_huge_deposit() 229 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in pgtable_trans_huge_deposit() 235 struct list_head *lh; in pgtable_trans_huge_withdraw() local 242 lh = (struct list_head *) pgtable; in pgtable_trans_huge_withdraw() 243 if (list_empty(lh)) in pgtable_trans_huge_withdraw() 246 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in pgtable_trans_huge_withdraw() 247 list_del(lh); in pgtable_trans_huge_withdraw()
|
/linux-4.4.14/arch/s390/appldata/ |
D | appldata_base.c | 125 struct list_head *lh; in appldata_work_fn() local 129 list_for_each(lh, &appldata_ops_list) { in appldata_work_fn() 130 ops = list_entry(lh, struct appldata_ops, list); in appldata_work_fn() 297 struct list_head *lh; in appldata_generic_handler() local 301 list_for_each(lh, &appldata_ops_list) { in appldata_generic_handler() 302 tmp_ops = list_entry(lh, struct appldata_ops, list); in appldata_generic_handler() 443 struct list_head *lh; in appldata_freeze() local 453 list_for_each(lh, &appldata_ops_list) { in appldata_freeze() 454 ops = list_entry(lh, struct appldata_ops, list); in appldata_freeze() 472 struct list_head *lh; in appldata_restore() local [all …]
|
/linux-4.4.14/mm/ |
D | highmem.c | 397 struct list_head lh; /* List of page_address_maps */ member 424 if (!list_empty(&pas->lh)) { in page_address() 427 list_for_each_entry(pam, &pas->lh, list) { in page_address() 461 list_add_tail(&pam->list, &pas->lh); in set_page_address() 465 list_for_each_entry(pam, &pas->lh, list) { in set_page_address() 483 INIT_LIST_HEAD(&page_address_htable[i].lh); in page_address_init()
|
D | swapfile.c | 168 struct list_head *lh; in discard_swap_cluster() local 191 lh = se->list.next; in discard_swap_cluster() 192 se = list_entry(lh, struct swap_extent, list); in discard_swap_cluster() 1636 struct list_head *lh; in map_swap_entry() local 1642 lh = se->list.next; in map_swap_entry() 1643 se = list_entry(lh, struct swap_extent, list); in map_swap_entry() 1694 struct list_head *lh; in add_swap_extent() local 1704 lh = sis->first_swap_extent.list.prev; /* Highest extent */ in add_swap_extent() 1705 se = list_entry(lh, struct swap_extent, list); in add_swap_extent()
|
/linux-4.4.14/net/ipv4/ |
D | inetpeer.c | 247 int lh, rh; in peer_avl_rebalance() local 254 lh = node_height(l); in peer_avl_rebalance() 256 if (lh > rh + 1) { /* l: RH+2 */ in peer_avl_rebalance() 284 } else if (rh > lh + 1) { /* r: LH+2 */ in peer_avl_rebalance() 303 node->avl_height = lh + 1; /* node: LH+1 */ in peer_avl_rebalance() 306 r->avl_height = lh + 1; /* r: LH+1 */ in peer_avl_rebalance() 309 rl->avl_height = lh + 2; in peer_avl_rebalance() 313 node->avl_height = (lh > rh ? lh : rh) + 1; in peer_avl_rebalance()
|
D | af_inet.c | 1034 struct list_head *lh; in inet_register_protosw() local 1046 list_for_each(lh, &inetsw[p->type]) { in inet_register_protosw() 1047 answer = list_entry(lh, struct inet_protosw, list); in inet_register_protosw() 1053 last_perm = lh; in inet_register_protosw()
|
/linux-4.4.14/security/apparmor/ |
D | policy.c | 941 static struct aa_profile *__list_lookup_parent(struct list_head *lh, in __list_lookup_parent() argument 953 list_for_each_entry(ent, lh, list) { in __list_lookup_parent() 983 LIST_HEAD(lh); in __replace_profile() 984 list_splice_init_rcu(&old->base.profiles, &lh, synchronize_rcu); in __replace_profile() 986 list_for_each_entry_safe(child, tmp, &lh, base.list) { in __replace_profile() 1075 LIST_HEAD(lh); in aa_replace_profiles() 1078 error = aa_unpack(udata, size, &lh, &ns_name); in aa_replace_profiles() 1093 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles() 1120 p = __list_lookup_parent(&lh, ent->new); in aa_replace_profiles() 1136 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles() [all …]
|
D | policy_unpack.c | 749 int aa_unpack(void *udata, size_t size, struct list_head *lh, const char **ns) in aa_unpack() argument 790 list_add_tail(&ent->list, lh); in aa_unpack() 799 list_for_each_entry_safe(ent, tmp, lh, list) { in aa_unpack()
|
/linux-4.4.14/drivers/dma/sh/ |
D | shdma.h | 60 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node) argument
|
/linux-4.4.14/arch/arc/mm/ |
D | tlb.c | 665 struct list_head *lh = (struct list_head *) pgtable; in pgtable_trans_huge_deposit() local 671 INIT_LIST_HEAD(lh); in pgtable_trans_huge_deposit() 673 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in pgtable_trans_huge_deposit() 679 struct list_head *lh; in pgtable_trans_huge_withdraw() local 685 lh = (struct list_head *) pgtable; in pgtable_trans_huge_withdraw() 686 if (list_empty(lh)) in pgtable_trans_huge_withdraw() 689 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in pgtable_trans_huge_withdraw() 690 list_del(lh); in pgtable_trans_huge_withdraw()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | cm.c | 417 struct list_head lh; in mlx4_ib_cm_paravirt_clean() local 422 INIT_LIST_HEAD(&lh); in mlx4_ib_cm_paravirt_clean() 447 list_splice_init(&dev->sriov.cm_list, &lh); in mlx4_ib_cm_paravirt_clean() 456 list_move_tail(&ent->list, &lh); in mlx4_ib_cm_paravirt_clean() 459 list_for_each_entry_safe(map, tmp_map, &lh, list) { in mlx4_ib_cm_paravirt_clean() 467 list_move_tail(&map->list, &lh); in mlx4_ib_cm_paravirt_clean() 474 list_for_each_entry_safe(map, tmp_map, &lh, list) { in mlx4_ib_cm_paravirt_clean()
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | rx_reorder.c | 409 struct list_head *lh; in wil_back_rx_worker() local 411 while ((lh = next_back_rx(wil)) != NULL) { in wil_back_rx_worker() 412 evt = list_entry(lh, struct wil_back_rx, list); in wil_back_rx_worker() 464 struct list_head *lh; in wil_back_tx_worker() local 466 while ((lh = next_back_tx(wil)) != NULL) { in wil_back_tx_worker() 467 evt = list_entry(lh, struct wil_back_tx, list); in wil_back_tx_worker()
|
D | cfg80211.c | 988 struct list_head *lh; in wil_probe_client_worker() local 990 while ((lh = next_probe_client(wil)) != NULL) { in wil_probe_client_worker() 991 req = list_entry(lh, struct wil_probe_client_req, list); in wil_probe_client_worker()
|
D | wmi.c | 1399 struct list_head *lh; in wmi_event_worker() local 1402 while ((lh = next_wmi_ev(wil)) != NULL) { in wmi_event_worker() 1403 evt = list_entry(lh, struct pending_wmi_event, list); in wmi_event_worker()
|
/linux-4.4.14/drivers/net/ethernet/altera/ |
D | altera_sgdma.c | 458 list_add_tail(&buffer->lh, &priv->txlisthd); in queue_tx() 469 list_add_tail(&buffer->lh, &priv->rxlisthd); in queue_rx() 481 list_remove_head(&priv->txlisthd, buffer, struct tse_buffer, lh); in dequeue_tx() 494 list_remove_head(&priv->rxlisthd, buffer, struct tse_buffer, lh); in dequeue_rx() 508 list_peek_head(&priv->rxlisthd, buffer, struct tse_buffer, lh); in queue_rx_peekhead()
|
D | altera_tse.h | 372 struct list_head lh; member
|
/linux-4.4.14/net/atm/ |
D | br2684.c | 125 struct list_head *lh; in br2684_find_dev() local 129 list_for_each(lh, &br2684_devs) { in br2684_find_dev() 130 net_dev = list_entry_brdev(lh); in br2684_find_dev() 136 list_for_each(lh, &br2684_devs) { in br2684_find_dev() 137 net_dev = list_entry_brdev(lh); in br2684_find_dev() 150 struct list_head *lh; in atm_dev_event() local 159 list_for_each(lh, &br2684_devs) { in atm_dev_event() 160 net_dev = list_entry_brdev(lh); in atm_dev_event()
|
/linux-4.4.14/arch/mips/include/asm/mach-ip27/ |
D | kernel-entry-init.h | 93 lh t1, KV_RO_NASID_OFFSET(t0) 94 lh t2, KV_RW_NASID_OFFSET(t0)
|
/linux-4.4.14/fs/ |
D | seq_file.c | 803 struct list_head *lh; in seq_list_start() local 805 list_for_each(lh, head) in seq_list_start() 807 return lh; in seq_list_start() 824 struct list_head *lh; in seq_list_next() local 826 lh = ((struct list_head *)v)->next; in seq_list_next() 828 return lh == head ? NULL : lh; in seq_list_next()
|
D | exec.c | 80 insert ? list_add(&fmt->lh, &formats) : in __register_binfmt() 81 list_add_tail(&fmt->lh, &formats); in __register_binfmt() 90 list_del(&fmt->lh); in unregister_binfmt() 149 list_for_each_entry(fmt, &formats, lh) { in SYSCALL_DEFINE1() 1423 list_for_each_entry(fmt, &formats, lh) { in search_binary_handler()
|
/linux-4.4.14/security/apparmor/include/ |
D | policy_unpack.h | 37 int aa_unpack(void *udata, size_t size, struct list_head *lh, const char **ns);
|
/linux-4.4.14/fs/proc/ |
D | inode.c | 155 list_del_init(&pdeo->lh); in close_pdeo() 173 pdeo = list_first_entry(&de->pde_openers, struct pde_opener, lh); in proc_entry_rundown() 343 list_add(&pdeo->lh, &pde->pde_openers); in proc_reg_open() 357 list_for_each_entry(pdeo, &pde->pde_openers, lh) { in proc_reg_release()
|
D | internal.h | 205 struct list_head lh; member
|
/linux-4.4.14/drivers/dma/ |
D | fsldma.h | 192 #define to_fsl_desc(lh) container_of(lh, struct fsl_desc_sw, node) argument
|
D | mmp_pdma.c | 136 #define to_mmp_pdma_desc(lh) \ argument 137 container_of(lh, struct mmp_pdma_desc_sw, node)
|
/linux-4.4.14/lib/ |
D | lru_cache.c | 623 struct list_head *lh; in lc_set() local 635 lh = &lc->free; in lc_set() 638 lh = &lc->lru; in lc_set() 640 list_move(&e->list, lh); in lc_set()
|
/linux-4.4.14/fs/coda/ |
D | psdev.c | 103 struct list_head *lh; in coda_psdev_write() local 150 list_for_each(lh, &vcp->vc_processing) { in coda_psdev_write() 151 tmp = list_entry(lh, struct upc_req , uc_chain); in coda_psdev_write()
|
/linux-4.4.14/arch/s390/mm/ |
D | pgtable.c | 1301 struct list_head *lh = (struct list_head *) pgtable; in pgtable_trans_huge_deposit() local 1307 INIT_LIST_HEAD(lh); in pgtable_trans_huge_deposit() 1309 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in pgtable_trans_huge_deposit() 1315 struct list_head *lh; in pgtable_trans_huge_withdraw() local 1323 lh = (struct list_head *) pgtable; in pgtable_trans_huge_withdraw() 1324 if (list_empty(lh)) in pgtable_trans_huge_withdraw() 1327 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in pgtable_trans_huge_withdraw() 1328 list_del(lh); in pgtable_trans_huge_withdraw()
|
/linux-4.4.14/fs/jfs/ |
D | jfs_dtree.c | 3676 struct ldtentry *lh; in ciCompare() local 3704 lh = (struct ldtentry *) & p->slot[si]; in ciCompare() 3705 si = lh->next; in ciCompare() 3706 name = lh->name; in ciCompare() 3707 namlen = lh->namlen; in ciCompare() 3848 struct ldtentry *lh; in dtGetKey() local 3859 lh = (struct ldtentry *) & p->slot[si]; in dtGetKey() 3860 si = lh->next; in dtGetKey() 3861 namlen = lh->namlen; in dtGetKey() 3862 name = lh->name; in dtGetKey() [all …]
|
/linux-4.4.14/include/linux/ |
D | binfmts.h | 75 struct list_head lh; member
|
D | netdevice.h | 2176 #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list) argument 2180 struct list_head *lh; in next_net_device() local 2184 lh = dev->dev_list.next; in next_net_device() 2185 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in next_net_device() 2190 struct list_head *lh; in next_net_device_rcu() local 2194 lh = rcu_dereference(list_next_rcu(&dev->dev_list)); in next_net_device_rcu() 2195 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in next_net_device_rcu() 2206 struct list_head *lh = rcu_dereference(list_next_rcu(&net->dev_base_head)); in first_net_device_rcu() local 2208 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in first_net_device_rcu()
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
D | api-ni.c | 499 lnet_libhandle_t *lh; in lnet_res_lh_lookup() local 508 list_for_each_entry(lh, head, lh_hash_chain) { in lnet_res_lh_lookup() 509 if (lh->lh_cookie == cookie) in lnet_res_lh_lookup() 510 return lh; in lnet_res_lh_lookup() 517 lnet_res_lh_initialize(struct lnet_res_container *rec, lnet_libhandle_t *lh) in lnet_res_lh_initialize() argument 523 lh->lh_cookie = rec->rec_lh_cookie; in lnet_res_lh_initialize() 526 hash = (lh->lh_cookie >> ibits) & LNET_LH_HASH_MASK; in lnet_res_lh_initialize() 528 list_add(&lh->lh_hash_chain, &rec->rec_lh_hash[hash]); in lnet_res_lh_initialize()
|
/linux-4.4.14/drivers/pci/pcie/aer/ |
D | aer_inject.c | 133 struct list_head *lh = pci_bus_ops_list.next; in pci_bus_ops_pop() local 134 list_del(lh); in pci_bus_ops_pop() 135 bus_ops = list_entry(lh, struct pci_bus_ops, list); in pci_bus_ops_pop()
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_devinfo.c | 808 struct list_head *lh, *lh_next; in scsi_dev_info_remove_list() local 819 list_for_each_safe(lh, lh_next, &devinfo_table->scsi_dev_info_list) { in scsi_dev_info_remove_list() 822 devinfo = list_entry(lh, struct scsi_dev_info_list, in scsi_dev_info_remove_list()
|
D | ncr53c8xx.c | 7496 int lh = ln & 3; in ncr_alloc_lcb() local 7548 lp->jump_lcb.l_paddr = tp->jump_lcb[lh].l_paddr; in ncr_alloc_lcb() 7560 tp->jump_lcb[lh].l_paddr = cpu_to_scr(vtobus (&lp->jump_lcb)); in ncr_alloc_lcb()
|
/linux-4.4.14/arch/tile/lib/ |
D | atomic_asm_32.S | 89 lh r22, r0
|
/linux-4.4.14/net/ipv6/ |
D | af_inet6.c | 574 struct list_head *lh; in inet6_register_protosw() local 590 list_for_each(lh, &inetsw6[p->type]) { in inet6_register_protosw() 591 answer = list_entry(lh, struct inet_protosw, list); in inet6_register_protosw() 597 last_perm = lh; in inet6_register_protosw()
|
D | ip6_fib.c | 82 #define FOR_WALKERS(w) list_for_each_entry(w, &fib6_walkers, lh) 87 list_add(&w->lh, &fib6_walkers); in fib6_walker_link() 94 list_del(&w->lh); in fib6_walker_unlink() 1986 INIT_LIST_HEAD(&iter->w.lh); in ipv6_route_seq_setup_walk()
|
/linux-4.4.14/net/bluetooth/ |
D | l2cap_core.c | 1029 struct l2cap_hdr *lh; in l2cap_create_sframe_pdu() local 1040 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_sframe_pdu() 1041 lh->len = cpu_to_le16(hlen - L2CAP_HDR_SIZE); in l2cap_create_sframe_pdu() 1042 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_sframe_pdu() 2161 struct l2cap_hdr *lh; in l2cap_create_connless_pdu() local 2174 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_connless_pdu() 2175 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_connless_pdu() 2176 lh->len = cpu_to_le16(len + L2CAP_PSMLEN_SIZE); in l2cap_create_connless_pdu() 2193 struct l2cap_hdr *lh; in l2cap_create_basic_pdu() local 2205 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_basic_pdu() [all …]
|
/linux-4.4.14/include/net/ |
D | ip6_fib.h | 197 struct list_head lh; member
|
/linux-4.4.14/arch/s390/kernel/ |
D | head.S | 114 lh %r3,10(%r5) # get residual count 158 lh %r1,0xb8 # test if subchannel number
|
/linux-4.4.14/arch/mips/net/ |
D | bpf_jit_asm.S | 94 lh $r_A, 0(t1)
|
D | bpf_jit.c | 366 emit_instr(ctx, lh, reg, offset, base); in emit_half_load()
|
/linux-4.4.14/block/partitions/ |
D | ldm.c | 1481 static void ldm_free_vblks (struct list_head *lh) in ldm_free_vblks() argument 1485 BUG_ON (!lh); in ldm_free_vblks() 1487 list_for_each_safe (item, tmp, lh) in ldm_free_vblks()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | asm-eva.h | 107 #define kernel_lh(reg, addr) lh reg, addr
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | htc_pipe.c | 838 struct list_head *lh; in free_htc_packet_container() local 846 lh = (struct list_head *) target->pipe.htc_packet_pool; in free_htc_packet_container() 847 packet->list.next = lh; in free_htc_packet_container()
|
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr.h | 299 void (*cleanup_queue)(struct list_head *lh,
|
D | s5p_mfc_opr_v5.c | 1476 static void s5p_mfc_cleanup_queue_v5(struct list_head *lh, struct vb2_queue *vq) in s5p_mfc_cleanup_queue_v5() argument 1481 while (!list_empty(lh)) { in s5p_mfc_cleanup_queue_v5() 1482 b = list_entry(lh->next, struct s5p_mfc_buf, list); in s5p_mfc_cleanup_queue_v5()
|
D | s5p_mfc_opr_v6.c | 1850 static void s5p_mfc_cleanup_queue_v6(struct list_head *lh, struct vb2_queue *vq) in s5p_mfc_cleanup_queue_v6() argument 1855 while (!list_empty(lh)) { in s5p_mfc_cleanup_queue_v6() 1856 b = list_entry(lh->next, struct s5p_mfc_buf, list); in s5p_mfc_cleanup_queue_v6()
|
/linux-4.4.14/drivers/md/ |
D | dm-snap.c | 1556 struct list_head *lh; in copy_callback() local 1559 list_for_each_prev(lh, &s->out_of_order_list) { in copy_callback() 1560 pe2 = list_entry(lh, struct dm_snap_pending_exception, out_of_order_entry); in copy_callback() 1564 list_add(&pe->out_of_order_entry, lh); in copy_callback()
|
D | dm-cache-policy-mq.c | 235 static struct list_head *list_pop(struct list_head *lh) in list_pop() argument 237 struct list_head *r = lh->next; in list_pop()
|
/linux-4.4.14/drivers/block/drbd/ |
D | drbd_debugfs.c | 252 struct drbd_device *device, struct list_head *lh, in seq_print_peer_request() argument 257 list_for_each_entry(peer_req, lh, w.list) { in seq_print_peer_request()
|
/linux-4.4.14/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 356 ff_layout_alloc_lseg(struct pnfs_layout_hdr *lh, in ff_layout_alloc_lseg() argument 437 idnode = nfs4_find_get_deviceid(NFS_SERVER(lh->plh_inode), in ff_layout_alloc_lseg() 438 &devid, lh->plh_lc_cred, in ff_layout_alloc_lseg() 496 mirror = ff_layout_add_mirror(lh, fls->mirror_array[i]); in ff_layout_alloc_lseg()
|
/linux-4.4.14/drivers/s390/scsi/ |
D | zfcp_fc.c | 638 static void zfcp_fc_validate_port(struct zfcp_port *port, struct list_head *lh) in zfcp_fc_validate_port() argument 649 list_move_tail(&port->list, lh); in zfcp_fc_validate_port()
|
/linux-4.4.14/fs/nfs/ |
D | dir.c | 2269 struct list_head *lh; in nfs_access_get_cached_rcu() local 2274 lh = rcu_dereference(nfsi->access_cache_entry_lru.prev); in nfs_access_get_cached_rcu() 2275 cache = list_entry(lh, struct nfs_access_entry, lru); in nfs_access_get_cached_rcu() 2276 if (lh == &nfsi->access_cache_entry_lru || in nfs_access_get_cached_rcu()
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 1184 struct lustre_handle lh = { 0 }; in cl_echo_object_brw() local 1210 rw == READ ? LCK_PR : LCK_PW, &lh.cookie, in cl_echo_object_brw() 1254 cl_echo_cancel0(env, ed, lh.cookie); in cl_echo_object_brw()
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | cl_object.c | 556 static unsigned cl_env_hops_hash(struct cfs_hash *lh, in cl_env_hops_hash() argument
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 1051 static inline int lustre_handle_is_used(struct lustre_handle *lh) in lustre_handle_is_used() argument 1053 return lh->cookie != 0ull; in lustre_handle_is_used()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | ucc_geth.c | 192 static struct list_head *dequeue(struct list_head *lh) in dequeue() argument 197 if (!list_empty(lh)) { in dequeue() 198 struct list_head *node = lh->next; in dequeue()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_crtc.c | 1738 struct list_head *lh; in drm_mode_getresources() local 1763 list_for_each(lh, &file_priv->fbs) in drm_mode_getresources()
|
/linux-4.4.14/drivers/s390/net/ |
D | qeth_core_main.c | 3264 struct list_head *lh; in qeth_queue_input_buffer() local 3298 list_for_each(lh, &card->qdio.in_buf_pool.entry_list) in qeth_queue_input_buffer()
|