/linux-master/fs/smb/server/ |
H A D | unicode.h | 37 const struct nls_table *cp, int mapchars);
|
/linux-master/net/bluetooth/ |
H A D | hci_event.c | 486 struct hci_cp_set_event_filter *cp; local 498 cp = (struct hci_cp_set_event_filter *)sent; 500 if (cp->flt_type == HCI_FLT_CLEAR_ALL) 1097 struct hci_cp_read_clock *cp; local 1107 cp = hci_sent_cmd_data(hdev, HCI_OP_READ_CLOCK); 1108 if (!cp) 1111 if (cp->which == 0x00) { 1185 struct hci_cp_write_def_err_data_reporting *cp; local 1192 cp = hci_sent_cmd_data(hdev, HCI_OP_WRITE_DEF_ERR_DATA_REPORTING); 1193 if (!cp) 1205 struct hci_cp_pin_code_reply *cp; local 1425 struct hci_cp_le_set_default_phy *cp; local 1450 struct hci_cp_le_set_adv_set_rand_addr *cp; local 1563 struct hci_cp_le_set_privacy_mode *cp; local 1628 struct hci_cp_le_set_ext_adv_enable *cp; local 1693 struct hci_cp_le_set_scan_param *cp; local 1717 struct hci_cp_le_set_ext_scan_params *cp; local 1832 struct hci_cp_le_set_scan_enable *cp; local 1852 struct hci_cp_le_set_ext_scan_enable *cp; local 2178 struct hci_cp_le_set_adv_param *cp; local 2201 struct hci_cp_le_set_ext_adv_params *cp; local 2320 struct hci_cp_create_conn *cp; local 2355 struct hci_cp_add_sco *cp; local 2392 struct hci_cp_auth_requested *cp; local 2419 struct hci_cp_set_conn_encrypt *cp; local 2469 struct hci_cp_remote_name_req cp; local 2553 struct hci_cp_remote_name_req *cp; local 2596 struct hci_cp_read_remote_features *cp; local 2623 struct hci_cp_read_remote_ext_features *cp; local 2675 struct hci_cp_setup_sync_conn *cp; local 2691 struct hci_cp_enhanced_setup_sync_conn *cp; local 2707 struct hci_cp_sniff_mode *cp; local 2734 struct hci_cp_exit_sniff_mode *cp; local 2761 struct hci_cp_disconnect *cp; local 2892 struct hci_cp_le_create_conn *cp; local 2917 struct hci_cp_le_ext_create_conn *cp; local 2942 struct hci_cp_le_read_remote_features *cp; local 2969 struct hci_cp_le_start_enc *cp; local 2999 struct hci_cp_switch_role *cp; local 3215 struct hci_cp_read_enc_key_size cp; local 3238 struct hci_cp_read_remote_features cp; local 3248 struct hci_cp_change_conn_ptype cp; local 3279 struct hci_cp_reject_conn_req cp; local 3358 struct hci_cp_accept_conn_req cp; local 3370 struct hci_cp_accept_sync_conn_req cp; local 3524 struct hci_cp_set_conn_encrypt cp; local 3544 struct hci_cp_set_conn_encrypt cp; local 3588 struct hci_cp_auth_requested cp; local 3663 struct hci_cp_read_enc_key_size cp; local 3696 struct hci_cp_write_auth_payload_to cp; local 3757 struct hci_cp_read_remote_ext_features cp; local 3766 struct hci_cp_remote_name_req cp; local 3847 struct hci_cp_le_set_cig_params *cp; local 3912 struct hci_cp_le_setup_iso_path *cp; local 3968 struct hci_cp_le_set_per_adv_params *cp; local 3987 struct hci_cp_le_set_per_adv_enable *cp; local 4295 struct hci_cp_le_create_cis *cp; local 4703 struct hci_cp_link_key_reply cp; local 5020 struct hci_cp_remote_name_req cp; local 5362 struct hci_cp_io_capability_reply cp; local 5394 struct hci_cp_io_capability_neg_reply cp; local 5652 struct hci_cp_remote_oob_data_neg_reply cp; local 5661 struct hci_cp_remote_oob_ext_data_reply cp; local 5677 struct hci_cp_remote_oob_data_reply cp; local 5886 struct hci_cp_le_read_remote_features cp; local 6465 struct hci_cp_le_pa_term_sync cp; local 6578 struct hci_cp_le_ltk_reply cp; local 6642 struct hci_cp_le_conn_param_req_neg_reply cp; local 6655 struct hci_cp_le_conn_param_req_reply cp; local 6853 struct hci_cp_le_reject_cis cp; local 6863 struct hci_cp_le_accept_cis cp; local [all...] |
/linux-master/tools/power/cpupower/utils/ |
H A D | cpufreq-set.c | 69 int power = 0, match_count = 0, i, cp, pad; local 98 for (cp = 0; isdigit(str[cp]); cp++) 101 if (str[cp] == '.') { 102 while (power > -1 && isdigit(str[cp+1])) { 103 cp++; 111 cp += power + 1; 114 if (cp <= 0 || cp [all...] |
/linux-master/fs/smb/client/ |
H A D | cifs_unicode.h | 59 const struct nls_table *cp, int map_type); 67 const struct nls_table *cp, int mapChars); 70 int *utf16_len, const struct nls_table *cp,
|
/linux-master/drivers/net/ethernet/apple/ |
H A D | mace.c | 437 volatile struct dbdma_cmd *cp; local 448 cp = mp->rx_cmds; 458 cp->req_count = cpu_to_le16(RX_BUFLEN); 459 cp->command = cpu_to_le16(INPUT_LAST + INTR_ALWAYS); 460 cp->phy_addr = cpu_to_le32(virt_to_bus(data)); 461 cp->xfer_status = 0; 462 ++cp; 465 cp->command = cpu_to_le16(DBDMA_STOP); 470 ++cp; 471 cp 536 volatile struct dbdma_cmd *cp, *np; local 666 volatile struct dbdma_cmd *cp; local 813 volatile struct dbdma_cmd *cp; local 882 volatile struct dbdma_cmd *cp, *np; local [all...] |
/linux-master/arch/powerpc/boot/ |
H A D | mktree.c | 46 unsigned int cksum, *cp; local 93 cp = (void *)&bt; 95 cksum += *cp++; 129 cp = tmpbuf; 131 cksum += *cp++;
|
/linux-master/kernel/trace/ |
H A D | trace_kdb.c | 99 char *cp; local 107 skip_entries = simple_strtol(argv[1], &cp, 0); 108 if (*cp) 113 cpu_file = simple_strtol(argv[2], &cp, 0); 114 if (*cp || cpu_file >= NR_CPUS || cpu_file < 0 ||
|
/linux-master/kernel/debug/kdb/ |
H A D | kdb_main.c | 264 char *cp = strchr(e, '='); local 265 return cp ? ++cp : ""; 486 char *cp; local 488 debugflags = simple_strtoul(argv[2], &cp, 0); 489 if (cp == argv[2] || debugflags & ~KDB_DEBUG_FLAG_MASK) { 553 char *cp; local 584 cp = strpbrk(symname, "+-"); 585 if (cp != NULL) { 586 symbol = *cp; 880 char *cp = (char *)str, *cp2; local 971 char *cp; local 1574 unsigned char *cp; local 2096 char *cp; local [all...] |
/linux-master/security/tomoyo/ |
H A D | realpath.c | 28 char *cp; local 45 cp = kzalloc(len + 10, GFP_NOFS); 46 if (!cp) 48 cp0 = cp; 54 *cp++ = '\\'; 55 *cp++ = '\\'; 57 *cp++ = c; 59 *cp++ = '\\'; 60 *cp++ = (c >> 6) + '0'; 61 *cp [all...] |
H A D | util.c | 116 const char *cp = strstr(string, keyword); local 118 if (cp) 119 return cp == string || *(cp - 1) == '/'; 187 const char *cp = *str; local 191 if (*cp == '0') { 192 char c = *(cp + 1); 196 cp += 2; 199 cp++; 202 *result = simple_strtoul(cp, 567 const unsigned char *cp = strchr(domainname, ' '); local 587 const unsigned char *cp; local 969 const char *cp; local [all...] |
/linux-master/fs/bcachefs/ |
H A D | util.c | 40 static int parse_u64(const char *cp, u64 *res) argument 42 const char *start = cp; 45 if (!isdigit(*cp)) 52 if (v > U64_MAX - (*cp - '0')) 54 v += *cp - '0'; 55 cp++; 56 } while (isdigit(*cp)); 59 return cp - start; 74 static int parse_unit_suffix(const char *cp, u64 *res) argument 76 const char *start = cp; 121 __bch2_strtou64_h(const char *cp, u64 *res) argument 159 __bch2_strtoh(const char *cp, u64 *res, u64 t_max, bool t_signed) argument [all...] |
/linux-master/net/can/ |
H A D | af_can.c | 98 const struct can_proto *cp; local 101 cp = rcu_dereference(proto_tab[protocol]); 102 if (cp && !try_module_get(cp->prot->owner)) 103 cp = NULL; 106 return cp; 109 static inline void can_put_proto(const struct can_proto *cp) argument 111 module_put(cp->prot->owner); 118 const struct can_proto *cp; local 126 cp 733 can_proto_register(const struct can_proto *cp) argument 769 can_proto_unregister(const struct can_proto *cp) argument [all...] |
/linux-master/drivers/mtd/chips/ |
H A D | gen_probe.c | 17 struct chip_probe *cp); 18 static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp, 21 struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp) argument 27 cfi = genprobe_ident_chips(map, cp); 59 static struct cfi_private *genprobe_ident_chips(struct map_info *map, struct chip_probe *cp) argument 71 if (!genprobe_new_chip(map, cp, &cfi)) { 74 cp->name, map->name); 129 cp->probe_chip(map, i << cfi.chipshift, chip_map, &cfi); 164 static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp, argument 185 if (cp [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_tcp_skb.c | 66 int err, cp; local 98 cp = write(*client_fd, "hello", 5); 99 if (!ASSERT_EQ(cp, 5, "write")) 101 cp = read(*service_fd, buf, 5); 102 if (!ASSERT_EQ(cp, 5, "read")) 113 int err, cp; local 145 cp = write(*client_fd, "hello", 5); 146 if (!ASSERT_EQ(cp, 5, "write")) 148 cp = read(*service_fd, buf, 5); 149 if (!ASSERT_EQ(cp, [all...] |
/linux-master/drivers/scsi/libfc/ |
H A D | fc_disc.c | 497 struct fc_ct_hdr *cp; local 518 cp = fc_frame_payload_get(fp, sizeof(*cp)); 519 if (!cp) { 523 } else if (ntohs(cp->ct_cmd) == FC_FS_ACC) { 526 len -= sizeof(*cp); 527 error = fc_disc_gpn_ft_parse(disc, cp + 1, len); 528 } else if (ntohs(cp->ct_cmd) == FC_FS_RJT) { 530 "(check zoning)\n", cp->ct_reason, 531 cp 572 struct fc_ct_hdr *cp; local [all...] |
/linux-master/arch/powerpc/platforms/embedded6xx/ |
H A D | mvme5100.c | 55 struct device_node *cp = NULL; local 75 cp = of_find_compatible_node(NULL, NULL, "chrp,iic"); 76 if (cp == NULL) { 81 cirq = irq_of_parse_and_map(cp, 0); 101 i8259_init(cp, intack); 102 of_node_put(cp);
|
/linux-master/scripts/package/ |
H A D | builddeb | 44 cp System.map "${pdir}/usr/lib/uml/modules/${KERNELRELEASE}/System.map" 45 cp ${KCONFIG_CONFIG} "${pdir}/usr/share/doc/${pname}/config" 49 cp System.map "${pdir}/boot/System.map-${KERNELRELEASE}" 50 cp ${KCONFIG_CONFIG} "${pdir}/boot/config-${KERNELRELEASE}" 64 cp "$(${MAKE} -s -f ${srctree}/Makefile image_name)" "${pdir}/${installed_image_path}" 115 cp vmlinux ${pdir}/usr/lib/debug/lib/modules/${KERNELRELEASE}/
|
/linux-master/drivers/accessibility/speakup/ |
H A D | speakup_soft.c | 166 char *cp; local 172 cp = buf; 179 n = scnprintf(cp, len, var->u.n.synth_fmt, 181 cp = cp + n; 186 cp = cp + scnprintf(cp, len, "\n"); 222 char __user *cp; local 257 cp [all...] |
/linux-master/tools/testing/selftests/lsm/ |
H A D | lsm_list_modules_test.c | 79 char *cp; local 89 cp = sysfs_lsms; 135 ASSERT_EQ(0, strncmp(cp, name, strlen(name))); 136 cp += strlen(name) + 1;
|
/linux-master/tools/perf/util/ |
H A D | thread-stack.c | 48 * @cp: call path 61 struct call_path *cp; member in struct:thread_stack_entry 295 return ts->stack[ts->cnt - 1].cp->in_kernel; 312 cr.cp = tse->cp; 783 u64 timestamp, u64 ref, struct call_path *cp, 789 if (!cp) 805 tse->cp = cp; 826 if (tse->cp 782 thread_stack__push_cp(struct thread_stack *ts, u64 ret_addr, u64 timestamp, u64 ref, struct call_path *cp, bool no_call, bool trace_end) argument 865 struct call_path *cp; local 913 struct call_path *cp, *parent; local 1023 struct call_path *cp; local 1057 struct call_path *cp; local 1151 struct call_path *cp; local 1212 struct call_path *cp; local [all...] |
/linux-master/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.c | 169 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid) argument 171 struct scsi_cmnd *cmd = cp->cmd; 175 scsi_status = cp->ssss_status; 177 if (cp->host_flags & HF_SENSE) { 178 scsi_status = cp->sv_scsi_status; 179 resid = cp->sv_resid; 180 if (sym_verbose && cp->sv_xerr_status) 181 sym_print_xerr(cmd, cp->sv_xerr_status); 182 if (cp->host_status == HS_COMPLETE && 183 cp 238 sym_scatter(struct sym_hcb *np, struct sym_ccb *cp, struct scsi_cmnd *cmd) argument 285 struct sym_ccb *cp; local 312 sym_setup_cdb(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) argument 325 sym_setup_data_and_start(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) argument 593 struct sym_ccb *cp = sym_que_entry(qp, struct sym_ccb, link_ccbq); local 646 struct sym_ccb *cp = sym_que_entry(qp, struct sym_ccb, local [all...] |
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | cnic.h | 102 #define BNX2X_KWQ_DATA_PG(cp, x) ((x) / (cp)->kwq_16_data_pp) 103 #define BNX2X_KWQ_DATA_IDX(cp, x) ((x) % (cp)->kwq_16_data_pp) 104 #define BNX2X_KWQ_DATA(cp, x) \ 105 &(cp)->kwq_16_data[BNX2X_KWQ_DATA_PG(cp, x)][BNX2X_KWQ_DATA_IDX(cp, x)] 404 #define CNIC_FUNC(cp) ((cp) [all...] |
/linux-master/drivers/md/bcache/ |
H A D | util.h | 287 int bch_strtoint_h(const char *cp, int *res); 288 int bch_strtouint_h(const char *cp, unsigned int *res); 289 int bch_strtoll_h(const char *cp, long long *res); 290 int bch_strtoull_h(const char *cp, unsigned long long *res); 292 static inline int bch_strtol_h(const char *cp, long *res) argument 295 return bch_strtoint_h(cp, (int *) res); 297 return bch_strtoll_h(cp, (long long *) res); 301 static inline int bch_strtoul_h(const char *cp, long *res) argument 304 return bch_strtouint_h(cp, (unsigned int *) res); 306 return bch_strtoull_h(cp, (unsigne [all...] |
/linux-master/drivers/media/tuners/ |
H A D | tda827x.c | 86 u8 cp; member in struct:tda827x_data 92 { .lomax = 62000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 1}, 93 { .lomax = 66000000, .spd = 3, .bs = 3, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 1}, 94 { .lomax = 76000000, .spd = 3, .bs = 1, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 0}, 95 { .lomax = 84000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 0}, 96 { .lomax = 93000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 1, .div1p5 = 0}, 97 { .lomax = 98000000, .spd = 3, .bs = 3, .bp = 0, .cp = 0, .gc3 = 1, .div1p5 = 0}, 98 { .lomax = 109000000, .spd = 3, .bs = 3, .bp = 1, .cp = 0, .gc3 = 1, .div1p5 = 0}, 99 { .lomax = 123000000, .spd = 2, .bs = 2, .bp = 1, .cp = 0, .gc3 = 1, .div1p5 = 1}, 100 { .lomax = 133000000, .spd = 2, .bs = 3, .bp = 1, .cp [all...] |
/linux-master/arch/x86/boot/ |
H A D | string.h | 28 extern unsigned long long simple_strtoull(const char *cp, char **endp, 30 long simple_strtol(const char *cp, char **endp, unsigned int base);
|