/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 …]
|
/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 …]
|
/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 …]
|
/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()
|
/drivers/infiniband/hw/mlx4/ |
D | cm.c | 420 struct list_head lh; in mlx4_ib_cm_paravirt_clean() local 425 INIT_LIST_HEAD(&lh); in mlx4_ib_cm_paravirt_clean() 450 list_splice_init(&dev->sriov.cm_list, &lh); in mlx4_ib_cm_paravirt_clean() 459 list_move_tail(&ent->list, &lh); in mlx4_ib_cm_paravirt_clean() 462 list_for_each_entry_safe(map, tmp_map, &lh, list) { in mlx4_ib_cm_paravirt_clean() 470 list_move_tail(&map->list, &lh); in mlx4_ib_cm_paravirt_clean() 477 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/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 | 1405 struct list_head *lh; in wmi_event_worker() local 1408 while ((lh = next_wmi_ev(wil)) != NULL) { in wmi_event_worker() 1409 evt = list_entry(lh, struct pending_wmi_event, list); in wmi_event_worker()
|
/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
|
/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)
|
/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()
|
/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 | 801 struct list_head *lh, *lh_next; in scsi_dev_info_remove_list() local 812 list_for_each_safe(lh, lh_next, &devinfo_table->scsi_dev_info_list) { in scsi_dev_info_remove_list() 815 devinfo = list_entry(lh, struct scsi_dev_info_list, in scsi_dev_info_remove_list()
|
/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/md/ |
D | dm-snap.c | 1621 struct list_head *lh; in copy_callback() local 1624 list_for_each_prev(lh, &s->out_of_order_list) { in copy_callback() 1625 pe2 = list_entry(lh, struct dm_snap_pending_exception, out_of_order_entry); in copy_callback() 1629 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()
|
/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()
|
/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()
|
/drivers/s390/scsi/ |
D | zfcp_fc.c | 662 static void zfcp_fc_validate_port(struct zfcp_port *port, struct list_head *lh) in zfcp_fc_validate_port() argument 673 list_move_tail(&port->list, lh); in zfcp_fc_validate_port()
|
/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()
|