/net/irda/ircomm/ |
D | ircomm_param.c | 42 static int ircomm_param_service_type(void *instance, irda_param_t *param, 44 static int ircomm_param_port_type(void *instance, irda_param_t *param, 46 static int ircomm_param_port_name(void *instance, irda_param_t *param, 48 static int ircomm_param_service_type(void *instance, irda_param_t *param, 50 static int ircomm_param_data_rate(void *instance, irda_param_t *param, 52 static int ircomm_param_data_format(void *instance, irda_param_t *param, 54 static int ircomm_param_flow_control(void *instance, irda_param_t *param, 56 static int ircomm_param_xon_xoff(void *instance, irda_param_t *param, int get); 57 static int ircomm_param_enq_ack(void *instance, irda_param_t *param, int get); 58 static int ircomm_param_line_status(void *instance, irda_param_t *param, [all …]
|
/net/nfc/nci/ |
D | core.c | 228 struct nci_set_config_param *param = (struct nci_set_config_param *)opt; in nci_set_config_req() local 231 BUG_ON(param->len > NCI_MAX_PARAM_LEN); in nci_set_config_req() 234 cmd.param.id = param->id; in nci_set_config_req() 235 cmd.param.len = param->len; in nci_set_config_req() 236 memcpy(cmd.param.val, param->val, param->len); in nci_set_config_req() 238 nci_send_cmd(ndev, NCI_OP_CORE_SET_CONFIG_CMD, (3 + param->len), &cmd); in nci_set_config_req() 248 struct nci_rf_discover_param *param = in nci_rf_discover_req() local 255 (param->im_protocols & NFC_PROTO_JEWEL_MASK || in nci_rf_discover_req() 256 param->im_protocols & NFC_PROTO_MIFARE_MASK || in nci_rf_discover_req() 257 param->im_protocols & NFC_PROTO_ISO14443_MASK || in nci_rf_discover_req() [all …]
|
/net/irda/ |
D | qos.c | 86 static int irlap_param_baud_rate(void *instance, irda_param_t *param, int get); 89 static int irlap_param_max_turn_time(void *instance, irda_param_t *param, 91 static int irlap_param_data_size(void *instance, irda_param_t *param, int get); 92 static int irlap_param_window_size(void *instance, irda_param_t *param, 96 static int irlap_param_min_turn_time(void *instance, irda_param_t *param, 526 static int irlap_param_baud_rate(void *instance, irda_param_t *param, int get) in irlap_param_baud_rate() argument 536 param->pv.i = self->qos_rx.baud_rate.bits; in irlap_param_baud_rate() 538 __func__, param->pv.i); in irlap_param_baud_rate() 544 pr_debug("Requested BAUD_RATE: 0x%04x\n", (__u16)param->pv.i); in irlap_param_baud_rate() 545 final = (__u16) param->pv.i & self->qos_rx.baud_rate.bits; in irlap_param_baud_rate() [all …]
|
/net/sctp/ |
D | sm_make_chunk.c | 78 union sctp_params param, 1098 struct sctp_paramhdr *param) in sctp_make_violation_paramlen() argument 1112 sctp_addto_param(retval, sizeof(sctp_paramhdr_t), 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() 1977 static int sctp_verify_ext_param(struct net *net, union sctp_params param) in sctp_verify_ext_param() argument 1979 __u16 num_ext = ntohs(param.p->length) - sizeof(sctp_paramhdr_t); in sctp_verify_ext_param() [all …]
|
D | auth.c | 635 static int __sctp_auth_cid(sctp_cid_t chunk, struct sctp_chunks_param *param) in __sctp_auth_cid() argument 641 if (!param || param->param_hdr.length == 0) in __sctp_auth_cid() 644 len = ntohs(param->param_hdr.length) - sizeof(sctp_paramhdr_t); in __sctp_auth_cid() 653 switch (param->chunks[i]) { in __sctp_auth_cid() 661 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() 303 len = ntohs(param->length); in sctp_raw_to_bind_addrs()
|
/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/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()
|
/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/irda/irlan/ |
D | irlan_client.c | 67 static void irlan_check_response_param(struct irlan_cb *self, char *param, 419 static void irlan_check_response_param(struct irlan_cb *self, char *param, in irlan_check_response_param() argument 426 pr_debug("%s(), parm=%s\n", __func__ , param); in irlan_check_response_param() 432 if (strcmp(param, "MEDIA") == 0) { in irlan_check_response_param() 439 if (strcmp(param, "FILTER_TYPE") == 0) { in irlan_check_response_param() 456 if (strcmp(param, "ACCESS_TYPE") == 0) { in irlan_check_response_param() 468 if (strcmp(param, "IRLAN_VER") == 0) { in irlan_check_response_param() 477 if (strcmp(param, "DATA_CHAN") == 0) { in irlan_check_response_param() 482 if (strcmp(param, "CON_ARB") == 0) { in irlan_check_response_param() 489 if (strcmp(param, "MAX_FRAME") == 0) { in irlan_check_response_param() [all …]
|
D | irlan_filter.c | 144 void irlan_check_command_param(struct irlan_cb *self, char *param, char *value) in irlan_check_command_param() argument 149 pr_debug("%s, %s\n", param, value); in irlan_check_command_param() 154 if (strcmp(param, "MODE") == 0) { in irlan_check_command_param() 162 if (strcmp(param, "FILTER_TYPE") == 0) { in irlan_check_command_param() 179 if (strcmp(param, "FILTER_MODE") == 0) { in irlan_check_command_param() 196 if (strcmp(param, "FILTER_OPERATION") == 0) { in irlan_check_command_param()
|
D | irlan_common.c | 103 static int __irlan_insert_param(struct sk_buff *skb, char *param, int type, 918 int irlan_insert_byte_param(struct sk_buff *skb, char *param, __u8 value) in irlan_insert_byte_param() argument 920 return __irlan_insert_param(skb, param, IRLAN_BYTE, value, 0, NULL, 0); in irlan_insert_byte_param() 923 int irlan_insert_short_param(struct sk_buff *skb, char *param, __u16 value) in irlan_insert_short_param() argument 925 return __irlan_insert_param(skb, param, IRLAN_SHORT, 0, value, NULL, 0); in irlan_insert_short_param() 934 int irlan_insert_string_param(struct sk_buff *skb, char *param, char *string) in irlan_insert_string_param() argument 938 return __irlan_insert_param(skb, param, IRLAN_ARRAY, 0, 0, string, in irlan_insert_string_param() 964 static int __irlan_insert_param(struct sk_buff *skb, char *param, int type, in __irlan_insert_param() argument 978 param_len = strlen(param); in __irlan_insert_param() 1009 memcpy(frame+n, param, param_len); n += param_len; in __irlan_insert_param()
|
/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/rose/ |
D | rose_timer.c | 128 static void rose_heartbeat_expiry(unsigned long param) in rose_heartbeat_expiry() argument 130 struct sock *sk = (struct sock *)param; in rose_heartbeat_expiry() 166 static void rose_timer_expiry(unsigned long param) in rose_timer_expiry() argument 168 struct sock *sk = (struct sock *)param; in rose_timer_expiry() 195 static void rose_idletimer_expiry(unsigned long param) in rose_idletimer_expiry() argument 197 struct sock *sk = (struct sock *)param; in rose_idletimer_expiry()
|
D | rose_link.c | 80 static void rose_ftimer_expiry(unsigned long param) in rose_ftimer_expiry() argument 84 static void rose_t0timer_expiry(unsigned long param) in rose_t0timer_expiry() argument 86 struct rose_neigh *neigh = (struct rose_neigh *)param; in rose_t0timer_expiry()
|
/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/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 | 839 static void ip_vs_proc_conn(struct netns_ipvs *ipvs, struct ip_vs_conn_param *param, in ip_vs_proc_conn() argument 850 cp = ip_vs_conn_in_get(param); in ip_vs_proc_conn() 863 kfree(param->pe_data); in ip_vs_proc_conn() 868 cp = ip_vs_ct_in_get(param); in ip_vs_proc_conn() 873 kfree(param->pe_data); in ip_vs_proc_conn() 906 param->vaddr, param->vport, protocol, in ip_vs_proc_conn() 909 cp = ip_vs_conn_new(param, type, daddr, dport, flags, dest, in ip_vs_proc_conn() 913 kfree(param->pe_data); in ip_vs_proc_conn() 918 kfree(param->pe_data); in ip_vs_proc_conn() 963 struct ip_vs_conn_param param; in ip_vs_process_message_v0() local [all …]
|
D | ip_vs_core.c | 245 struct ip_vs_conn_param param; in ip_vs_sched_persist() local 316 vaddr, vport, ¶m) < 0) { in ip_vs_sched_persist() 323 ct = ip_vs_ct_in_get(¶m); in ip_vs_sched_persist() 342 kfree(param.pe_data); in ip_vs_sched_persist() 354 ct = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, in ip_vs_sched_persist() 357 kfree(param.pe_data); in ip_vs_sched_persist() 366 kfree(param.pe_data); in ip_vs_sched_persist() 381 src_port, dst_addr, dst_port, ¶m); in ip_vs_sched_persist() 383 cp = ip_vs_conn_new(¶m, dest->af, &dest->addr, dport, flags, dest, in ip_vs_sched_persist() 1122 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() 540 const struct rds_ib_connect_private *dp = event->param.conn.private_data; in rds_ib_protocol_compatible() 555 if (!event->param.conn.private_data_len) { in rds_ib_protocol_compatible() 562 if (event->param.conn.private_data_len < sizeof (*dp) || in rds_ib_protocol_compatible() 584 const struct rds_ib_connect_private *dp = event->param.conn.private_data; in rds_ib_cm_handle_connect() 660 event->param.conn.responder_resources, in rds_ib_cm_handle_connect() 661 event->param.conn.initiator_depth); in rds_ib_cm_handle_connect()
|