/drivers/staging/lustre/lustre/mdc/ |
D | lproc_mdc.c | 90 struct kuc_hdr *lh; in mdc_kuc_write() local 104 len = sizeof(*lh) + sizeof(*hal) + MTI_NAME_MAXLEN + in mdc_kuc_write() 107 OBD_ALLOC(lh, len); in mdc_kuc_write() 109 lh->kuc_magic = KUC_MAGIC; in mdc_kuc_write() 110 lh->kuc_transport = KUC_TRANSPORT_HSM; in mdc_kuc_write() 111 lh->kuc_msgtype = HMT_ACTION_LIST; in mdc_kuc_write() 112 lh->kuc_msglen = len; in mdc_kuc_write() 114 hal = (struct hsm_action_list *)(lh + 1); in mdc_kuc_write() 133 rc = libcfs_kkuc_group_put(KUC_GRP_HSM, lh); in mdc_kuc_write() 137 rc = libcfs_kkuc_msg_put(fp, lh); in mdc_kuc_write() [all …]
|
D | mdc_request.c | 1529 struct kuc_hdr *lh = (struct kuc_hdr *)buf; in changelog_kuc_hdr() local 1533 lh->kuc_magic = KUC_MAGIC; in changelog_kuc_hdr() 1534 lh->kuc_transport = KUC_TRANSPORT_CHANGELOG; in changelog_kuc_hdr() 1535 lh->kuc_flags = flags; in changelog_kuc_hdr() 1536 lh->kuc_msgtype = CL_RECORD; in changelog_kuc_hdr() 1537 lh->kuc_msglen = len; in changelog_kuc_hdr() 1538 return lh; in changelog_kuc_hdr() 1556 struct kuc_hdr *lh; in changelog_kkuc_cb() local 1581 len = sizeof(*lh) + changelog_rec_size(&rec->cr) + rec->cr.cr_namelen; in changelog_kkuc_cb() 1584 lh = changelog_kuc_hdr(cs->cs_buf, len, cs->cs_flags); in changelog_kkuc_cb() [all …]
|
/drivers/s390/block/ |
D | dcssblk.c | 45 struct list_head lh; member 61 struct list_head lh; member 91 list_for_each_entry_safe(entry, temp, &dev_info->seg_list, lh) { in dcssblk_release_segment() 92 list_del(&entry->lh); in dcssblk_release_segment() 116 list_for_each_entry(entry, &dcssblk_devices, lh) in dcssblk_assign_free_minor() 137 list_for_each_entry(entry, &dcssblk_devices, lh) { in dcssblk_get_device_by_name() 156 list_for_each_entry(dev_info, &dcssblk_devices, lh) { in dcssblk_get_segment_by_name() 157 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_get_segment_by_name() 175 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_highest_addr() 194 list_for_each_entry(entry, &dev_info->seg_list, lh) { in dcssblk_find_lowest_addr() [all …]
|
/drivers/staging/lustre/include/linux/lnet/ |
D | lib-lnet.h | 468 lnet_libhandle_t *lh); 470 lnet_res_lh_invalidate(lnet_libhandle_t *lh) in lnet_res_lh_invalidate() argument 474 list_del(&lh->lh_hash_chain); in lnet_res_lh_invalidate() 492 lnet_libhandle_t *lh; in lnet_handle2eq() local 494 lh = lnet_res_lh_lookup(&the_lnet.ln_eq_container, handle->cookie); in lnet_handle2eq() 495 if (lh == NULL) in lnet_handle2eq() 498 return lh_entry(lh, lnet_eq_t, eq_lh); in lnet_handle2eq() 511 lnet_libhandle_t *lh; in lnet_handle2md() local 515 lh = lnet_res_lh_lookup(the_lnet.ln_md_containers[cpt], in lnet_handle2md() 517 if (lh == NULL) in lnet_handle2md() [all …]
|
/drivers/staging/lustre/lustre/libcfs/ |
D | kernel_user_comm.c | 155 struct kuc_hdr lh; in libcfs_kkuc_group_rem() local 157 lh.kuc_magic = KUC_MAGIC; in libcfs_kkuc_group_rem() 158 lh.kuc_transport = KUC_TRANSPORT_GENERIC; in libcfs_kkuc_group_rem() 159 lh.kuc_msgtype = KUC_MSG_SHUTDOWN; in libcfs_kkuc_group_rem() 160 lh.kuc_msglen = sizeof(lh); in libcfs_kkuc_group_rem() 161 libcfs_kkuc_group_put(group, &lh); in libcfs_kkuc_group_rem()
|
/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()
|
/drivers/dma/sh/ |
D | shdma.h | 60 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node) argument
|
/drivers/net/ethernet/altera/ |
D | altera_sgdma.c | 460 list_add_tail(&buffer->lh, &priv->txlisthd); in queue_tx() 471 list_add_tail(&buffer->lh, &priv->rxlisthd); in queue_rx() 483 list_remove_head(&priv->txlisthd, buffer, struct tse_buffer, lh); in dequeue_tx() 496 list_remove_head(&priv->rxlisthd, buffer, struct tse_buffer, lh); in dequeue_rx() 510 list_peek_head(&priv->rxlisthd, buffer, struct tse_buffer, lh); in queue_rx_peekhead()
|
D | altera_tse.h | 372 struct list_head lh; member
|
/drivers/staging/lustre/lustre/obdclass/ |
D | genops.c | 1788 struct kuc_hdr *lh = ((struct kuc_hdr *)p) - 1; in kuc_ptr() local 1789 LASSERT(lh->kuc_magic == KUC_MAGIC); in kuc_ptr() 1790 return lh; in kuc_ptr() 1814 struct kuc_hdr *lh; in kuc_alloc() local 1817 OBD_ALLOC(lh, len); in kuc_alloc() 1818 if (lh == NULL) in kuc_alloc() 1821 lh->kuc_magic = KUC_MAGIC; in kuc_alloc() 1822 lh->kuc_transport = transport; in kuc_alloc() 1823 lh->kuc_msgtype = type; in kuc_alloc() 1824 lh->kuc_msglen = len; in kuc_alloc() [all …]
|
/drivers/dma/ |
D | fsldma.h | 188 #define to_fsl_desc(lh) container_of(lh, struct fsl_desc_sw, node) argument
|
D | mmp_pdma.c | 137 #define to_mmp_pdma_desc(lh) \ argument 138 container_of(lh, struct mmp_pdma_desc_sw, node)
|
/drivers/staging/lustre/lnet/lnet/ |
D | api-ni.c | 575 lnet_libhandle_t *lh; in lnet_res_lh_lookup() local 584 list_for_each_entry(lh, head, lh_hash_chain) { in lnet_res_lh_lookup() 585 if (lh->lh_cookie == cookie) in lnet_res_lh_lookup() 586 return lh; in lnet_res_lh_lookup() 593 lnet_res_lh_initialize(struct lnet_res_container *rec, lnet_libhandle_t *lh) in lnet_res_lh_initialize() argument 599 lh->lh_cookie = rec->rec_lh_cookie; in lnet_res_lh_initialize() 602 hash = (lh->lh_cookie >> ibits) & LNET_LH_HASH_MASK; in lnet_res_lh_initialize() 604 list_add(&lh->lh_hash_chain, &rec->rec_lh_hash[hash]); in lnet_res_lh_initialize()
|
/drivers/dma/ioat/ |
D | dma.h | 39 #define to_ioat_desc(lh) container_of(lh, struct ioat_desc_sw, node) argument
|
/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()
|
/drivers/scsi/ |
D | scsi_devinfo.c | 836 struct list_head *lh, *lh_next; in scsi_dev_info_remove_list() local 847 list_for_each_safe(lh, lh_next, &devinfo_table->scsi_dev_info_list) { in scsi_dev_info_remove_list() 850 devinfo = list_entry(lh, struct scsi_dev_info_list, in scsi_dev_info_remove_list()
|
/drivers/net/wireless/ath/wil6210/ |
D | wmi.c | 1208 struct list_head *lh; in wmi_event_worker() local 1211 while ((lh = next_wmi_ev(wil)) != NULL) { in wmi_event_worker() 1212 evt = list_entry(lh, struct pending_wmi_event, list); in wmi_event_worker()
|
/drivers/md/ |
D | dm-snap.c | 1538 struct list_head *lh; in copy_callback() local 1541 list_for_each_prev(lh, &s->out_of_order_list) { in copy_callback() 1542 pe2 = list_entry(lh, struct dm_snap_pending_exception, out_of_order_entry); in copy_callback() 1546 list_add(&pe->out_of_order_entry, lh); in copy_callback()
|
D | dm-cache-policy-mq.c | 204 static struct list_head *list_pop(struct list_head *lh) in list_pop() argument 206 struct list_head *r = lh->next; in list_pop()
|
/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()
|
/drivers/staging/lustre/lustre/include/ |
D | dt_object.h | 458 struct lustre_handle *lh, 891 struct dt_object *o, struct lustre_handle *lh, in dt_object_lock() argument 898 return o->do_ops->do_object_lock(env, o, lh, einfo, policy); in dt_object_lock()
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr.h | 299 void (*cleanup_queue)(struct list_head *lh,
|
D | s5p_mfc_opr_v5.c | 1481 static void s5p_mfc_cleanup_queue_v5(struct list_head *lh, struct vb2_queue *vq) in s5p_mfc_cleanup_queue_v5() argument 1486 while (!list_empty(lh)) { in s5p_mfc_cleanup_queue_v5() 1487 b = list_entry(lh->next, struct s5p_mfc_buf, list); in s5p_mfc_cleanup_queue_v5()
|
/drivers/s390/scsi/ |
D | zfcp_fc.c | 595 static void zfcp_fc_validate_port(struct zfcp_port *port, struct list_head *lh) in zfcp_fc_validate_port() argument 606 list_move_tail(&port->list, lh); in zfcp_fc_validate_port()
|
/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()
|