Home
last modified time | relevance | path

Searched refs:lh (Results 1 – 25 of 32) sorted by relevance

12

/drivers/staging/lustre/lustre/mdc/
Dlproc_mdc.c97 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 …]
Dmdc_request.c1437 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/
Ddcssblk.c46 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/
Dlib-lnet.h256 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/
Dkernel_user_comm.c156 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/
Dcm.c420 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/
Dshdma.h60 #define to_sh_desc(lh) container_of(lh, struct sh_desc, node) argument
/drivers/net/wireless/ath/wil6210/
Drx_reorder.c409 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()
Dcfg80211.c988 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()
Dwmi.c1405 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/
Daltera_sgdma.c458 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()
Daltera_tse.h372 struct list_head lh; member
/drivers/dma/
Dfsldma.h192 #define to_fsl_desc(lh) container_of(lh, struct fsl_desc_sw, node) argument
Dmmp_pdma.c136 #define to_mmp_pdma_desc(lh) \ argument
137 container_of(lh, struct mmp_pdma_desc_sw, node)
/drivers/staging/lustre/lnet/lnet/
Dapi-ni.c499 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/
Daer_inject.c133 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/
Dscsi_devinfo.c801 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/
Dhtc_pipe.c838 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/
Ddm-snap.c1621 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()
Ddm-cache-policy-mq.c235 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/
Ds5p_mfc_opr.h299 void (*cleanup_queue)(struct list_head *lh,
Ds5p_mfc_opr_v5.c1476 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/
Ddrbd_debugfs.c252 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/
Dzfcp_fc.c662 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/
Decho_client.c1184 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()

12