Searched refs:genl_data (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/net/nfc/
H A Dnetlink.c196 dev->genl_data.poll_req_portid = 0; nfc_genl_targets_found()
818 mutex_lock(&dev->genl_data.genl_data_mutex); nfc_genl_start_poll()
822 dev->genl_data.poll_req_portid = info->snd_portid; nfc_genl_start_poll()
824 mutex_unlock(&dev->genl_data.genl_data_mutex); nfc_genl_start_poll()
854 mutex_lock(&dev->genl_data.genl_data_mutex); nfc_genl_stop_poll()
856 if (dev->genl_data.poll_req_portid != info->snd_portid) { nfc_genl_stop_poll()
862 dev->genl_data.poll_req_portid = 0; nfc_genl_stop_poll()
865 mutex_unlock(&dev->genl_data.genl_data_mutex); nfc_genl_stop_poll()
1740 mutex_lock(&dev->genl_data.genl_data_mutex); nfc_urelease_event_work()
1742 if (dev->genl_data.poll_req_portid == w->portid) { nfc_urelease_event_work()
1744 dev->genl_data.poll_req_portid = 0; nfc_urelease_event_work()
1747 mutex_unlock(&dev->genl_data.genl_data_mutex); nfc_urelease_event_work()
1781 void nfc_genl_data_init(struct nfc_genl_data *genl_data) nfc_genl_data_init() argument
1783 genl_data->poll_req_portid = 0; nfc_genl_data_init()
1784 mutex_init(&genl_data->genl_data_mutex); nfc_genl_data_init()
1787 void nfc_genl_data_exit(struct nfc_genl_data *genl_data) nfc_genl_data_exit() argument
1789 mutex_destroy(&genl_data->genl_data_mutex); nfc_genl_data_exit()
H A Dnfc.h86 void nfc_genl_data_init(struct nfc_genl_data *genl_data);
87 void nfc_genl_data_exit(struct nfc_genl_data *genl_data);
H A Dcore.c963 nfc_genl_data_exit(&dev->genl_data); nfc_release()
1064 nfc_genl_data_init(&dev->genl_data); nfc_allocate_device()
/linux-4.4.14/include/net/nfc/
H A Dnfc.h187 struct nfc_genl_data genl_data; member in struct:nfc_dev

Completed in 83 milliseconds