/linux-master/drivers/net/slip/ |
H A D | slhc.c | 82 static unsigned char *encode(unsigned char *cp, unsigned short n); 84 static unsigned char * put16(unsigned char *cp, unsigned short x); 171 put16(unsigned char *cp, unsigned short x) argument 173 *cp++ = x >> 8; 174 *cp++ = x; 176 return cp; 182 encode(unsigned char *cp, unsigned short n) argument 185 *cp++ = 0; 186 cp = put16(cp, 237 unsigned char *cp = new_seq; local 501 unsigned char *cp = icp; local [all...] |
/linux-master/drivers/accessibility/speakup/ |
H A D | varhandlers.c | 187 char *cp; local 241 cp = spk_pitch_buff; 243 cp = buf; 245 sprintf(cp, var_data->u.n.synth_fmt, (int)val); 247 sprintf(cp, var_data->u.n.synth_fmt, 249 synth_printf("%s", cp); 286 u_char *cp; local 290 for (cp = (u_char *)spk_punc_info[3].value; *cp; cp [all...] |
/linux-master/fs/nilfs2/ |
H A D | cpfile.c | 74 struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); local 77 count = le32_to_cpu(cp->cp_checkpoints_count) + n; 78 cp->cp_checkpoints_count = cpu_to_le32(count); 88 struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); local 91 WARN_ON(le32_to_cpu(cp->cp_checkpoints_count) < n); 92 count = le32_to_cpu(cp->cp_checkpoints_count) - n; 93 cp->cp_checkpoints_count = cpu_to_le32(count); 118 struct nilfs_checkpoint *cp = kaddr + bh_offset(bh); local 123 nilfs_checkpoint_set_invalid(cp); 124 cp 209 struct nilfs_checkpoint *cp; local 277 struct nilfs_checkpoint *cp; local 353 struct nilfs_checkpoint *cp; local 430 struct nilfs_checkpoint *cp; local 523 nilfs_cpfile_checkpoint_to_cpinfo(struct inode *cpfile, struct nilfs_checkpoint *cp, struct nilfs_cpinfo *ci) argument 540 struct nilfs_checkpoint *cp; local 594 struct nilfs_checkpoint *cp; local 735 struct nilfs_checkpoint *cp; local 752 struct nilfs_checkpoint *cp; local 871 struct nilfs_checkpoint *cp; local 990 struct nilfs_checkpoint *cp; local [all...] |
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_proto_sctp.c | 92 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) 99 if (cp->af == AF_INET6 && iph->fragoffs) 107 if (unlikely(cp->app != NULL)) { 111 if (!sctp_csum_check(cp->af, skb, pp)) 115 ret = ip_vs_app_pkt_out(cp, skb, iph); 126 if (sctph->source != cp->vport || payload_csum || 128 sctph->source = cp->vport; 140 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) 147 if (cp->af == AF_INET6 && iph->fragoffs) 155 if (unlikely(cp 91 sctp_snat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) argument 139 sctp_dnat_handler(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) argument 380 set_sctp_state(struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, int direction, const struct sk_buff *skb) argument 476 sctp_state_transition(struct ip_vs_conn *cp, int direction, const struct sk_buff *skb, struct ip_vs_proto_data *pd) argument 521 sctp_app_conn_bind(struct ip_vs_conn *cp) argument [all...] |
H A D | ip_vs_app.c | 257 * Bind ip_vs_conn to its ip_vs_app (called by cp constructor) 259 int ip_vs_bind_app(struct ip_vs_conn *cp, argument 262 return pp->app_conn_bind(cp); 267 * Unbind cp from application incarnation (called by cp destructor) 269 void ip_vs_unbind_app(struct ip_vs_conn *cp) argument 271 struct ip_vs_app *inc = cp->app; 277 inc->unbind_conn(inc, cp); 279 inc->done_conn(inc, cp); 281 cp 346 vs_seq_update(struct ip_vs_conn *cp, struct ip_vs_seq *vseq, unsigned int flag, __u32 seq, int diff) argument 360 app_tcp_pkt_out(struct ip_vs_conn *cp, struct sk_buff *skb, struct ip_vs_app *app, struct ip_vs_iphdr *ipvsh) argument 411 ip_vs_app_pkt_out(struct ip_vs_conn *cp, struct sk_buff *skb, struct ip_vs_iphdr *ipvsh) argument 437 app_tcp_pkt_in(struct ip_vs_conn *cp, struct sk_buff *skb, struct ip_vs_app *app, struct ip_vs_iphdr *ipvsh) argument 488 ip_vs_app_pkt_in(struct ip_vs_conn *cp, struct sk_buff *skb, struct ip_vs_iphdr *ipvsh) argument [all...] |
H A D | ip_vs_sync.c | 145 __be32 timeout; /* cp timeout */ 167 __be32 timeout; /* cp timeout */ 407 select_master_thread_id(struct netns_ipvs *ipvs, struct ip_vs_conn *cp) argument 409 return ((long) cp >> (1 + ilog2(sizeof(*cp)))) & ipvs->threads_mask; 442 static inline bool in_persistence(struct ip_vs_conn *cp) argument 444 for (cp = cp->control; cp; cp 460 ip_vs_sync_conn_needed(struct netns_ipvs *ipvs, struct ip_vs_conn *cp, int pkts) argument 540 ip_vs_sync_conn_v0(struct netns_ipvs *ipvs, struct ip_vs_conn *cp, int pkts) argument 630 ip_vs_sync_conn(struct netns_ipvs *ipvs, struct ip_vs_conn *cp, int pkts) argument 850 struct ip_vs_conn *cp; local [all...] |
H A D | ip_vs_core.c | 122 ip_vs_in_stats(struct ip_vs_conn *cp, struct sk_buff *skb) argument 124 struct ip_vs_dest *dest = cp->dest; 125 struct netns_ipvs *ipvs = cp->ipvs; 158 ip_vs_out_stats(struct ip_vs_conn *cp, struct sk_buff *skb) argument 160 struct ip_vs_dest *dest = cp->dest; 161 struct netns_ipvs *ipvs = cp->ipvs; 194 ip_vs_conn_stats(struct ip_vs_conn *cp, struct ip_vs_service *svc) argument 201 s = this_cpu_ptr(cp->dest->stats.cpustats); 221 ip_vs_set_state(struct ip_vs_conn *cp, int direction, argument 226 pd->pp->state_transition(cp, directio 257 struct ip_vs_conn *cp = NULL; local 446 struct ip_vs_conn *cp = NULL; local 604 struct ip_vs_conn *cp; local 748 ip_vs_nat_icmp(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp, int inout) argument 794 ip_vs_nat_icmp_v6(struct sk_buff *skb, struct ip_vs_protocol *pp, struct ip_vs_conn *cp, int inout) argument 856 handle_response_icmp(int af, struct sk_buff *skb, union nf_inet_addr *snet, __u8 protocol, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, unsigned int offset, unsigned int ihl, unsigned int hooknum) argument 921 struct ip_vs_conn *cp; local 996 struct ip_vs_conn *cp; local 1100 is_new_conn_expected(const struct ip_vs_conn *cp, int conn_reuse_mode) argument 1137 struct ip_vs_conn *ct = NULL, *cp = NULL; local 1226 struct ip_vs_conn *cp = NULL; local 1258 handle_response(int af, struct sk_buff *skb, struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, struct ip_vs_iphdr *iph, unsigned int hooknum) argument 1336 struct ip_vs_conn *cp; local 1584 struct ip_vs_conn *cp; local 1806 struct ip_vs_conn *cp; local 1914 struct ip_vs_conn *cp; local [all...] |
H A D | ip_vs_proto_ah_esp.c | 58 struct ip_vs_conn *cp; local 62 cp = ip_vs_conn_in_get(&p); 63 if (!cp) { 76 return cp; 84 struct ip_vs_conn *cp; local 88 cp = ip_vs_conn_out_get(&p); 89 if (!cp) { 98 return cp;
|
/linux-master/arch/riscv/kvm/ |
H A D | vcpu_sbi_base.c | 19 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; local 23 switch (cp->a6) { 36 if ((cp->a0 >= SBI_EXT_EXPERIMENTAL_START && 37 cp->a0 <= SBI_EXT_EXPERIMENTAL_END) || 38 (cp->a0 >= SBI_EXT_VENDOR_START && 39 cp->a0 <= SBI_EXT_VENDOR_END)) { 47 sbi_ext = kvm_vcpu_sbi_find_ext(vcpu, cp->a0);
|
/linux-master/drivers/infiniband/hw/qib/ |
H A D | qib_qsfp.c | 273 int qib_refresh_qsfp_cache(struct qib_pportdata *ppd, struct qib_qsfp_cache *cp) argument 281 memset(cp, 0, sizeof(*cp)); 311 ret = qsfp_read(ppd, QSFP_MOD_ID_OFFS, &cp->id, 1); 314 if ((cp->id & 0xFE) != 0x0C) 316 "QSFP ID byte is 0x%02X, S/B 0x0C/D\n", cp->id); 317 cks = cp->id; 319 ret = qsfp_read(ppd, QSFP_MOD_PWR_OFFS, &cp->pwr, 1); 322 cks += cp->pwr; 329 ret = qsfp_read(ppd, QSFP_MOD_LEN_OFFS, &cp [all...] |
/linux-master/arch/mips/rb532/ |
H A D | prom.c | 52 char *cp, *board; local 60 cp = cmd_line; 75 *(cp++) = ' '; 85 strcpy(cp, prom_argv[i]); 86 cp += strlen(prom_argv[i]); 88 *(cp++) = ' '; 92 *(cp++) = ' '; 93 strcpy(cp, arcs_cmdline); 94 cp += strlen(arcs_cmdline);
|
/linux-master/arch/powerpc/boot/ |
H A D | serial.c | 37 char ch, *cp; local 40 cp = buf; 42 cp = &buf[count]; 50 if (cp != buf) { 51 cp--; 57 while (cp != buf) { 58 cp--; 63 *cp++ = ch; 72 *cp = 0;
|
H A D | install.sh | 37 cp $3 $4/System.map-$1
|
/linux-master/tools/lib/ |
H A D | argv_split.c | 11 static const char *skip_arg(const char *cp) argument 13 while (*cp && !isspace(*cp)) 14 cp++; 16 return cp;
|
/linux-master/lib/ |
H A D | base64.c | 37 char *cp = dst; local 44 *cp++ = base64_table[(ac >> bits) & 0x3f]; 48 *cp++ = base64_table[(ac << (6 - bits)) & 0x3f]; 52 *cp++ = '='; 55 return cp - dst;
|
/linux-master/net/bluetooth/ |
H A D | hci_conn.c | 206 struct hci_cp_add_sco cp; local 215 cp.handle = cpu_to_le16(handle); 216 cp.pkt_type = cpu_to_le16(conn->pkt_type); 218 hci_send_cmd(hdev, HCI_OP_ADD_SCO, sizeof(cp), &cp); 289 struct hci_cp_enhanced_setup_sync_conn cp; local 303 memset(&cp, 0x00, sizeof(cp)); 305 cp.handle = cpu_to_le16(handle); 307 cp 409 struct hci_cp_setup_sync_conn cp; local 487 struct hci_cp_le_conn_update cp; local 522 struct hci_cp_le_start_enc cp; local 597 struct hci_cp_sniff_subrate cp; local 606 struct hci_cp_sniff_mode cp; local 628 struct hci_cp_le_set_ext_adv_enable cp; local 668 struct hci_cp_le_set_cig_params cp; member in struct:iso_cig_params 1694 struct hci_cp_le_create_big cp; local 2037 struct hci_cp_le_pa_create_sync *cp = data; local 2049 struct hci_cp_le_pa_create_sync *cp = data; local 2066 struct hci_cp_le_pa_create_sync *cp; local 2113 struct hci_cp_le_big_create_sync cp; member in struct:_packed 2374 struct hci_cp_auth_requested cp; local 2396 struct hci_cp_set_conn_encrypt cp; local 2517 struct hci_cp_switch_role cp; local 2541 struct hci_cp_exit_sniff_mode cp; local [all...] |
/linux-master/arch/x86/boot/ |
H A D | string.c | 102 static unsigned int simple_guess_base(const char *cp) argument 104 if (cp[0] == '0') { 105 if (TOLOWER(cp[1]) == 'x' && isxdigit(cp[2])) 116 * @cp: The start of the string 120 unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base) argument 125 base = simple_guess_base(cp); 127 if (base == 16 && cp[0] == '0' && TOLOWER(cp[1]) == 'x') 128 cp 145 simple_strtol(const char *cp, char **endp, unsigned int base) argument [all...] |
/linux-master/tools/perf/arch/s390/util/ |
H A D | header.c | 32 char *cp, *line = NULL, *line2; local 64 while ((cp = strtok_r(line2, "\n ", &line2))) { 66 sizeof(manufacturer) - mfsize, "%s", cp); 73 while ((cp = strtok_r(line2, "\n ", &line2))) { 75 sizeof(type) - tpsize, "%s", cp); 82 while ((cp = strtok_r(line2, "\n ", &line2))) { 84 "%s%s", model[0] ? "," : "", cp); 108 while ((cp = strtok_r(line2, "\n ", &line2))) { 109 if (!strncmp(cp, SRVLVL_VERSION, 111 char *sep = strchr(cp, ' [all...] |
/linux-master/drivers/s390/char/ |
H A D | keyboard.h | 63 kbd_puts_queue(struct tty_port *port, char *cp) argument 65 while (*cp) 66 tty_insert_flip_char(port, *cp++, 0);
|
/linux-master/drivers/scsi/ |
H A D | ncr53c8xx.c | 861 #define CCB_DONE_VALID(cp) (((u_long) cp) != CCB_DONE_EMPTY) 865 #define CCB_DONE_VALID(cp) \ 866 ((((u_long) cp) & 0xffffffff00000000ul) && \ 867 (((u_long) cp) & 0xfffffffful) != CCB_DONE_EMPTY) 1382 struct ccb * cp; member in struct:head 1573 #define CCB_PHYS(cp,lbl) (cp->p_ccb + offsetof(struct ccb, lbl)) 1905 static void ncr_complete (struct ncb *np, struct ccb *cp); 1907 static void ncr_free_ccb (struct ncb *np, struct ccb *cp); 3639 ncr_print_msg(struct ccb *cp, char *label, u_char *msg) argument 4023 ncr_prepare_nego(struct ncb *np, struct ccb *cp, u_char *msgptr) argument 4087 struct ccb *cp; local 4390 struct ccb *cp; local 4408 ncr_put_start_queue(struct ncb *np, struct ccb *cp) argument 4550 struct ccb *cp; local 4660 ncr_complete(struct ncb *np, struct ccb *cp) argument 4942 ncr_ccb_skipped(struct ncb *np, struct ccb *cp) argument 4968 struct ccb *cp; local 5014 struct ccb *cp = np->ccb; local 5326 struct ccb *cp; local 5355 ncr_setsync(struct ncb *np, struct ccb *cp, u_char scntl3, u_char sxfer) argument 5412 ncr_setwide(struct ncb *np, struct ccb *cp, u_char wide, u_char ack) argument 5914 struct ccb *cp; local 6081 struct ccb *cp; local 6366 ncr_sir_to_redo(struct ncb *np, int num, struct ccb *cp) argument 6522 struct ccb *cp=NULL; local 6976 struct ccb *cp = NULL; local 7080 ncr_free_ccb(struct ncb *np, struct ccb *cp) argument 7142 ncr_init_ccb(struct ncb *np, struct ccb *cp) argument 7185 struct ccb *cp = NULL; local 7473 ncr_scatter(struct ncb *np, struct ccb *cp, struct scsi_cmnd *cmd) argument [all...] |
/linux-master/net/dns_resolver/ |
H A D | dns_query.c | 83 char *desc, *cp; local 110 cp = desc; 112 memcpy(cp, type, typelen); 113 cp += typelen; 114 *cp++ = ':'; 116 memcpy(cp, name, namelen); 117 cp += namelen; 118 *cp = '\0';
|
/linux-master/arch/parisc/ |
H A D | install.sh | 38 cp $3 $4/System.map-$1
|
/linux-master/arch/riscv/boot/ |
H A D | install.sh | 39 cp $3 $4/System.map-$1
|
/linux-master/tools/hv/ |
H A D | hv_set_ifconfig.sh | 82 cp $1 /etc/sysconfig/network-scripts/
|
/linux-master/arch/arm64/boot/ |
H A D | install.sh | 40 cp $3 $4/System.map-$1
|