Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 25 of 553) sorted by relevance

12345678910>>...23

/linux/drivers/media/usb/pvrusb2/
A Dpvrusb2-ioread.c76 cp = kzalloc(sizeof(*cp),GFP_KERNEL); in pvr2_ioread_create()
250 while (cp->c_data_len <= cp->c_data_offs) { in pvr2_ioread_get_buffer()
287 cp->c_data_ptr = cp->buffer_storage[ in pvr2_ioread_get_buffer()
313 cp->sync_key_ptr[cp->sync_buf_offs]) { in pvr2_ioread_filter()
327 if (cp->sync_buf_offs >= cp->sync_key_len) { in pvr2_ioread_filter()
328 cp->sync_trashed_count -= cp->sync_key_len; in pvr2_ioread_filter()
337 if (cp->c_data_offs < cp->c_data_len) { in pvr2_ioread_filter()
341 cp->c_data_len,cp->c_data_offs); in pvr2_ioread_filter()
400 cp); in pvr2_ioread_read()
430 src = cp->c_data_ptr + cp->c_data_offs; in pvr2_ioread_read()
[all …]
A Dpvrusb2-context.c241 for (cp = mp->mc_first; cp; cp = cp->mc_next) { in pvr2_context_reset_input_limits()
278 cp->hdw = mp->hdw; in pvr2_channel_init()
279 cp->mc_head = mp; in pvr2_channel_init()
287 mp->mc_last = cp; in pvr2_channel_init()
297 cp->stream = NULL; in pvr2_channel_disclaim_stream()
309 cp->mc_next->mc_prev = cp->mc_prev; in pvr2_channel_done()
314 cp->mc_prev->mc_next = cp->mc_next; in pvr2_channel_done()
318 cp->hdw = NULL; in pvr2_channel_done()
386 sp->user = cp; in pvr2_channel_claim_stream()
387 cp->stream = sp; in pvr2_channel_claim_stream()
[all …]
/linux/drivers/net/ethernet/sun/
A Dcassini.c621 netif_err(cp, rx_err, cp->dev, in cas_page_dequeue()
808 cp->fw_data = vmalloc(cp->fw_size); in cas_saturn_firmware_init()
1102 netif_printk(cp, intr, KERN_DEBUG, cp->dev, in cas_txmac_interrupt()
1535 netif_printk(cp, intr, KERN_DEBUG, cp->dev, in cas_mac_interrupt()
1629 netif_info(cp, link, cp->dev, in cas_mii_link_check()
1903 netif_printk(cp, intr, KERN_DEBUG, cp->dev, in cas_tx()
2202 netif_printk(cp, intr, KERN_DEBUG, cp->dev, in cas_post_rxds_ringN()
3098 cp->mac_rx_cfg = cas_setup_multicast(cp); in cas_init_mac()
3124 cp->rx_pause_off = cp->rx_pause_on = cp->rx_fifo_size; in cas_init_pause_thresholds()
5119 cp->init_block, cp->block_dvma); in cas_init_one()
[all …]
/linux/net/netfilter/ipvs/
A Dip_vs_conn.c147 ip_vs_conn_fill_param(cp->ipvs, cp->af, cp->protocol, in ip_vs_conn_hashkey_conn()
618 IP_VS_DBG_ADDR(cp->af, &cp->caddr), ntohs(cp->cport), in ip_vs_bind_dest()
619 IP_VS_DBG_ADDR(cp->af, &cp->vaddr), ntohs(cp->vport), in ip_vs_bind_dest()
620 IP_VS_DBG_ADDR(cp->daf, &cp->daddr), ntohs(cp->dport), in ip_vs_bind_dest()
621 ip_vs_fwd_tag(cp), cp->state, in ip_vs_bind_dest()
662 dest = ip_vs_find_dest(cp->ipvs, cp->af, cp->af, &cp->daddr, in ip_vs_try_bind_dest()
663 cp->dport, &cp->vaddr, cp->vport, in ip_vs_try_bind_dest()
664 cp->protocol, cp->fwmark, cp->flags); in ip_vs_try_bind_dest()
715 IP_VS_DBG_ADDR(cp->af, &cp->caddr), ntohs(cp->cport), in ip_vs_unbind_dest()
716 IP_VS_DBG_ADDR(cp->af, &cp->vaddr), ntohs(cp->vport), in ip_vs_unbind_dest()
[all …]
A Dip_vs_proto_tcp.c187 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()
270 tcp_partial_csum_update(cp->af, tcph, &cp->vaddr, &cp->daddr, in tcp_dnat_handler()
275 tcp_fast_csum_update(cp->af, tcph, &cp->vaddr, &cp->daddr, in tcp_dnat_handler()
276 cp->vport, cp->dport); in tcp_dnat_handler()
551 IP_VS_DBG_ADDR(cp->af, &cp->caddr), in set_tcp_state()
553 IP_VS_DBG_ADDR(cp->af, &cp->vaddr), in set_tcp_state()
555 IP_VS_DBG_ADDR(cp->daf, &cp->daddr), in set_tcp_state()
673 IP_VS_DBG_ADDR(cp->af, &cp->caddr), in tcp_app_conn_bind()
[all …]
A Dip_vs_proto_udp.c180 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()
203 cp->caddr.ip, in udp_snat_handler()
205 cp->protocol, in udp_snat_handler()
264 udp_partial_csum_update(cp->af, udph, &cp->vaddr, &cp->daddr, in udp_dnat_handler()
269 udp_fast_csum_update(cp->af, udph, &cp->vaddr, &cp->daddr, in udp_dnat_handler()
270 cp->vport, cp->dport); in udp_dnat_handler()
417 IP_VS_DBG_ADDR(cp->af, &cp->caddr), in udp_app_conn_bind()
419 IP_VS_DBG_ADDR(cp->af, &cp->vaddr), in udp_app_conn_bind()
[all …]
A Dip_vs_nfct.c144 struct ip_vs_conn *cp; in ip_vs_nfct_expect_callback() local
162 if (cp) { in ip_vs_nfct_expect_callback()
178 if (cp) { in ip_vs_nfct_expect_callback()
201 ip_vs_conn_put(cp); in ip_vs_nfct_expect_callback()
225 from_rs ? &cp->daddr : &cp->caddr, in ip_vs_nfct_expect_related()
226 from_rs ? &cp->caddr : &cp->vaddr, in ip_vs_nfct_expect_related()
228 from_rs ? &cp->cport : &cp->vport); in ip_vs_nfct_expect_related()
248 if (!cp->cport) in ip_vs_conn_drop_conntrack()
253 tuple.src.u3 = cp->caddr; in ip_vs_conn_drop_conntrack()
255 tuple.src.l3num = cp->af; in ip_vs_conn_drop_conntrack()
[all …]
A Dip_vs_ftp.c300 from = cp->daddr; in ip_vs_ftp_out()
311 IP_VS_DBG_ADDR(cp->af, &cp->caddr), 0); in ip_vs_ftp_out()
320 ip_vs_conn_fill_param(cp->ipvs, cp->af, in ip_vs_ftp_out()
329 cp->af, ipvsh->protocol, &cp->caddr, in ip_vs_ftp_out()
445 if (cp->af == AF_INET && in ip_vs_ftp_in()
491 if (cp->af == AF_INET && in ip_vs_ftp_in()
496 &to, &port, cp->af, in ip_vs_ftp_in()
505 ntohs(cp->vport)-1); in ip_vs_ftp_in()
520 IP_VS_DBG_ADDR(cp->af, &cp->vaddr), in ip_vs_ftp_in()
531 ip_vs_conn_fill_param(cp->ipvs, cp->af, in ip_vs_ftp_in()
[all …]
/linux/drivers/s390/char/
A Dcon3270.c115 cp->view.cols * (cp->view.rows - 1)); in con3270_create_status()
117 cp->view.cols * cp->view.rows - 8); in con3270_create_status()
155 nr = cp->view.rows - 2 + cp->nr_up; in con3270_rebuild_update()
187 if (cp->nr_up != 0 && cp->nr_up + cp->view.rows > cp->nr_lines) { in con3270_alloc_string()
188 cp->nr_up = cp->nr_lines - cp->view.rows + 1; in con3270_alloc_string()
262 cp->view.cols * cp->line_nr); in con3270_update()
323 nr_up = cp->nr_lines - cp->view.rows + 1; in con3270_read_tasklet()
346 raw3270_start(&cp->view, cp->kreset); in con3270_read_tasklet()
454 cp->cline->string[cp->cline->len++] = in con3270_cline_insert()
470 cp->cline->len + 4 : cp->view.cols; in con3270_cline_end()
[all …]
/linux/kernel/sched/
A Dcpudeadline.c58 cp->elements[idx].cpu = cp->elements[largest].cpu; in cpudl_heapify_down()
59 cp->elements[idx].dl = cp->elements[largest].dl; in cpudl_heapify_down()
60 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_down()
66 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_down()
84 cp->elements[idx].cpu = cp->elements[p].cpu; in cpudl_heapify_up()
85 cp->elements[idx].dl = cp->elements[p].dl; in cpudl_heapify_up()
86 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_up()
92 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_up()
191 new_cpu = cp->elements[cp->size - 1].cpu; in cpudl_clear()
192 cp->elements[old_idx].dl = cp->elements[cp->size - 1].dl; in cpudl_clear()
[all …]
/linux/drivers/net/ethernet/realtek/
A D8139cp.c610 cp_tx(cp); in cp_interrupt()
673 netif_dbg(cp, tx_err, cp->dev, in cp_tx()
689 netif_dbg(cp, tx_done, cp->dev, in cp_tx()
966 cp->tx_head = cp->tx_tail = 0; in cp_stop_hw()
1099 cp->tx_head = cp->tx_tail = 0; in cp_init_rings_index()
1106 memset(cp->tx_opts, 0, sizeof(cp->tx_opts)); in cp_init_rings()
1124 cp->tx_ring = &cp->rx_ring[CP_RX_RING_SIZE]; in cp_alloc_rings()
1164 memset(cp->tx_opts, 0, sizeof(cp->tx_opts)); in cp_clean_rings()
1251 cp->tx_head, cp->tx_tail, cpr16(TxDmaOkLowDesc)); in cp_tx_timeout()
1253 netif_dbg(cp, tx_err, cp->dev, in cp_tx_timeout()
[all …]
/linux/net/rds/
A Dthreads.c86 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()
131 cp->cp_reconnect_jiffies); in rds_queue_reconnect()
150 rand % cp->cp_reconnect_jiffies, cp->cp_reconnect_jiffies, in rds_queue_reconnect()
158 cp->cp_reconnect_jiffies = min(cp->cp_reconnect_jiffies * 2, in rds_queue_reconnect()
170 if (cp->cp_index > 0 && in rds_connect_worker()
171 rds_addr_cmp(&cp->cp_conn->c_laddr, &cp->cp_conn->c_faddr) >= 0) in rds_connect_worker()
184 rds_queue_reconnect(cp); in rds_connect_worker()
200 ret = rds_send_xmit(cp); in rds_send_worker()
226 ret = cp->cp_conn->c_trans->recv_path(cp); in rds_recv_worker()
[all …]
A Dconnection.c121 rds_send_path_reset(cp); in rds_conn_path_reset()
122 cp->cp_flags = 0; in rds_conn_path_reset()
134 cp->cp_next_tx_seq = 1; in __rds_conn_path_init()
139 cp->cp_conn = conn; in __rds_conn_path_init()
141 cp->cp_send_gen = 0; in __rds_conn_path_init()
149 cp->cp_flags = 0; in __rds_conn_path_init()
457 &cp->cp_send_queue, in rds_conn_path_destroy()
463 if (cp->cp_xmit_rm) in rds_conn_path_destroy()
471 cp->cp_conn->c_trans->conn_free(cp->cp_transport_data); in rds_conn_path_destroy()
500 cp = &conn->c_path[i]; in rds_conn_destroy()
[all …]
A Dsend.c70 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()
99 list_splice_init(&cp->cp_retrans, &cp->cp_send_queue); in rds_send_path_reset()
167 release_in_xmit(cp); in rds_send_xmit()
188 release_in_xmit(cp); in rds_send_xmit()
202 rm = cp->cp_xmit_rm; in rds_send_xmit()
391 cp->cp_xmit_sg++; in rds_send_xmit()
409 cp->cp_xmit_sg = 0; in rds_send_xmit()
[all …]
/linux/scripts/
A Dunifdef.c670 cp = skipsym(cp); in parseline()
691 cp = skipsym(cp); in parseline()
704 cp = skipcomment(cp); in parseline()
850 cp = skipcomment(cp); in eval_unary()
859 cp = skipsym(cp); in eval_unary()
876 cp = skipsym(cp); in eval_unary()
877 cp = skipcomment(cp); in eval_unary()
884 cp = skipsym(cp); in eval_unary()
887 cp = skipargs(cp); in eval_unary()
896 cp = skipargs(cp); in eval_unary()
[all …]
/linux/kernel/debug/kdb/
A Dkdb_io.c221 cp--; in kdb_read()
235 memcpy(tmpbuffer, cp, lastchar - cp); in kdb_read()
236 memcpy(cp-1, tmpbuffer, lastchar - cp); in kdb_read()
239 --cp; in kdb_read()
259 memcpy(tmpbuffer, cp+1, lastchar - cp - 1); in kdb_read()
260 memcpy(cp, tmpbuffer, lastchar - cp - 1); in kdb_read()
358 strncpy(p_tmp+len_tmp, cp, lastchar-cp+1); in kdb_read()
371 memcpy(tmpbuffer, cp, lastchar - cp); in kdb_read()
372 memcpy(cp+1, tmpbuffer, lastchar - cp); in kdb_read()
536 while ((cp = strchr(cp, firstchar))) { in kdb_search_string()
[all …]
/linux/net/bluetooth/
A Dhci_conn.c231 memset(&cp, 0, sizeof(cp)); in hci_acl_create_connection()
327 memset(&cp, 0x00, sizeof(cp)); in hci_enhanced_setup_sync_conn()
509 memset(&cp, 0, sizeof(cp)); in hci_le_conn_update()
534 memset(&cp, 0, sizeof(cp)); in hci_le_start_enc()
1011 memset(cp, 0, sizeof(*cp)); in hci_req_add_le_create_conn()
1047 memset(&cp, 0, sizeof(cp)); in hci_req_add_le_create_conn()
1087 memset(&cp, 0, sizeof(cp)); in hci_req_directed_advertising()
1117 memset(&cp, 0, sizeof(cp)); in hci_req_directed_advertising()
1124 sizeof(cp), &cp); in hci_req_directed_advertising()
1145 memset(&cp, 0, sizeof(cp)); in hci_req_directed_advertising()
[all …]
A Damp.c267 hci_req_add(&req, HCI_OP_READ_LOCAL_AMP_ASSOC, sizeof(cp), &cp); in amp_read_loc_assoc_frag()
280 memset(&cp, 0, sizeof(cp)); in amp_read_loc_assoc()
286 hci_req_add(&req, HCI_OP_READ_LOCAL_AMP_ASSOC, sizeof(cp), &cp); in amp_read_loc_assoc()
358 if (!cp) { in amp_write_rem_assoc_frag()
380 kfree(cp); in amp_write_rem_assoc_frag()
423 if (!cp) in create_phylink_complete()
459 hci_req_add(&req, HCI_OP_CREATE_PHY_LINK, sizeof(cp), &cp); in amp_create_phylink()
474 if (!cp) in accept_phylink_complete()
498 hci_req_add(&req, HCI_OP_ACCEPT_PHY_LINK, sizeof(cp), &cp); in amp_accept_phylink()
564 &cp); in amp_create_logical_link()
[all …]
/linux/drivers/net/ethernet/broadcom/
A Dcnic.c1165 cp->kwq = (struct kwqe **) cp->kwq_info.pg_arr; in cnic_alloc_bnx2_resc()
1229 cp->ctx_blk_size += cp->ctx_align; in cnic_alloc_bnx2x_context()
1269 cp->ctx_tbl[i].proto.iscsi = &cp->iscsi_tbl[i]; in cnic_alloc_bnx2x_resc()
1339 ((cp->kwq_prod_idx - cp->kwq_con_idx) & cp->max_kwq_idx); in cnic_kwq_avail()
1371 CNIC_WR16(dev, cp->kwq_io_addr, cp->kwq_prod_idx); in cnic_submit_bnx2_kwqes()
2978 cp->kwq_con_idx = *cp->kwq_con_idx_ptr; in cnic_service_bnx2_queues()
2989 cp->kwq_con_idx = *cp->kwq_con_idx_ptr; in cnic_service_bnx2_queues()
4392 u32 idx = cp->ctx_arr[i].cid / cp->cids_per_blk; in cnic_setup_5709_context()
4551 cp->tx_cons = *cp->tx_cons_ptr; in cnic_init_bnx2_tx_ring()
4625 cp->rx_cons = *cp->rx_cons_ptr; in cnic_init_bnx2_rx_ring()
[all …]
/linux/arch/riscv/kvm/
A Dvcpu_sbi.c87 if (!cp) in kvm_riscv_vcpu_sbi_ecall()
90 switch (cp->a7) { in kvm_riscv_vcpu_sbi_ecall()
103 next_cycle = ((u64)cp->a1 << 32) | (u64)cp->a0; in kvm_riscv_vcpu_sbi_ecall()
105 next_cycle = (u64)cp->a0; in kvm_riscv_vcpu_sbi_ecall()
113 if (cp->a0) in kvm_riscv_vcpu_sbi_ecall()
119 utrap.sepc = cp->sepc; in kvm_riscv_vcpu_sbi_ecall()
137 if (cp->a0) in kvm_riscv_vcpu_sbi_ecall()
143 utrap.sepc = cp->sepc; in kvm_riscv_vcpu_sbi_ecall()
160 cp->a1, cp->a2); in kvm_riscv_vcpu_sbi_ecall()
163 cp->a1, cp->a2, cp->a3); in kvm_riscv_vcpu_sbi_ecall()
[all …]
/linux/include/sound/
A Dseq_midi_emul.h134 #define SNDRV_GM_BANK_SELECT(cp) (((cp)->control[0]<<7)|((cp)->control[32])) argument
135 #define SNDRV_GM_MODULATION_WHEEL(cp) (((cp)->control[1]<<7)|((cp)->control[33])) argument
136 #define SNDRV_GM_BREATH(cp) (((cp)->control[2]<<7)|((cp)->control[34])) argument
137 #define SNDRV_GM_FOOT_PEDAL(cp) (((cp)->control[4]<<7)|((cp)->control[36])) argument
138 #define SNDRV_GM_PORTAMENTO_TIME(cp) (((cp)->control[5]<<7)|((cp)->control[37])) argument
139 #define SNDRV_GM_DATA_ENTRY(cp) (((cp)->control[6]<<7)|((cp)->control[38])) argument
140 #define SNDRV_GM_VOLUME(cp) (((cp)->control[7]<<7)|((cp)->control[39])) argument
141 #define SNDRV_GM_BALANCE(cp) (((cp)->control[8]<<7)|((cp)->control[40])) argument
142 #define SNDRV_GM_PAN(cp) (((cp)->control[10]<<7)|((cp)->control[42])) argument
143 #define SNDRV_GM_EXPRESSION(cp) (((cp)->control[11]<<7)|((cp)->control[43])) argument
/linux/drivers/scsi/sym53c8xx_2/
A Dsym_hipd.c3129 cp->sensecmd[1] = cp->lun << 5;
3869 if (cp->phys.head.lastp == cp->goalp)
4778 cp, cp->tag);
4890 cp->ccb_ba = vtobus(cp);
4941 cp = cp->link_ccbh;
5233 cp->phys.select.sel_id = cp->target;
5295 if (!cp || !cp->host_status || cp->host_status == HS_WAIT)
5364 if (!cp || !cp->cmd)
5371 cp->host_status, cp->ssss_status, cp->host_flags);
5497 if (!cp || !cp->cmd)
[all …]
/linux/tools/perf/util/
A Dcall-path.c17 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()
70 cp = &cpb->cp[n]; in call_path__new()
74 return cp; in call_path__new()
97 if (cp->sym == sym && cp->ip == ip) in call_path__findnew()
98 return cp; in call_path__findnew()
100 if (sym < cp->sym || (sym == cp->sym && ip < cp->ip)) in call_path__findnew()
107 if (!cp) in call_path__findnew()
[all …]
/linux/drivers/accessibility/speakup/
A Dkobjects.c34 char *cp; in chars_chartab_show() local
134 while ((cp < end) && (*cp == ' ' || *cp == '\t')) in chars_chartab_store()
139 if ((*cp == '\n') || strchr("dDrR", *cp)) { in chars_chartab_store()
253 cp += sprintf(cp, "%d,", (int)ch); in keymap_show()
257 cp += sprintf(cp, "0, %d\n", KEY_MAP_VER); in keymap_show()
293 cp = spk_s2uchar(cp, cp1); in keymap_store()
308 cp = spk_s2uchar(cp, cp1); in keymap_store()
575 for (cp = (char *)param->p_val; (ch = *cp); cp++) { in spk_var_show()
646 if (*cp == 'd' || *cp == 'r' || *cp == '\0') in spk_var_store()
648 else if (*cp == '+' || *cp == '-') in spk_var_store()
[all …]
/linux/drivers/firmware/efi/libstub/
A Dstring.c67 if (cp[0] == '0') { in simple_guess_base()
68 if (TOLOWER(cp[1]) == 'x' && isxdigit(cp[2])) in simple_guess_base()
89 base = simple_guess_base(cp); in simple_strtoull()
91 if (base == 16 && cp[0] == '0' && TOLOWER(cp[1]) == 'x') in simple_strtoull()
92 cp += 2; in simple_strtoull()
94 while (isxdigit(*cp)) { in simple_strtoull()
97 value = isdigit(*cp) ? *cp - '0' : TOLOWER(*cp) - 'a' + 10; in simple_strtoull()
101 cp++; in simple_strtoull()
104 *endp = (char *)cp; in simple_strtoull()
111 if (*cp == '-') in simple_strtol()
[all …]

Completed in 125 milliseconds

12345678910>>...23