/net/nfc/nci/ |
D | core.c | 227 struct nci_set_config_param *param = (struct nci_set_config_param *)opt; in nci_set_config_req() local 230 BUG_ON(param->len > NCI_MAX_PARAM_LEN); in nci_set_config_req() 233 cmd.param.id = param->id; in nci_set_config_req() 234 cmd.param.len = param->len; in nci_set_config_req() 235 memcpy(cmd.param.val, param->val, param->len); in nci_set_config_req() 237 nci_send_cmd(ndev, NCI_OP_CORE_SET_CONFIG_CMD, (3 + param->len), &cmd); in nci_set_config_req() 247 struct nci_rf_discover_param *param = in nci_rf_discover_req() local 254 (param->im_protocols & NFC_PROTO_JEWEL_MASK || in nci_rf_discover_req() 255 param->im_protocols & NFC_PROTO_MIFARE_MASK || in nci_rf_discover_req() 256 param->im_protocols & NFC_PROTO_ISO14443_MASK || in nci_rf_discover_req() [all …]
|
D | hci.c | 221 const u8 *param, size_t param_len) in nci_hci_send_event() argument 230 param, param_len); in nci_hci_send_event() 235 const u8 *param, size_t param_len, in nci_hci_send_cmd() argument 254 data.data = param; in nci_hci_send_cmd() 575 const u8 *param, size_t param_len) in nci_hci_set_param() argument 598 memcpy(tmp + 1, param, param_len); in nci_hci_set_param()
|
/net/caif/ |
D | cfctrl.c | 123 return param_eq(&r1->param, &r2->param); in cfctrl_req_eq() 200 struct cfctrl_link_param *param, in cfctrl_linkup_request() argument 229 cfpkt_addbdy(pkt, (param->chtype << 4) | param->linktype); in cfctrl_linkup_request() 230 cfpkt_addbdy(pkt, (param->priority << 3) | param->phyid); in cfctrl_linkup_request() 231 cfpkt_addbdy(pkt, param->endpoint & 0x03); in cfctrl_linkup_request() 233 switch (param->linktype) { in cfctrl_linkup_request() 237 cfpkt_addbdy(pkt, (u8) param->u.video.connid); in cfctrl_linkup_request() 242 tmp32 = cpu_to_le32(param->u.datagram.connid); in cfctrl_linkup_request() 249 tmp32 = cpu_to_le32(param->u.rfm.connid); in cfctrl_linkup_request() 252 cfpkt_add_body(pkt, param->u.rfm.volume, in cfctrl_linkup_request() [all …]
|
D | cfcnfg.c | 283 l->u.utility.paramlen = s->param.size; in caif_connect_req_to_link_param() 287 memcpy(l->u.utility.params, s->param.data, in caif_connect_req_to_link_param() 309 struct cfctrl_link_param param; in caif_connect_client() local 313 err = caif_connect_req_to_link_param(cfg, conn_req, ¶m); in caif_connect_client() 317 phy = cfcnfg_get_phyinfo_rcu(cfg, param.phyid); in caif_connect_client() 343 caif_assert(param.phyid == phy->id); in caif_connect_client() 345 param.phyid); in caif_connect_client() 347 param.phyid); in caif_connect_client() 351 *proto_head = protohead[param.linktype] + phy->head_room; in caif_connect_client() 356 cfctrl_enum_req(cfg->ctrl, param.phyid); in caif_connect_client() [all …]
|
/net/sctp/ |
D | sm_make_chunk.c | 79 union sctp_params param, 1102 struct sctp_paramhdr *param) in sctp_make_violation_paramlen() argument 1106 sizeof(*param); in sctp_make_violation_paramlen() 1114 sizeof(error) + sizeof(*param)); in sctp_make_violation_paramlen() 1116 sctp_addto_param(retval, sizeof(*param), param); in sctp_make_violation_paramlen() 1931 struct sctp_paramhdr *param, in sctp_process_inv_paramlength() argument 1942 *errp = sctp_make_violation_paramlen(asoc, chunk, param); in sctp_process_inv_paramlength() 1952 union sctp_params param, in sctp_process_hn_param() argument 1956 __u16 len = ntohs(param.p->length); in sctp_process_hn_param() 1970 sctp_addto_chunk(*errp, len, param.v); in sctp_process_hn_param() [all …]
|
D | stream.c | 327 union sctp_params param; in sctp_chunk_lookup_strreset_param() local 333 sctp_walk_params(param, hdr, params) { in sctp_chunk_lookup_strreset_param() 338 struct sctp_strreset_tsnreq *req = param.v; in sctp_chunk_lookup_strreset_param() 342 return param.v; in sctp_chunk_lookup_strreset_param() 357 union sctp_params param, in sctp_process_strreset_outreq() argument 360 struct sctp_strreset_outreq *outreq = param.v; in sctp_process_strreset_outreq() 393 nums = (ntohs(param.p->length) - sizeof(*outreq)) / sizeof(__u16); in sctp_process_strreset_outreq() 446 union sctp_params param, in sctp_process_strreset_inreq() argument 449 struct sctp_strreset_inreq *inreq = param.v; in sctp_process_strreset_inreq() 479 nums = (ntohs(param.p->length) - sizeof(*inreq)) / 2; in sctp_process_strreset_inreq() [all …]
|
D | auth.c | 636 static int __sctp_auth_cid(enum sctp_cid chunk, struct sctp_chunks_param *param) in __sctp_auth_cid() argument 642 if (!param || param->param_hdr.length == 0) in __sctp_auth_cid() 645 len = ntohs(param->param_hdr.length) - sizeof(struct sctp_paramhdr); in __sctp_auth_cid() 654 switch (param->chunks[i]) { in __sctp_auth_cid() 662 if (param->chunks[i] == chunk) in __sctp_auth_cid()
|
D | bind_addr.c | 276 struct sctp_paramhdr *param; in sctp_raw_to_bind_addrs() local 284 param = (struct sctp_paramhdr *)raw_addr_list; in sctp_raw_to_bind_addrs() 287 af = sctp_get_af_specific(param_type2af(param->type)); in sctp_raw_to_bind_addrs() 306 len = ntohs(param->length); in sctp_raw_to_bind_addrs()
|
/net/ax25/ |
D | ax25_timer.c | 123 static void ax25_heartbeat_expiry(unsigned long param) in ax25_heartbeat_expiry() argument 126 ax25_cb *ax25 = (ax25_cb *)param; in ax25_heartbeat_expiry() 148 static void ax25_t1timer_expiry(unsigned long param) in ax25_t1timer_expiry() argument 150 ax25_cb *ax25 = (ax25_cb *)param; in ax25_t1timer_expiry() 167 static void ax25_t2timer_expiry(unsigned long param) in ax25_t2timer_expiry() argument 169 ax25_cb *ax25 = (ax25_cb *)param; in ax25_t2timer_expiry() 186 static void ax25_t3timer_expiry(unsigned long param) in ax25_t3timer_expiry() argument 188 ax25_cb *ax25 = (ax25_cb *)param; in ax25_t3timer_expiry() 207 static void ax25_idletimer_expiry(unsigned long param) in ax25_idletimer_expiry() argument 209 ax25_cb *ax25 = (ax25_cb *)param; in ax25_idletimer_expiry()
|
D | ax25_ds_subr.c | 127 static void ax25_kiss_cmd(ax25_dev *ax25_dev, unsigned char cmd, unsigned char param) in ax25_kiss_cmd() argument 142 *p++ = param; in ax25_kiss_cmd()
|
/net/nfc/hci/ |
D | command.c | 32 const u8 *param, size_t param_len, in nfc_hci_execute_cmd_async() argument 42 param, param_len, cb, cb_context, MAX_FWI); in nfc_hci_execute_cmd_async() 68 const u8 *param, size_t param_len, in nfc_hci_execute_cmd() argument 85 param, param_len, in nfc_hci_execute_cmd() 104 const u8 *param, size_t param_len) in nfc_hci_send_event() argument 115 param, param_len, NULL, NULL, 0); in nfc_hci_send_event() 125 const u8 *param, size_t param_len, struct sk_buff **skb) in nfc_hci_send_cmd() argument 135 return nfc_hci_execute_cmd(hdev, pipe, cmd, param, param_len, skb); in nfc_hci_send_cmd() 140 const u8 *param, size_t param_len, in nfc_hci_send_cmd_async() argument 151 return nfc_hci_execute_cmd_async(hdev, pipe, cmd, param, param_len, in nfc_hci_send_cmd_async() [all …]
|
/net/netrom/ |
D | nr_timer.c | 116 static void nr_heartbeat_expiry(unsigned long param) in nr_heartbeat_expiry() argument 118 struct sock *sk = (struct sock *)param; in nr_heartbeat_expiry() 155 static void nr_t2timer_expiry(unsigned long param) in nr_t2timer_expiry() argument 157 struct sock *sk = (struct sock *)param; in nr_t2timer_expiry() 168 static void nr_t4timer_expiry(unsigned long param) in nr_t4timer_expiry() argument 170 struct sock *sk = (struct sock *)param; in nr_t4timer_expiry() 177 static void nr_idletimer_expiry(unsigned long param) in nr_idletimer_expiry() argument 179 struct sock *sk = (struct sock *)param; in nr_idletimer_expiry() 205 static void nr_t1timer_expiry(unsigned long param) in nr_t1timer_expiry() argument 207 struct sock *sk = (struct sock *)param; in nr_t1timer_expiry()
|
/net/dccp/ |
D | qpolicy.c | 131 bool dccp_qpolicy_param_ok(struct sock *sk, __be32 param) in dccp_qpolicy_param_ok() argument 134 if (!param || (param & (param - 1))) in dccp_qpolicy_param_ok() 136 return (qpol_table[dccp_sk(sk)->dccps_qpolicy].params & param) == param; in dccp_qpolicy_param_ok()
|
/net/x25/ |
D | x25_timer.c | 96 static void x25_heartbeat_expiry(unsigned long param) in x25_heartbeat_expiry() argument 98 struct sock *sk = (struct sock *)param; in x25_heartbeat_expiry() 163 static void x25_timer_expiry(unsigned long param) in x25_timer_expiry() argument 165 struct sock *sk = (struct sock *)param; in x25_timer_expiry()
|
/net/lapb/ |
D | lapb_timer.c | 78 static void lapb_t2timer_expiry(unsigned long param) in lapb_t2timer_expiry() argument 80 struct lapb_cb *lapb = (struct lapb_cb *)param; in lapb_t2timer_expiry() 88 static void lapb_t1timer_expiry(unsigned long param) in lapb_t1timer_expiry() argument 90 struct lapb_cb *lapb = (struct lapb_cb *)param; in lapb_t1timer_expiry()
|
/net/bluetooth/hidp/ |
D | core.c | 445 unsigned char param) in hidp_process_handshake() argument 447 BT_DBG("session %p param 0x%02x", session, param); in hidp_process_handshake() 450 switch (param) { in hidp_process_handshake() 488 unsigned char param) in hidp_process_hid_control() argument 490 BT_DBG("session %p param 0x%02x", session, param); in hidp_process_hid_control() 492 if (param == HIDP_CTRL_VIRTUAL_CABLE_UNPLUG) { in hidp_process_hid_control() 503 unsigned char param) in hidp_process_data() argument 506 BT_DBG("session %p skb %p len %d param 0x%02x", session, skb, skb->len, param); in hidp_process_data() 508 switch (param) { in hidp_process_data() 531 param == session->waiting_report_type) { in hidp_process_data() [all …]
|
/net/ipv6/ |
D | seg6_local.c | 754 struct seg6_action_param *param; in parse_nla_action() local 773 param = &seg6_action_params[i]; in parse_nla_action() 775 err = param->parse(attrs, slwt); in parse_nla_action() 841 struct seg6_action_param *param; in seg6_local_fill_encap() local 849 param = &seg6_action_params[i]; in seg6_local_fill_encap() 850 err = param->put(skb, slwt); in seg6_local_fill_encap() 894 struct seg6_action_param *param; in seg6_local_cmp_encap() local 908 param = &seg6_action_params[i]; in seg6_local_cmp_encap() 909 if (param->cmp(slwt_a, slwt_b)) in seg6_local_cmp_encap()
|
D | esp6.c | 772 struct crypto_authenc_key_param *param; in esp_init_authenc() local 816 (x->ealg->alg_key_len + 7) / 8 + RTA_SPACE(sizeof(*param)); in esp_init_authenc() 825 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc() 826 param = RTA_DATA(rta); in esp_init_authenc() 827 p += RTA_SPACE(sizeof(*param)); in esp_init_authenc() 854 param->enckeylen = cpu_to_be32((x->ealg->alg_key_len + 7) / 8); in esp_init_authenc()
|
/net/bluetooth/ |
D | hci_request.h | 42 const void *param); 44 const void *param, u8 event); 58 const void *param);
|
D | mgmt_util.c | 243 cmd->param = kmemdup(data, len, GFP_KERNEL); in mgmt_pending_add() 244 if (!cmd->param) { in mgmt_pending_add() 262 kfree(cmd->param); in mgmt_pending_free()
|
/net/netfilter/ipvs/ |
D | ip_vs_sync.c | 845 static void ip_vs_proc_conn(struct netns_ipvs *ipvs, struct ip_vs_conn_param *param, in ip_vs_proc_conn() argument 856 cp = ip_vs_conn_in_get(param); in ip_vs_proc_conn() 869 kfree(param->pe_data); in ip_vs_proc_conn() 874 cp = ip_vs_ct_in_get(param); in ip_vs_proc_conn() 879 kfree(param->pe_data); in ip_vs_proc_conn() 912 param->vaddr, param->vport, protocol, in ip_vs_proc_conn() 915 cp = ip_vs_conn_new(param, type, daddr, dport, flags, dest, in ip_vs_proc_conn() 919 kfree(param->pe_data); in ip_vs_proc_conn() 924 kfree(param->pe_data); in ip_vs_proc_conn() 969 struct ip_vs_conn_param param; in ip_vs_process_message_v0() local [all …]
|
D | ip_vs_core.c | 241 struct ip_vs_conn_param param; in ip_vs_sched_persist() local 312 vaddr, vport, ¶m) < 0) { in ip_vs_sched_persist() 319 ct = ip_vs_ct_in_get(¶m); in ip_vs_sched_persist() 338 kfree(param.pe_data); in ip_vs_sched_persist() 350 ct = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, in ip_vs_sched_persist() 353 kfree(param.pe_data); in ip_vs_sched_persist() 362 kfree(param.pe_data); in ip_vs_sched_persist() 377 src_port, dst_addr, dst_port, ¶m); in ip_vs_sched_persist() 379 cp = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, flags, dest, in ip_vs_sched_persist() 1118 struct ip_vs_conn_param param; in ip_vs_new_conn_out() local [all …]
|
/net/rds/ |
D | ib_cm.c | 103 if (event->param.conn.private_data_len >= sizeof(*dp)) { in rds_ib_cm_connect_complete() 104 dp = event->param.conn.private_data; in rds_ib_cm_connect_complete() 582 const struct rds_ib_connect_private *dp = event->param.conn.private_data; in rds_ib_protocol_compatible() 597 if (!event->param.conn.private_data_len) { in rds_ib_protocol_compatible() 604 if (event->param.conn.private_data_len < sizeof (*dp) || in rds_ib_protocol_compatible() 626 const struct rds_ib_connect_private *dp = event->param.conn.private_data; in rds_ib_cm_handle_connect() 702 event->param.conn.responder_resources, in rds_ib_cm_handle_connect() 703 event->param.conn.initiator_depth); in rds_ib_cm_handle_connect()
|
/net/nfc/ |
D | digital.h | 62 int digital_in_configure_hw(struct nfc_digital_dev *ddev, int type, int param); 96 int digital_tg_configure_hw(struct nfc_digital_dev *ddev, int type, int param);
|
/net/rose/ |
D | rose_timer.c | 123 static void rose_heartbeat_expiry(unsigned long param) in rose_heartbeat_expiry() argument 125 struct sock *sk = (struct sock *)param; in rose_heartbeat_expiry()
|