Home
last modified time | relevance | path

Searched refs:hm (Results 1 – 10 of 10) sorted by relevance

/linux/fs/xfs/
H A Dxfs_healthmon.c69 struct xfs_healthmon *hm; in xfs_healthmon_get() local
72 hm = rcu_dereference(mp->m_healthmon); in xfs_healthmon_get()
73 if (hm && !refcount_inc_not_zero(&hm->ref)) in xfs_healthmon_get()
74 hm = NULL; in xfs_healthmon_get()
77 return hm; in xfs_healthmon_get()
87 struct xfs_healthmon *hm) in xfs_healthmon_put() argument
89 if (refcount_dec_and_test(&hm->ref)) { in xfs_healthmon_put()
91 struct xfs_healthmon_event *next = hm->first_event; in xfs_healthmon_put()
94 trace_xfs_healthmon_drop(hm, event); in xfs_healthmon_put()
99 kfree(hm->unmount_event); in xfs_healthmon_put()
[all …]
/linux/sound/pci/asihpi/
H A Dhpifunc.c99 struct hpi_message hm; in hpi_subsys_get_version_ex() local
102 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in hpi_subsys_get_version_ex()
104 hpi_send_recv(&hm, &hr); in hpi_subsys_get_version_ex()
111 struct hpi_message hm; in hpi_subsys_get_num_adapters() local
113 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in hpi_subsys_get_num_adapters()
115 hpi_send_recv(&hm, &hr); in hpi_subsys_get_num_adapters()
123 struct hpi_message hm; in hpi_subsys_get_adapter() local
125 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in hpi_subsys_get_adapter()
127 hm.obj_index = (u16)iterator; in hpi_subsys_get_adapter()
128 hpi_send_recv(&hm, &hr); in hpi_subsys_get_adapter()
[all …]
H A Dhpioctl.c82 struct hpi_message hm; in asihpi_hpi_release() local
87 hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, in asihpi_hpi_release()
89 hpi_send_recv_ex(&hm, &hr, file); in asihpi_hpi_release()
98 union hpi_message_buffer_v1 *hm; in asihpi_hpi_ioctl() local
108 hm = kmalloc_obj(*hm); in asihpi_hpi_ioctl()
110 if (!hm || !hr) { in asihpi_hpi_ioctl()
129 if (msg_size > sizeof(*hm)) in asihpi_hpi_ioctl()
130 msg_size = sizeof(*hm); in asihpi_hpi_ioctl()
134 uncopied_bytes = copy_from_user(hm, puhm, msg_size); in asihpi_hpi_ioctl()
142 hm->h.size = msg_size; in asihpi_hpi_ioctl()
[all …]
H A Dhpimsgx.c219 struct hpi_message hm; in adapter_message() local
221 hpi_init_message_response(&hm, &hr, HPI_OBJ_ADAPTER, in adapter_message()
223 hm.adapter_index = phm->adapter_index; in adapter_message()
224 hw_entry_point(&hm, &hr); in adapter_message()
380 struct hpi_message hm; in instream_open() local
401 hpi_init_message_response(&hm, &hr, HPI_OBJ_ISTREAM, in instream_open()
403 hm.adapter_index = phm->adapter_index; in instream_open()
404 hm.obj_index = phm->obj_index; in instream_open()
405 hw_entry_point(&hm, &hr); in instream_open()
430 struct hpi_message hm; in instream_close() local
[all …]
H A Dhpi6000.c522 struct hpi_message hm; in create_adapter_obj() local
528 memset(&hm, 0, sizeof(hm)); in create_adapter_obj()
529 hm.type = HPI_TYPE_REQUEST; in create_adapter_obj()
530 hm.size = sizeof(struct hpi_message); in create_adapter_obj()
531 hm.object = HPI_OBJ_ADAPTER; in create_adapter_obj()
532 hm.function = HPI_ADAPTER_GET_INFO; in create_adapter_obj()
533 hm.adapter_index = 0; in create_adapter_obj()
539 error = hpi6000_message_response_sequence(pao, 0, &hm, &hr0); in create_adapter_obj()
545 error = hpi6000_message_response_sequence(pao, 1, &hm, in create_adapter_obj()
1742 struct hpi_message hm; in hw_message() local
[all …]
H A Dasihpi.c154 struct hpi_message hm; in hpi_stream_host_buffer_attach() local
160 hpi_init_message_response(&hm, &hr, obj, in hpi_stream_host_buffer_attach()
165 hpi_handle_to_indexes(h_stream, &hm.adapter_index, in hpi_stream_host_buffer_attach()
166 &hm.obj_index); in hpi_stream_host_buffer_attach()
168 hm.u.d.u.buffer.buffer_size = size_in_bytes; in hpi_stream_host_buffer_attach()
169 hm.u.d.u.buffer.pci_address = pci_address; in hpi_stream_host_buffer_attach()
170 hm.u.d.u.buffer.command = HPI_BUFFER_CMD_INTERNAL_GRANTADAPTER; in hpi_stream_host_buffer_attach()
171 hpi_send_recv(&hm, &hr); in hpi_stream_host_buffer_attach()
177 struct hpi_message hm; in hpi_stream_host_buffer_detach() local
184 hpi_init_message_response(&hm, &hr, obj, in hpi_stream_host_buffer_detach()
[all …]
H A Dhpi6205.c625 struct hpi_message hm; in create_adapter_obj() local
629 memset(&hm, 0, sizeof(hm)); in create_adapter_obj()
631 hm.type = HPI_TYPE_REQUEST; in create_adapter_obj()
632 hm.size = sizeof(hm); in create_adapter_obj()
633 hm.object = HPI_OBJ_ADAPTER; in create_adapter_obj()
634 hm.function = HPI_ADAPTER_GET_INFO; in create_adapter_obj()
639 err = message_response_sequence(pao, &hm, &hr); in create_adapter_obj()
/linux/drivers/watchdog/
H A Dwatchdog_dev.c79 unsigned int hm = wdd->max_hw_heartbeat_ms; in watchdog_need_worker() local
95 return (hm && watchdog_active(wdd) && t > hm) || in watchdog_need_worker()
/linux/drivers/input/misc/
H A Dyealink.c66 #define _PIC(t, h, hm, n) \ argument
68 .u = { .p = { .name = (n), .a = (h), .m = (hm) } } }
/linux/
H A DCREDITS2844 E: hm@seneca.linux.de