Lines Matching refs:hdr
78 void *hdr; in nfc_genl_send_target() local
80 hdr = genlmsg_put(msg, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nfc_genl_send_target()
82 if (!hdr) in nfc_genl_send_target()
85 genl_dump_check_consistent(cb, hdr, &nfc_genl_family); in nfc_genl_send_target()
113 genlmsg_end(msg, hdr); in nfc_genl_send_target()
117 genlmsg_cancel(msg, hdr); in nfc_genl_send_target()
194 void *hdr; in nfc_genl_targets_found() local
202 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, in nfc_genl_targets_found()
204 if (!hdr) in nfc_genl_targets_found()
210 genlmsg_end(msg, hdr); in nfc_genl_targets_found()
215 genlmsg_cancel(msg, hdr); in nfc_genl_targets_found()
224 void *hdr; in nfc_genl_target_lost() local
230 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, in nfc_genl_target_lost()
232 if (!hdr) in nfc_genl_target_lost()
239 genlmsg_end(msg, hdr); in nfc_genl_target_lost()
246 genlmsg_cancel(msg, hdr); in nfc_genl_target_lost()
255 void *hdr; in nfc_genl_tm_activated() local
261 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, in nfc_genl_tm_activated()
263 if (!hdr) in nfc_genl_tm_activated()
271 genlmsg_end(msg, hdr); in nfc_genl_tm_activated()
278 genlmsg_cancel(msg, hdr); in nfc_genl_tm_activated()
287 void *hdr; in nfc_genl_tm_deactivated() local
293 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, in nfc_genl_tm_deactivated()
295 if (!hdr) in nfc_genl_tm_deactivated()
301 genlmsg_end(msg, hdr); in nfc_genl_tm_deactivated()
308 genlmsg_cancel(msg, hdr); in nfc_genl_tm_deactivated()
317 void *hdr; in nfc_genl_device_added() local
323 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, in nfc_genl_device_added()
325 if (!hdr) in nfc_genl_device_added()
334 genlmsg_end(msg, hdr); in nfc_genl_device_added()
341 genlmsg_cancel(msg, hdr); in nfc_genl_device_added()
350 void *hdr; in nfc_genl_device_removed() local
356 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, in nfc_genl_device_removed()
358 if (!hdr) in nfc_genl_device_removed()
364 genlmsg_end(msg, hdr); in nfc_genl_device_removed()
371 genlmsg_cancel(msg, hdr); in nfc_genl_device_removed()
383 void *hdr; in nfc_genl_llc_send_sdres() local
391 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, in nfc_genl_llc_send_sdres()
393 if (!hdr) in nfc_genl_llc_send_sdres()
430 genlmsg_end(msg, hdr); in nfc_genl_llc_send_sdres()
435 genlmsg_cancel(msg, hdr); in nfc_genl_llc_send_sdres()
448 void *hdr; in nfc_genl_se_added() local
454 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, in nfc_genl_se_added()
456 if (!hdr) in nfc_genl_se_added()
464 genlmsg_end(msg, hdr); in nfc_genl_se_added()
471 genlmsg_cancel(msg, hdr); in nfc_genl_se_added()
480 void *hdr; in nfc_genl_se_removed() local
486 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, in nfc_genl_se_removed()
488 if (!hdr) in nfc_genl_se_removed()
495 genlmsg_end(msg, hdr); in nfc_genl_se_removed()
502 genlmsg_cancel(msg, hdr); in nfc_genl_se_removed()
513 void *hdr; in nfc_genl_se_transaction() local
519 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, in nfc_genl_se_transaction()
521 if (!hdr) in nfc_genl_se_transaction()
540 genlmsg_end(msg, hdr); in nfc_genl_se_transaction()
547 genlmsg_cancel(msg, hdr); in nfc_genl_se_transaction()
560 void *hdr; in nfc_genl_send_device() local
562 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, flags, in nfc_genl_send_device()
564 if (!hdr) in nfc_genl_send_device()
568 genl_dump_check_consistent(cb, hdr, &nfc_genl_family); in nfc_genl_send_device()
577 genlmsg_end(msg, hdr); in nfc_genl_send_device()
581 genlmsg_cancel(msg, hdr); in nfc_genl_send_device()
641 void *hdr; in nfc_genl_dep_link_up_event() local
649 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, NFC_CMD_DEP_LINK_UP); in nfc_genl_dep_link_up_event()
650 if (!hdr) in nfc_genl_dep_link_up_event()
662 genlmsg_end(msg, hdr); in nfc_genl_dep_link_up_event()
671 genlmsg_cancel(msg, hdr); in nfc_genl_dep_link_up_event()
680 void *hdr; in nfc_genl_dep_link_down_event() local
688 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, in nfc_genl_dep_link_down_event()
690 if (!hdr) in nfc_genl_dep_link_down_event()
696 genlmsg_end(msg, hdr); in nfc_genl_dep_link_down_event()
703 genlmsg_cancel(msg, hdr); in nfc_genl_dep_link_down_event()
955 void *hdr; in nfc_genl_send_params() local
957 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, 0, in nfc_genl_send_params()
959 if (!hdr) in nfc_genl_send_params()
968 genlmsg_end(msg, hdr); in nfc_genl_send_params()
973 genlmsg_cancel(msg, hdr); in nfc_genl_send_params()
1209 void *hdr; in nfc_genl_fw_download_done() local
1215 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, in nfc_genl_fw_download_done()
1217 if (!hdr) in nfc_genl_fw_download_done()
1225 genlmsg_end(msg, hdr); in nfc_genl_fw_download_done()
1232 genlmsg_cancel(msg, hdr); in nfc_genl_fw_download_done()
1289 void *hdr; in nfc_genl_send_se() local
1293 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, flags, in nfc_genl_send_se()
1295 if (!hdr) in nfc_genl_send_se()
1299 genl_dump_check_consistent(cb, hdr, &nfc_genl_family); in nfc_genl_send_se()
1306 genlmsg_end(msg, hdr); in nfc_genl_send_se()
1312 genlmsg_cancel(msg, hdr); in nfc_genl_send_se()
1422 void *hdr; in se_io_cb() local
1430 hdr = genlmsg_put(msg, 0, 0, &nfc_genl_family, 0, in se_io_cb()
1432 if (!hdr) in se_io_cb()
1440 genlmsg_end(msg, hdr); in se_io_cb()
1449 genlmsg_cancel(msg, hdr); in se_io_cb()
1561 void *hdr; in __nfc_alloc_vendor_cmd_skb() local
1567 hdr = nfc_hdr_put(skb, portid, seq, 0, NFC_CMD_VENDOR); in __nfc_alloc_vendor_cmd_skb()
1568 if (!hdr) { in __nfc_alloc_vendor_cmd_skb()
1581 ((void **)skb->cb)[1] = hdr; in __nfc_alloc_vendor_cmd_skb()
1608 void *hdr = ((void **)skb->cb)[1]; in nfc_vendor_cmd_reply() local
1618 genlmsg_end(skb, hdr); in nfc_vendor_cmd_reply()