Home
last modified time | relevance | path

Searched refs:monitor (Results 1 – 13 of 13) sorted by relevance

/net/bluetooth/
Dmsft.c101 struct adv_monitor *monitor);
159 struct adv_monitor *monitor; in reregister_monitor_on_restart() local
164 monitor = idr_get_next(&hdev->adv_monitors_idr, &handle); in reregister_monitor_on_restart()
165 if (!monitor) { in reregister_monitor_on_restart()
173 err = __msft_add_monitor_pattern(hdev, monitor); in reregister_monitor_on_restart()
180 hci_free_adv_monitor(hdev, monitor); in reregister_monitor_on_restart()
217 struct adv_monitor *monitor; in msft_do_close() local
227 monitor = idr_find(&hdev->adv_monitors_idr, in msft_do_close()
230 if (monitor && monitor->state == ADV_MONITOR_STATE_OFFLOADED) in msft_do_close()
231 monitor->state = ADV_MONITOR_STATE_REGISTERED; in msft_do_close()
[all …]
Dmsft.h20 int msft_add_monitor_pattern(struct hci_dev *hdev, struct adv_monitor *monitor);
21 int msft_remove_monitor(struct hci_dev *hdev, struct adv_monitor *monitor,
39 struct adv_monitor *monitor) in msft_add_monitor_pattern() argument
45 struct adv_monitor *monitor, in msft_remove_monitor() argument
Dhci_core.c3089 struct adv_monitor *monitor; in hci_adv_monitors_clear() local
3092 idr_for_each_entry(&hdev->adv_monitors_idr, monitor, handle) in hci_adv_monitors_clear()
3093 hci_free_adv_monitor(hdev, monitor); in hci_adv_monitors_clear()
3101 void hci_free_adv_monitor(struct hci_dev *hdev, struct adv_monitor *monitor) in hci_free_adv_monitor() argument
3106 if (!monitor) in hci_free_adv_monitor()
3109 list_for_each_entry_safe(pattern, tmp, &monitor->patterns, list) { in hci_free_adv_monitor()
3114 if (monitor->handle) in hci_free_adv_monitor()
3115 idr_remove(&hdev->adv_monitors_idr, monitor->handle); in hci_free_adv_monitor()
3117 if (monitor->state != ADV_MONITOR_STATE_NOT_REGISTERED) { in hci_free_adv_monitor()
3119 mgmt_adv_monitor_removed(hdev, monitor->handle); in hci_free_adv_monitor()
[all …]
Dmgmt.c4240 struct adv_monitor *monitor = NULL; in read_adv_mon_features() local
4256 idr_for_each_entry(&hdev->adv_monitors_idr, monitor, handle) in read_adv_mon_features()
4257 handles[num_handles++] = monitor->handle; in read_adv_mon_features()
4290 struct adv_monitor *monitor; in mgmt_add_adv_patterns_monitor_complete() local
4302 monitor = cmd->user_data; in mgmt_add_adv_patterns_monitor_complete()
4303 rp.monitor_handle = cpu_to_le16(monitor->handle); in mgmt_add_adv_patterns_monitor_complete()
4306 mgmt_adv_monitor_added(cmd->sk, hdev, monitor->handle); in mgmt_add_adv_patterns_monitor_complete()
4308 if (monitor->state == ADV_MONITOR_STATE_NOT_REGISTERED) in mgmt_add_adv_patterns_monitor_complete()
4309 monitor->state = ADV_MONITOR_STATE_REGISTERED; in mgmt_add_adv_patterns_monitor_complete()
/net/ncsi/
Dncsi-manage.c91 struct ncsi_channel *nc = from_timer(nc, t, monitor.timer); in ncsi_channel_monitor()
104 enabled = nc->monitor.enabled; in ncsi_channel_monitor()
105 monitor_state = nc->monitor.state; in ncsi_channel_monitor()
120 nc->monitor.enabled = false; in ncsi_channel_monitor()
148 nc->monitor.enabled = false; in ncsi_channel_monitor()
162 nc->monitor.state++; in ncsi_channel_monitor()
164 mod_timer(&nc->monitor.timer, jiffies + HZ); in ncsi_channel_monitor()
172 WARN_ON_ONCE(nc->monitor.enabled); in ncsi_start_channel_monitor()
173 nc->monitor.enabled = true; in ncsi_start_channel_monitor()
174 nc->monitor.state = NCSI_CHANNEL_MONITOR_START; in ncsi_start_channel_monitor()
[all …]
Dinternal.h240 } monitor; member
Dncsi-rsp.c353 nc->monitor.state = NCSI_CHANNEL_MONITOR_START; in ncsi_rsp_handler_gls()
/net/bridge/
Dbr_mrp_switchdev.c104 bool monitor) in br_mrp_switchdev_send_ring_test() argument
113 .monitor = monitor, in br_mrp_switchdev_send_ring_test()
Dbr_private_mrp.h92 bool monitor);
Dbr_mrp_netlink.c232 test.monitor = false; in br_mrp_start_test_parse()
235 test.monitor = in br_mrp_start_test_parse()
Dbr_mrp.c716 test->monitor); in br_mrp_start_test()
726 mrp->test_monitor = test->monitor; in br_mrp_start_test()
/net/tipc/
DMakefile10 name_distr.o subscr.o monitor.o name_table.o net.o \
/net/ceph/
DKconfig41 If you say Y here, hostnames (e.g. monitor addresses) will