/linux-3.4.99/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 extern u8 tfrc_lh_update_i_mean(struct tfrc_loss_hist *lh, struct sk_buff *); 71 extern void tfrc_lh_cleanup(struct tfrc_loss_hist *lh);
|
D | packet_history.h | 149 struct tfrc_loss_hist *lh,
|
/linux-3.4.99/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 | 587 struct gfs2_log_header *lh; in log_write_header() local 600 lh = (struct gfs2_log_header *)bh->b_data; in log_write_header() 601 memset(lh, 0, sizeof(struct gfs2_log_header)); in log_write_header() 602 lh->lh_header.mh_magic = cpu_to_be32(GFS2_MAGIC); in log_write_header() 603 lh->lh_header.mh_type = cpu_to_be32(GFS2_METATYPE_LH); in log_write_header() 604 lh->lh_header.__pad0 = cpu_to_be64(0); in log_write_header() 605 lh->lh_header.mh_format = cpu_to_be32(GFS2_FORMAT_LH); in log_write_header() 606 lh->lh_header.mh_jid = cpu_to_be32(sdp->sd_jdesc->jd_jid); in log_write_header() 607 lh->lh_sequence = cpu_to_be64(sdp->sd_log_sequence++); in log_write_header() 608 lh->lh_flags = cpu_to_be32(flags); in log_write_header() [all …]
|
/linux-3.4.99/drivers/s390/block/ |
D | dcssblk.c | 45 struct list_head lh; member 61 struct list_head lh; member 105 list_for_each_entry_safe(entry, temp, &dev_info->seg_list, lh) { in dcssblk_release_segment() 106 list_del(&entry->lh); in dcssblk_release_segment() 130 list_for_each_entry(entry, &dcssblk_devices, lh) in dcssblk_assign_free_minor() 151 list_for_each_entry(entry, &dcssblk_devices, lh) { in dcssblk_get_device_by_name() 170 list_for_each_entry(dev_info, &dcssblk_devices, lh) { in dcssblk_get_segment_by_name() 171 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_get_segment_by_name() 189 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_highest_addr() 208 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_lowest_addr() [all …]
|
/linux-3.4.99/arch/s390/appldata/ |
D | appldata_base.c | 131 struct list_head *lh; in appldata_work_fn() local 136 list_for_each(lh, &appldata_ops_list) { in appldata_work_fn() 137 ops = list_entry(lh, struct appldata_ops, list); in appldata_work_fn() 341 struct list_head *lh; in appldata_generic_handler() local 345 list_for_each(lh, &appldata_ops_list) { in appldata_generic_handler() 346 tmp_ops = list_entry(lh, struct appldata_ops, list); in appldata_generic_handler() 486 struct list_head *lh; in appldata_freeze() local 498 list_for_each(lh, &appldata_ops_list) { in appldata_freeze() 499 ops = list_entry(lh, struct appldata_ops, list); in appldata_freeze() 517 struct list_head *lh; in appldata_restore() local [all …]
|
/linux-3.4.99/mm/ |
D | highmem.c | 338 struct list_head lh; /* List of page_address_maps */ member 365 if (!list_empty(&pas->lh)) { in page_address() 368 list_for_each_entry(pam, &pas->lh, list) { in page_address() 409 list_add_tail(&pam->list, &pas->lh); in set_page_address() 413 list_for_each_entry(pam, &pas->lh, list) { in set_page_address() 439 INIT_LIST_HEAD(&page_address_htable[i].lh); in page_address_init()
|
/linux-3.4.99/net/ipv4/ |
D | inetpeer.c | 285 int lh, rh; in peer_avl_rebalance() local 292 lh = node_height(l); in peer_avl_rebalance() 294 if (lh > rh + 1) { /* l: RH+2 */ in peer_avl_rebalance() 322 } else if (rh > lh + 1) { /* r: LH+2 */ in peer_avl_rebalance() 341 node->avl_height = lh + 1; /* node: LH+1 */ in peer_avl_rebalance() 344 r->avl_height = lh + 1; /* r: LH+1 */ in peer_avl_rebalance() 347 rl->avl_height = lh + 2; in peer_avl_rebalance() 351 node->avl_height = (lh > rh ? lh : rh) + 1; in peer_avl_rebalance()
|
/linux-3.4.99/arch/mips/include/asm/mach-ip27/ |
D | kernel-entry-init.h | 46 lh t1, KV_RO_NASID_OFFSET(t0) 47 lh t2, KV_RW_NASID_OFFSET(t0)
|
/linux-3.4.99/drivers/dma/ |
D | shdma.h | 61 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node) argument
|
D | fsldma.h | 160 #define to_fsl_desc(lh) container_of(lh, struct fsl_desc_sw, node) argument
|
/linux-3.4.99/net/netfilter/ |
D | xt_connlimit.c | 83 union nf_inet_addr lh, rh; in same_source_net() local 87 lh.ip6[i] = addr->ip6[i] & mask->ip6[i]; in same_source_net() 91 return memcmp(&lh.ip6, &rh.ip6, sizeof(lh.ip6)) == 0; in same_source_net()
|
/linux-3.4.99/net/atm/ |
D | br2684.c | 122 struct list_head *lh; in br2684_find_dev() local 126 list_for_each(lh, &br2684_devs) { in br2684_find_dev() 127 net_dev = list_entry_brdev(lh); in br2684_find_dev() 133 list_for_each(lh, &br2684_devs) { in br2684_find_dev() 134 net_dev = list_entry_brdev(lh); in br2684_find_dev() 147 struct list_head *lh; in atm_dev_event() local 156 list_for_each(lh, &br2684_devs) { in atm_dev_event() 157 net_dev = list_entry_brdev(lh); in atm_dev_event()
|
/linux-3.4.99/fs/ |
D | seq_file.c | 737 struct list_head *lh; in seq_list_start() local 739 list_for_each(lh, head) in seq_list_start() 741 return lh; in seq_list_start() 758 struct list_head *lh; in seq_list_next() local 760 lh = ((struct list_head *)v)->next; in seq_list_next() 762 return lh == head ? NULL : lh; in seq_list_next()
|
/linux-3.4.99/arch/s390/kernel/ |
D | sclp.S | 69 lh %r7,LC_EXT_INT_CODE 128 lh %r3,6(%r7) 231 lh %r9,.LmdbS4-.LwritesccbS4(%r8) # update mdb length 234 lh %r9,.LevbufS4-.LwritesccbS4(%r8)# update evbuf length 237 lh %r9,0(%r8) # update sccb length
|
/linux-3.4.99/include/linux/ |
D | netdevice.h | 1555 #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list) argument 1559 struct list_head *lh; in next_net_device() local 1563 lh = dev->dev_list.next; in next_net_device() 1564 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in next_net_device() 1569 struct list_head *lh; in next_net_device_rcu() local 1573 lh = rcu_dereference(list_next_rcu(&dev->dev_list)); in next_net_device_rcu() 1574 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in next_net_device_rcu() 1585 struct list_head *lh = rcu_dereference(list_next_rcu(&net->dev_base_head)); in first_net_device_rcu() local 1587 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in first_net_device_rcu()
|
D | binfmts.h | 85 struct list_head lh; member
|
/linux-3.4.99/fs/proc/ |
D | inode.c | 355 list_add(&pdeo->lh, &pde->pde_openers); in proc_reg_open() 368 list_for_each_entry(pdeo, &pde->pde_openers, lh) { in find_pde_opener() 394 list_del(&pdeo->lh); in proc_reg_release() 405 list_del(&pdeo->lh); in proc_reg_release()
|
/linux-3.4.99/fs/coda/ |
D | psdev.c | 102 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-3.4.99/fs/jfs/ |
D | jfs_dtree.c | 3682 struct ldtentry *lh; in ciCompare() local 3710 lh = (struct ldtentry *) & p->slot[si]; in ciCompare() 3711 si = lh->next; in ciCompare() 3712 name = lh->name; in ciCompare() 3713 namlen = lh->namlen; in ciCompare() 3854 struct ldtentry *lh; in dtGetKey() local 3865 lh = (struct ldtentry *) & p->slot[si]; in dtGetKey() 3866 si = lh->next; in dtGetKey() 3867 namlen = lh->namlen; in dtGetKey() 3868 name = lh->name; in dtGetKey() [all …]
|
/linux-3.4.99/drivers/dma/ioat/ |
D | dma.h | 39 #define to_ioat_desc(lh) container_of(lh, struct ioat_desc_sw, node) argument
|
/linux-3.4.99/net/bluetooth/ |
D | l2cap_core.c | 605 struct l2cap_hdr *lh; in l2cap_send_sframe() local 636 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_send_sframe() 637 lh->len = cpu_to_le16(hlen - L2CAP_HDR_SIZE); in l2cap_send_sframe() 638 lh->cid = cpu_to_le16(chan->dcid); in l2cap_send_sframe() 643 u16 fcs = crc16(0, (u8 *)lh, count - L2CAP_FCS_SIZE); in l2cap_send_sframe() 1599 struct l2cap_hdr *lh; in l2cap_create_connless_pdu() local 1614 lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE); in l2cap_create_connless_pdu() 1615 lh->cid = cpu_to_le16(chan->dcid); in l2cap_create_connless_pdu() 1616 lh->len = cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE)); in l2cap_create_connless_pdu() 1634 struct l2cap_hdr *lh; in l2cap_create_basic_pdu() local [all …]
|
/linux-3.4.99/drivers/media/video/s5p-mfc/ |
D | s5p_mfc_opr.h | 54 void s5p_mfc_cleanup_queue(struct list_head *lh, struct vb2_queue *vq);
|
/linux-3.4.99/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()
|