| /linux/drivers/media/usb/pvrusb2/ |
| H A D | pvrusb2-ioread.c | 39 static int pvr2_ioread_init(struct pvr2_ioread *cp) in pvr2_ioread_init() argument 43 cp->stream = NULL; in pvr2_ioread_init() 44 mutex_init(&cp->mutex); in pvr2_ioread_init() 47 cp->buffer_storage[idx] = kmalloc(BUFFER_SIZE,GFP_KERNEL); in pvr2_ioread_init() 48 if (!(cp->buffer_storage[idx])) break; in pvr2_ioread_init() 54 if (!(cp->buffer_storage[idx])) continue; in pvr2_ioread_init() 55 kfree(cp->buffer_storage[idx]); in pvr2_ioread_init() 62 static void pvr2_ioread_done(struct pvr2_ioread *cp) in pvr2_ioread_done() argument 66 pvr2_ioread_setup(cp,NULL); in pvr2_ioread_done() 68 if (!(cp->buffer_storage[idx])) continue; in pvr2_ioread_done() [all …]
|
| H A D | pvrusb2-context.c | 237 struct pvr2_channel *cp; in pvr2_context_reset_input_limits() local 241 for (cp = mp->mc_first; cp; cp = cp->mc_next) { in pvr2_context_reset_input_limits() 242 if (!cp->input_mask) continue; in pvr2_context_reset_input_limits() 243 tmsk &= cp->input_mask; in pvr2_context_reset_input_limits() 276 void pvr2_channel_init(struct pvr2_channel *cp,struct pvr2_context *mp) in pvr2_channel_init() argument 279 cp->hdw = mp->hdw; in pvr2_channel_init() 280 cp->mc_head = mp; in pvr2_channel_init() 281 cp->mc_next = NULL; in pvr2_channel_init() 282 cp->mc_prev = mp->mc_last; in pvr2_channel_init() 284 mp->mc_last->mc_next = cp; in pvr2_channel_init() [all …]
|
| /linux/kernel/sched/ |
| H A D | cpudeadline.c | 26 static void cpudl_heapify_down(struct cpudl *cp, int idx) in cpudl_heapify_down() argument 30 int orig_cpu = cp->elements[idx].cpu; in cpudl_heapify_down() 31 u64 orig_dl = cp->elements[idx].dl; in cpudl_heapify_down() 33 if (left_child(idx) >= cp->size) in cpudl_heapify_down() 45 if ((l < cp->size) && dl_time_before(orig_dl, in cpudl_heapify_down() 46 cp->elements[l].dl)) { in cpudl_heapify_down() 48 largest_dl = cp->elements[l].dl; in cpudl_heapify_down() 50 if ((r < cp->size) && dl_time_before(largest_dl, in cpudl_heapify_down() 51 cp->elements[r].dl)) in cpudl_heapify_down() 58 cp->elements[idx].cpu = cp->elements[largest].cpu; in cpudl_heapify_down() [all …]
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_conn.c | 75 * - cp->lock protects conn fields like cp->flags, cp->dest 82 * @cp: connection 97 conn_tab_lock(struct ip_vs_rht *t, struct ip_vs_rht *t2, struct ip_vs_conn *cp, in conn_tab_lock() argument 149 hash_key_new = READ_ONCE(cp->hn0.hash_key); in conn_tab_lock() 152 hash_key_new2 = READ_ONCE(cp->hn1.hash_key); in conn_tab_lock() 235 const struct ip_vs_conn *cp, in ip_vs_conn_hashkey_conn() argument 241 ip_vs_conn_fill_param(cp->ipvs, cp in ip_vs_conn_hashkey_conn() 261 ip_vs_conn_hash(struct ip_vs_conn * cp) ip_vs_conn_hash() argument 316 ip_vs_conn_unlink(struct ip_vs_conn * cp) ip_vs_conn_unlink() argument 375 struct ip_vs_conn *cp; __ip_vs_conn_in_get() local 415 struct ip_vs_conn *cp; ip_vs_conn_in_get() local 483 struct ip_vs_conn *cp; ip_vs_ct_in_get() local 552 struct ip_vs_conn *cp; ip_vs_conn_out_get() local 620 __ip_vs_conn_put_timer(struct ip_vs_conn * cp) __ip_vs_conn_put_timer() argument 629 ip_vs_conn_put(struct ip_vs_conn * cp) ip_vs_conn_put() argument 643 ip_vs_conn_fill_cport(struct ip_vs_conn * cp,__be16 cport) ip_vs_conn_fill_cport() argument 797 ip_vs_conn_change_fwd_mask(struct ip_vs_conn * cp,u32 new_flags) ip_vs_conn_change_fwd_mask() argument 904 struct ip_vs_conn *cp; conn_resize_work_handler() local 1023 ip_vs_bind_xmit(struct ip_vs_conn * cp) ip_vs_bind_xmit() argument 1054 ip_vs_bind_xmit_v6(struct ip_vs_conn * cp) ip_vs_bind_xmit_v6() argument 1089 ip_vs_bind_dest(struct ip_vs_conn * cp,struct ip_vs_dest * dest) ip_vs_bind_dest() argument 1167 ip_vs_try_bind_dest(struct ip_vs_conn * cp) ip_vs_try_bind_dest() argument 1220 ip_vs_unbind_dest(struct ip_vs_conn * cp) ip_vs_unbind_dest() argument 1314 struct ip_vs_conn *cp = container_of(head, struct ip_vs_conn, ip_vs_conn_rcu_free() local 1323 ip_vs_conn_del(struct ip_vs_conn * cp) ip_vs_conn_del() argument 1334 ip_vs_conn_del_put(struct ip_vs_conn * cp) ip_vs_conn_del_put() argument 1349 struct ip_vs_conn *cp = timer_container_of(cp, t, timer); ip_vs_conn_expire() local 1429 ip_vs_conn_expire_now(struct ip_vs_conn * cp) ip_vs_conn_expire_now() argument 1448 struct ip_vs_conn *cp; ip_vs_conn_new() local 1682 const struct ip_vs_conn *cp = ip_vs_hn0_to_conn(hn); ip_vs_conn_seq_show() local 1757 const struct ip_vs_conn *cp = v; ip_vs_conn_sync_seq_show() local 1812 todrop_entry(struct ip_vs_conn * cp) todrop_entry() argument 1837 ip_vs_conn_ops_mode(struct ip_vs_conn * cp) ip_vs_conn_ops_mode() argument 1851 struct ip_vs_conn *cp; ip_vs_random_dropentry() local 1937 struct ip_vs_conn *cp, *cp_c; ip_vs_conn_flush() local 2002 struct ip_vs_conn *cp, *cp_c; ip_vs_expire_nodest_conn_flush() local [all...] |
| H A D | ip_vs_proto_tcp.c | 148 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) in tcp_snat_handler() argument 156 if (cp->af == AF_INET6 && iph->fragoffs) in tcp_snat_handler() 165 if (unlikely(cp->app != NULL)) { in tcp_snat_handler() 169 if (!tcp_csum_check(cp->af, skb, pp, iph)) in tcp_snat_handler() 173 if (!(ret = ip_vs_app_pkt_out(cp, skb, iph))) in tcp_snat_handler() 183 tcph->source = cp->vport; in tcp_snat_handler() 187 tcp_partial_csum_update(cp->af, tcph, &cp->daddr, &cp->vaddr, in tcp_snat_handler() 192 tcp_fast_csum_update(cp->af, tcph, &cp->daddr, &cp->vaddr, in tcp_snat_handler() 193 cp->dport, cp->vport); in tcp_snat_handler() 195 skb->ip_summed = cp->app ? in tcp_snat_handler() [all …]
|
| H A D | ip_vs_proto_udp.c | 137 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) in udp_snat_handler() argument 145 if (cp->af == AF_INET6 && iph->fragoffs) in udp_snat_handler() 154 if (unlikely(cp->app != NULL)) { in udp_snat_handler() 158 if (!udp_csum_check(cp->af, skb, pp, iph)) in udp_snat_handler() 164 if (!(ret = ip_vs_app_pkt_out(cp, skb, iph))) in udp_snat_handler() 174 udph->source = cp->vport; in udp_snat_handler() 180 udp_partial_csum_update(cp->af, udph, &cp->daddr, &cp->vaddr, in udp_snat_handler() 185 udp_fast_csum_update(cp->af, udph, &cp->daddr, &cp->vaddr, in udp_snat_handler() 186 cp->dport, cp->vport); in udp_snat_handler() 188 skb->ip_summed = cp->app ? in udp_snat_handler() [all …]
|
| H A D | ip_vs_nfct.c | 70 ip_vs_update_conntrack(struct sk_buff *skb, struct ip_vs_conn *cp, int outin) in ip_vs_update_conntrack() argument 81 if (IP_VS_FWD_METHOD(cp) != IP_VS_CONN_F_MASQ) in ip_vs_update_conntrack() 85 if (cp->flags & IP_VS_CONN_F_ONE_PACKET) in ip_vs_update_conntrack() 93 if (cp->app && nf_ct_protonum(ct) == IPPROTO_TCP && in ip_vs_update_conntrack() 108 new_tuple.src.u3 = cp->daddr; in ip_vs_update_conntrack() 111 new_tuple.src.u.tcp.port = cp->dport; in ip_vs_update_conntrack() 113 new_tuple.dst.u3 = cp->vaddr; in ip_vs_update_conntrack() 116 new_tuple.dst.u.tcp.port = cp->vport; in ip_vs_update_conntrack() 128 __func__, ct, ARG_CONN(cp)); in ip_vs_update_conntrack() 143 struct ip_vs_conn *cp; in ip_vs_nfct_expect_callback() local [all …]
|
| H A D | ip_vs_ftp.c | 77 ip_vs_ftp_init_conn(struct ip_vs_app *app, struct ip_vs_conn *cp) in ip_vs_ftp_init_conn() argument 80 cp->flags |= IP_VS_CONN_F_NFCT; in ip_vs_ftp_init_conn() 86 ip_vs_ftp_done_conn(struct ip_vs_app *app, struct ip_vs_conn *cp) in ip_vs_ftp_done_conn() argument 254 static int ip_vs_ftp_out(struct ip_vs_app *app, struct ip_vs_conn *cp, in ip_vs_ftp_out() argument 272 if (cp->state != IP_VS_TCP_S_ESTABLISHED) in ip_vs_ftp_out() 279 if (cp->app_data == (void *) IP_VS_FTP_PASV) { in ip_vs_ftp_out() 290 &from, &port, cp->af, in ip_vs_ftp_out() 295 &from.ip, ntohs(port), &cp->caddr.ip, 0); in ip_vs_ftp_out() 296 } else if (cp->app_data == (void *) IP_VS_FTP_EPSV) { in ip_vs_ftp_out() 306 from = cp->daddr; in ip_vs_ftp_out() [all …]
|
| H A D | ip_vs_xmit.c | 634 struct ip_vs_conn *cp) in ip_vs_tunnel_xmit_prepare() argument 639 if (unlikely(cp->flags & IP_VS_CONN_F_NFCT)) in ip_vs_tunnel_xmit_prepare() 667 struct ip_vs_conn *cp, int local) in ip_vs_nat_send_or_cont() argument 672 if (likely(!(cp->flags & IP_VS_CONN_F_NFCT))) in ip_vs_nat_send_or_cont() 675 ip_vs_update_conntrack(skb, cp, 1); in ip_vs_nat_send_or_cont() 680 if (!local || cp->vport != cp->dport || in ip_vs_nat_send_or_cont() 681 !ip_vs_addr_equal(cp->af, &cp->vaddr, &cp->daddr)) in ip_vs_nat_send_or_cont() 688 NF_HOOK(pf, NF_INET_LOCAL_OUT, cp->ipvs->net, NULL, skb, in ip_vs_nat_send_or_cont() 698 struct ip_vs_conn *cp, int local) in ip_vs_send_or_cont() argument 703 if (likely(!(cp->flags & IP_VS_CONN_F_NFCT))) in ip_vs_send_or_cont() [all …]
|
| /linux/drivers/net/ethernet/realtek/ |
| H A D | 8139cp.c | 355 #define cpr8(reg) readb(cp->regs + (reg)) 356 #define cpr16(reg) readw(cp->regs + (reg)) 357 #define cpr32(reg) readl(cp->regs + (reg)) 358 #define cpw8(reg,val) writeb((val), cp->regs + (reg)) 359 #define cpw16(reg,val) writew((val), cp->regs + (reg)) 360 #define cpw32(reg,val) writel((val), cp->regs + (reg)) 362 writeb((val), cp->regs + (reg)); \ 363 readb(cp->regs + (reg)); \ 366 writew((val), cp->regs + (reg)); \ 367 readw(cp->regs + (reg)); \ [all …]
|
| /linux/net/rds/ |
| H A D | threads.c | 74 void rds_connect_path_complete(struct rds_conn_path *cp, int curr) in rds_connect_path_complete() argument 76 if (!rds_conn_path_transition(cp, curr, RDS_CONN_UP)) { in rds_connect_path_complete() 80 atomic_read(&cp->cp_state)); in rds_connect_path_complete() 81 rds_conn_path_drop(cp, false); in rds_connect_path_complete() 86 cp->cp_conn, &cp->cp_conn->c_laddr, &cp->cp_conn->c_faddr); in rds_connect_path_complete() 88 cp->cp_reconnect_jiffies = 0; in rds_connect_path_complete() 89 set_bit(0, &cp->cp_conn->c_map_queued); in rds_connect_path_complete() 91 if (!rds_destroy_pending(cp in rds_connect_path_complete() 124 rds_queue_reconnect(struct rds_conn_path * cp) rds_queue_reconnect() argument 164 struct rds_conn_path *cp = container_of(work, rds_connect_worker() local 193 struct rds_conn_path *cp = container_of(work, rds_send_worker() local 220 struct rds_conn_path *cp = container_of(work, rds_recv_worker() local 245 struct rds_conn_path *cp = container_of(work, rds_shutdown_worker() local [all...] |
| H A D | connection.c | 116 static void rds_conn_path_reset(struct rds_conn_path *cp) in rds_conn_path_reset() argument 118 struct rds_connection *conn = cp->cp_conn; in rds_conn_path_reset() 124 rds_send_path_reset(cp); in rds_conn_path_reset() 133 clear_bit(RDS_LL_SEND_FULL, &cp->cp_flags); in rds_conn_path_reset() 134 clear_bit(RDS_RECONNECT_PENDING, &cp->cp_flags); in rds_conn_path_reset() 143 struct rds_conn_path *cp, bool is_outgoing) in __rds_conn_path_init() argument 145 spin_lock_init(&cp->cp_lock); in __rds_conn_path_init() 146 cp->cp_next_tx_seq = 1; in __rds_conn_path_init() 147 init_waitqueue_head(&cp->cp_waitq); in __rds_conn_path_init() 148 INIT_LIST_HEAD(&cp->cp_send_queue); in __rds_conn_path_init() [all …]
|
| H A D | send.c | 65 void rds_send_path_reset(struct rds_conn_path *cp) in rds_send_path_reset() argument 70 if (cp->cp_xmit_rm) { in rds_send_path_reset() 71 rm = cp->cp_xmit_rm; in rds_send_path_reset() 72 cp->cp_xmit_rm = NULL; in rds_send_path_reset() 81 cp->cp_xmit_sg = 0; in rds_send_path_reset() 82 cp->cp_xmit_hdr_off = 0; in rds_send_path_reset() 83 cp->cp_xmit_data_off = 0; in rds_send_path_reset() 84 cp->cp_xmit_atomic_sent = 0; in rds_send_path_reset() 85 cp->cp_xmit_rdma_sent = 0; in rds_send_path_reset() 86 cp->cp_xmit_data_sent = 0; in rds_send_path_reset() [all …]
|
| /linux/scripts/ |
| H A D | unifdef.c | 642 const char *cp; in parseline() local 659 cp = skipcomment(tline); in parseline() 661 if (*cp == '#') { in parseline() 664 cp = skipcomment(cp + 1); in parseline() 665 } else if (*cp != '\0') in parseline() 669 keyword = tline + (cp - tline); in parseline() 670 cp = skipsym(cp); in parseline() 671 kwlen = cp - keyword; in parseline() 673 if (strncmp(cp, "\\\r\n", 3) == 0 || in parseline() 674 strncmp(cp, "\\\n", 2) == 0) in parseline() [all …]
|
| /linux/drivers/s390/cio/ |
| H A D | vfio_ccw_cp.c | 319 static struct ccwchain *ccwchain_alloc(struct channel_program *cp, int len) in ccwchain_alloc() argument 335 list_add_tail(&chain->next, &cp->ccwchain_list); in ccwchain_alloc() 336 cp->ccwchain_count++; in ccwchain_alloc() 378 static int ccwchain_calc_length(u64 iova, struct channel_program *cp) in ccwchain_calc_length() argument 380 struct ccw1 *ccw = cp->guest_cp; in ccwchain_calc_length() 399 static int tic_target_chain_exists(struct ccw1 *tic, struct channel_program *cp) in tic_target_chain_exists() argument 404 list_for_each_entry(chain, &cp->ccwchain_list, next) { in tic_target_chain_exists() 414 struct channel_program *cp); 416 static int ccwchain_handle_ccw(dma32_t cda, struct channel_program *cp) in ccwchain_handle_ccw() argument 419 &container_of(cp, struct vfio_ccw_private, cp)->vdev; in ccwchain_handle_ccw() [all …]
|
| /linux/net/bluetooth/ |
| H A D | hci_sync.c | 902 struct hci_cp_write_eir cp; in hci_update_eir_sync() 918 memset(&cp, 0, sizeof(cp)); in hci_update_eir_sync() 921 eir_create(hdev, cp.data); in hci_update_eir_sync() 923 if (memcmp(cp.data, hdev->eir, sizeof(cp.data)) == 0) { in hci_update_eir_sync() 928 memcpy(hdev->eir, cp.data, sizeof(cp.data)); in get_service_classes() 931 return __hci_cmd_sync_status(hdev, HCI_OP_WRITE_EIR, sizeof(cp), &cp, in get_service_classes() 894 struct hci_cp_write_eir cp; hci_update_eir_sync() local 1155 struct hci_cp_le_set_ext_adv_enable *cp; hci_disable_ext_adv_legacy_instance_sync() local 1181 struct hci_cp_le_set_ext_adv_enable *cp; hci_disable_ext_adv_instance_sync() local 1218 struct hci_cp_le_set_adv_set_rand_addr cp; hci_set_adv_set_random_addr_sync() local 1243 hci_set_ext_adv_params_sync(struct hci_dev * hdev,u8 instance,const struct hci_cp_le_set_ext_adv_params * cp,struct hci_rp_le_set_ext_adv_params * rp) hci_set_ext_adv_params_sync() argument 1346 struct hci_cp_le_set_adv_data cp; hci_set_adv_data_sync() local 1381 struct hci_cp_le_set_ext_adv_params cp; hci_setup_ext_adv_instance_sync() local 1596 struct hci_cp_le_set_scan_rsp_data cp; __hci_set_scan_rsp_data_sync() local 1635 struct hci_cp_le_set_ext_adv_enable *cp; hci_enable_ext_advertising_sync() local 1696 struct hci_cp_le_set_per_adv_enable cp; hci_disable_per_advertising_sync() local 1716 struct hci_cp_le_set_per_adv_params cp; hci_set_per_adv_params_sync() local 1769 struct hci_cp_le_set_per_adv_enable cp; hci_enable_per_advertising_sync() local 1928 struct hci_cp_le_set_adv_param cp; hci_enable_advertising_sync() local 2048 struct hci_cp_le_term_big cp; hci_le_terminate_big_sync() local 2241 struct hci_cp_read_rssi cp; hci_read_rssi_sync() local 2248 hci_read_clock_sync(struct hci_dev * hdev,struct hci_cp_read_clock * cp) hci_read_clock_sync() argument 2256 struct hci_cp_read_tx_power cp; hci_read_tx_power_sync() local 2282 struct hci_cp_le_set_ext_scan_enable cp; hci_le_set_ext_scan_enable_sync() local 2299 struct hci_cp_le_set_scan_enable cp; hci_le_set_scan_enable_sync() local 2407 struct hci_cp_le_del_from_resolv_list cp; hci_le_del_resolve_list_sync() local 2429 struct hci_cp_le_del_from_accept_list cp; hci_le_del_accept_list_sync() local 2470 struct hci_cp_le_add_to_resolv_list cp; hci_le_add_resolve_list_sync() local 2533 struct hci_cp_le_set_privacy_mode cp; hci_le_set_privacy_mode_sync() local 2574 struct hci_cp_le_add_to_accept_list cp; hci_le_add_accept_list_sync() local 3031 hci_le_scan_phy_params(struct hci_cp_le_scan_phy_params * cp,u8 type,u16 interval,u16 window) hci_le_scan_phy_params() argument 3043 struct hci_cp_le_set_ext_scan_params *cp; hci_le_set_ext_scan_param_sync() local 3129 struct hci_cp_le_set_scan_param cp; hci_le_set_scan_param_sync() local 3450 struct hci_cp_write_le_host_supported cp; hci_write_le_host_supported_sync() local 3532 struct hci_cp_write_page_scan_activity cp; hci_write_fast_connectable_sync() local 3638 struct hci_cp_write_local_name cp; hci_update_name_sync() local 3947 struct hci_cp_set_event_filter cp; hci_set_event_filter_sync() local 3998 struct hci_cp_write_sync_flowctl cp; hci_write_sync_flowctl_sync() local 4061 struct hci_cp_write_eir cp; hci_write_eir_sync() local 4102 struct hci_cp_read_local_ext_features cp; hci_read_local_ext_features_sync() local 4328 struct hci_cp_read_stored_link_key cp; hci_read_stored_link_key_sync() local 4344 struct hci_cp_write_def_link_policy cp; hci_setup_link_policy_sync() local 4700 struct hci_cp_write_le_host_supported cp; hci_set_le_support_sync() local 4724 struct hci_cp_le_set_host_feature_v2 cp; hci_le_set_host_feature_v2_sync() local 4739 struct hci_cp_le_set_host_feature cp; hci_le_set_host_feature_sync() local 4768 struct hci_cp_le_set_def_rate cp; hci_le_set_def_rate_sync() local 4905 struct hci_cp_delete_stored_link_key cp; hci_delete_stored_link_key_sync() local 5042 struct hci_cp_write_def_err_data_reporting cp; hci_set_err_data_report_sync() local 5084 struct hci_cp_le_write_def_data_len cp; hci_le_set_write_def_data_len_sync() local 5102 struct hci_cp_le_set_default_phy cp; hci_le_set_default_phy_sync() local 5754 struct hci_cp_remote_name_req_cancel cp; hci_remote_name_cancel_sync() local 5819 struct hci_cp_disconnect cp; hci_disconnect_sync() local 5918 struct hci_cp_reject_sync_conn_req cp; hci_reject_sco_sync() local 5937 struct hci_cp_le_reject_cis cp; hci_le_reject_cis_sync() local 5950 struct hci_cp_reject_conn_req cp; hci_reject_conn_sync() local 6100 struct hci_cp_write_current_iac_lap cp; hci_write_iac_sync() local 6222 struct hci_cp_inquiry cp; hci_inquiry_sync() local 6674 struct hci_cp_le_set_ext_adv_params cp; hci_le_ext_directed_advertising_sync() local 6742 struct hci_cp_le_set_adv_param cp; hci_le_directed_advertising_sync() local 6811 struct hci_cp_le_ext_create_conn *cp; hci_le_ext_create_conn_sync() local 6861 struct hci_cp_le_create_conn cp; hci_le_create_conn_sync() local 7087 struct hci_cp_le_remove_cig cp; hci_le_remove_cig_sync() local 7098 struct hci_cp_le_big_term_sync cp; hci_le_big_terminate_sync() local 7109 struct hci_cp_le_pa_term_sync cp; hci_le_pa_terminate_sync() local 7208 struct hci_cp_create_conn cp; hci_acl_create_conn_sync() local 7438 struct hci_cp_le_conn_update cp; hci_le_conn_update_sync() local 7457 struct hci_cp_le_conn_rate cp; hci_le_conn_rate_request_sync() local 7577 struct hci_cp_le_past_params cp; hci_le_past_params_sync() local 7607 struct hci_cp_le_pa_create_sync cp; hci_le_pa_create_sync() local 7824 struct hci_cp_le_past_set_info cp; hci_le_past_set_info_sync() local 7847 struct hci_cp_le_past cp; hci_le_past_sync() local 7916 struct hci_cp_le_read_all_remote_features cp; hci_le_read_all_remote_features_sync() local 7935 struct hci_cp_le_read_remote_features cp; hci_le_read_remote_features_sync() local 7991 struct hci_cp_change_conn_ptype *cp = data; pkt_type_changed() local 8000 struct hci_cp_change_conn_ptype *cp = data; hci_change_conn_ptype_sync() local 8011 struct hci_cp_change_conn_ptype *cp; hci_acl_change_pkt_type() local 8031 struct hci_cp_le_set_phy *cp = data; le_phy_update_complete() local 8040 struct hci_cp_le_set_phy *cp = data; hci_le_set_phy_sync() local 8051 struct hci_cp_le_set_phy *cp; hci_le_set_phy() local [all...] |
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | cnic.c | 191 struct cnic_local *cp = dev->cnic_priv; in cnic_ctx_wr() local 192 struct cnic_eth_dev *ethdev = cp->ethdev; in cnic_ctx_wr() 206 struct cnic_local *cp = dev->cnic_priv; in cnic_ctx_tbl_wr() local 207 struct cnic_eth_dev *ethdev = cp->ethdev; in cnic_ctx_tbl_wr() 220 struct cnic_local *cp = dev->cnic_priv; in cnic_ring_ctl() local 221 struct cnic_eth_dev *ethdev = cp->ethdev; in cnic_ring_ctl() 238 struct cnic_local *cp = dev->cnic_priv; in cnic_reg_wr_ind() local 239 struct cnic_eth_dev *ethdev = cp->ethdev; in cnic_reg_wr_ind() 252 struct cnic_local *cp = dev->cnic_priv; in cnic_reg_rd_ind() local 253 struct cnic_eth_dev *ethdev = cp->ethdev; in cnic_reg_rd_ind() [all …]
|
| /linux/tools/perf/util/ |
| H A D | call-path.c | 14 static void call_path__init(struct call_path *cp, struct call_path *parent, in call_path__init() argument 17 cp->parent = parent; in call_path__init() 18 cp->sym = sym; in call_path__init() 19 cp->ip = sym ? 0 : ip; in call_path__init() 20 cp->db_id = 0; in call_path__init() 21 cp->in_kernel = in_kernel; in call_path__init() 22 RB_CLEAR_NODE(&cp->rb_node); in call_path__init() 23 cp->children = RB_ROOT; in call_path__init() 55 struct call_path *cp; in call_path__new() local 70 cp = &cpb->cp[n]; in call_path__new() [all …]
|
| /linux/drivers/tty/vt/ |
| H A D | gen_ucs_fallback_table.py | 41 for cp in range(0x0080, 0x10000): # Skip ASCII range (0x00-0x7F) 42 char = chr(cp) 56 fallback_map[cp] = ord(ascii_version) 86 for cp in range(0x2596, 0x259F+1): 87 overrides[cp] = ord('#') # ▖ ▗ ▘ ▙ etc. - map to # (unidecode: empty string) 136 …for cp in (0x2204, 0x2209, 0x220C, 0x2224, 0x2226, 0x226E, 0x226F, 0x2280, 0x2281, 0x2284, 0x2285): 137 overrides[cp] = ord('!') # Negated math symbols -> ! (not) 140 for cp in (0x2241, 0x2244, 0x2249, 0x2262, 0x2268, 0x2269, 0x226D, 0x228A, 0x228B): 141 overrides[cp] = ord('#') # Negated equality symbols -> # (not equal) 144 for cp in (0x219A, 0x219B, 0x21AE, 0x21CD, 0x21CE, 0x21CF): [all …]
|
| /linux/arch/riscv/kvm/ |
| H A D | vcpu_sbi_replace.c | 20 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_sbi_ext_time_handler() local 23 if (cp->a6 != SBI_EXT_TIME_SET_TIMER) { in kvm_sbi_ext_time_handler() 30 next_cycle = ((u64)cp->a1 << 32) | (u64)cp->a0; in kvm_sbi_ext_time_handler() 32 next_cycle = (u64)cp->a0; in kvm_sbi_ext_time_handler() 51 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_sbi_ext_ipi_handler() local 52 unsigned long hmask = cp->a0; in kvm_sbi_ext_ipi_handler() 53 unsigned long hbase = cp->a1; in kvm_sbi_ext_ipi_handler() 56 if (cp->a6 != SBI_EXT_IPI_SEND_IPI) { in kvm_sbi_ext_ipi_handler() 95 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_sbi_ext_rfence_handler() local 96 unsigned long hmask = cp->a0; in kvm_sbi_ext_rfence_handler() [all …]
|
| /linux/drivers/scsi/sym53c8xx_2/ |
| H A D | sym_hipd.c | 46 static void sym_complete_error (struct sym_hcb *np, struct sym_ccb *cp); 47 static void sym_complete_ok (struct sym_hcb *np, struct sym_ccb *cp); 48 static int sym_compute_residual(struct sym_hcb *np, struct sym_ccb *cp); 60 static void sym_print_msg(struct sym_ccb *cp, char *label, u_char *msg) in sym_print_msg() argument 62 sym_print_addr(cp->cmd, "%s: ", label); in sym_print_msg() 1406 static int sym_prepare_nego(struct sym_hcb *np, struct sym_ccb *cp, u_char *msgptr) argument 1408 struct sym_tcb *tp = &np->target[cp->target]; 1449 cp->nego_status = nego; 1452 tp->nego_cp = cp; /* Keep track a nego will be performed */ 1454 sym_print_nego_msg(np, cp->target, [all …]
|
| /linux/scripts/package/ |
| H A D | buildtar | 48 cp -v -- "${objtree}/System.map" "${tmpdir}/boot/System.map-${KERNELRELEASE}" 49 cp -v -- "${KCONFIG_CONFIG}" "${tmpdir}/boot/config-${KERNELRELEASE}" 50 cp -v -- "${objtree}/vmlinux" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}" 62 cp -v -- "${objtree}/arch/alpha/boot/vmlinux.gz" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}" 65 cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}" 66 …[ -f "${objtree}/lifimage" ] && cp -v -- "${objtree}/lifimage" "${tmpdir}/boot/lifimage-${KERNELRE… 71 …cp -v -- "${objtree}/arch/mips/boot/compressed/vmlinux.bin" "${tmpdir}/boot/vmlinuz-${KERNELRELEAS… 73 …cp -v -- "${objtree}/arch/mips/boot/compressed/vmlinux.ecoff" "${tmpdir}/boot/vmlinuz-${KERNELRELE… 75 …cp -v -- "${objtree}/arch/mips/boot/compressed/vmlinux.srec" "${tmpdir}/boot/vmlinuz-${KERNELRELEA… 77 cp -v -- "${objtree}/vmlinux.32" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}" [all …]
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | string.c | 114 static unsigned int simple_guess_base(const char *cp) in simple_guess_base() argument 116 if (cp[0] == '0') { in simple_guess_base() 117 if (TOLOWER(cp[1]) == 'x' && isxdigit(cp[2])) in simple_guess_base() 133 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) in simple_strtoull() argument 138 base = simple_guess_base(cp); in simple_strtoull() 140 if (base == 16 && cp[0] == '0' && TOLOWER(cp[1]) == 'x') in simple_strtoull() 141 cp += 2; in simple_strtoull() 143 while (isxdigit(*cp)) { in simple_strtoull() 146 value = isdigit(*cp) ? *cp - '0' : TOLOWER(*cp) - 'a' + 10; in simple_strtoull() 150 cp++; in simple_strtoull() [all …]
|
| /linux/tools/usb/usbip/libsrc/ |
| H A D | names.c | 293 char buf[512], *cp; in parse() local 305 cp = strchr(buf, '\r'); in parse() 306 if (cp) in parse() 307 *cp = 0; in parse() 308 cp = strchr(buf, '\n'); in parse() 309 if (cp) in parse() 310 *cp = 0; in parse() 313 cp = buf; in parse() 339 cp = buf+2; in parse() 340 while (isspace(*cp)) in parse() [all …]
|
| /linux/arch/mips/fw/arc/ |
| H A D | cmdline.c | 41 static char __init *move_firmware_args(int argc, LONG *argv, char *cp) in move_firmware_args() argument 55 strcat(cp, used_arc[i][1]); in move_firmware_args() 56 cp += strlen(used_arc[i][1]); in move_firmware_args() 62 memcpy(cp, s, len + 1); in move_firmware_args() 63 cp += len; in move_firmware_args() 65 *cp++ = ' '; in move_firmware_args() 72 return cp; in move_firmware_args() 77 char *cp; in prom_init_cmdline() local 83 cp = arcs_cmdline; in prom_init_cmdline() 88 cp = move_firmware_args(argc, argv, cp); in prom_init_cmdline() [all …]
|