Searched refs:cp (Results 176 - 200 of 501) sorted by relevance

1234567891011>>

/linux-master/arch/parisc/mm/
H A Dinit.c84 char *cp, *end; local
90 for (cp = boot_command_line; *cp; ) {
91 if (memcmp(cp, "mem=", 4) == 0) {
92 cp += 4;
93 limit = memparse(cp, &end);
94 if (end != cp)
96 cp = end;
98 while (*cp != ' ' && *cp)
[all...]
/linux-master/drivers/s390/char/
H A Dfs3270.c117 char *cp; local
129 cp = dma64_to_virt(fp->rdbuf->data[0]);
134 cp[0] = 0;
139 cp[0] = TW_KR;
140 cp[1] = TO_SBA;
141 cp[2] = cp[6];
142 cp[3] = cp[7];
143 cp[
[all...]
/linux-master/fs/jfs/
H A Djfs_dmap.h51 static inline signed char TREEMAX(signed char *cp) argument
55 tmp1 = max(*(cp+2), *(cp+3));
56 tmp2 = max(*(cp), *(cp+1));
/linux-master/kernel/cgroup/
H A Dcpuset.c879 struct cpuset *cp; local
883 cpuset_for_each_descendant_pre(cp, pos_css, root_cs) {
884 /* skip the whole subtree if @cp doesn't have any CPU */
885 if (cpumask_empty(cp->cpus_allowed)) {
890 if (is_sched_load_balance(cp))
891 update_domain_attr(dattr, cp);
925 * cp - cpuset pointer, used (together with pos_css) to perform a
959 struct cpuset *cp; /* top-down scan of cpusets */ local
992 csa = kmalloc_array(nr_cpusets(), sizeof(cp), GFP_KERNEL);
1000 cpuset_for_each_descendant_pre(cp, pos_cs
2184 struct cpuset *cp; local
2496 struct cpuset *cp; local
2829 struct cpuset *cp; local
[all...]
/linux-master/fs/bcachefs/
H A Dutil.h243 static inline int bch2_strtol_h(const char *cp, long *res) argument
246 return bch2_strtoint_h(cp, (int *) res);
248 return bch2_strtoll_h(cp, (long long *) res);
252 static inline int bch2_strtoul_h(const char *cp, long *res) argument
255 return bch2_strtouint_h(cp, (unsigned int *) res);
257 return bch2_strtoull_h(cp, (unsigned long long *) res);
261 #define strtoi_h(cp, res) \
262 ( type_is(*res, int) ? bch2_strtoint_h(cp, (void *) res)\
263 : type_is(*res, long) ? bch2_strtol_h(cp, (void *) res)\
264 : type_is(*res, long long) ? bch2_strtoll_h(cp, (voi
[all...]
/linux-master/drivers/net/hamradio/
H A Dbaycom_epp.c530 unsigned char *cp; local
543 cp = skb_put(skb, pktlen);
544 *cp++ = 0; /* KISS kludge */
545 memcpy(cp, bc->hdlcrx.buf, pktlen - 1);
557 unsigned char *cp; local
572 cp = tmp;
573 for (; cnt2 > 0; cnt2--, cp++) {
575 bitstream |= (*cp) << 8;
577 bitbuf |= (*cp) << 8;
969 const char *cp; local
[all...]
/linux-master/arch/arm/vfp/
H A Dvfpinstr.h16 #define CPNUM(cp) ((cp) << 8)
/linux-master/drivers/target/tcm_fc/
H A Dtfc_conf.c51 const char *cp; local
59 for (cp = name; cp < &name[FT_NAMELEN - 1]; cp++) {
60 c = *cp;
61 if (c == '\n' && cp[1] == '\0')
74 return cp - name;
85 err, cp - name, pos, byte);
/linux-master/scripts/
H A DMakefile.vdsoinst37 cmd_install = mkdir -p $(dir $@); cp $< $@
/linux-master/tools/testing/selftests/resctrl/
H A Dfill_buf.c43 unsigned char *cp = buf; local
49 cl_flush(&cp[i * CL_SIZE]);
/linux-master/drivers/net/ethernet/apple/
H A Dbmac.c196 dbdma_setcmd(volatile struct dbdma_cmd *cp, argument
200 out_le16(&cp->command, cmd);
201 out_le16(&cp->req_count, count);
202 out_le32(&cp->phy_addr, addr);
203 out_le32(&cp->cmd_dep, cmd_dep);
204 out_le16(&cp->xfer_status, 0);
205 out_le16(&cp->res_count, 0);
557 bmac_construct_xmt(struct sk_buff *skb, volatile struct dbdma_cmd *cp) argument
567 dbdma_setcmd(cp, (OUTPUT_LAST | INTR_ALWAYS | WAIT_IFCLR), len, baddr, 0);
571 bmac_construct_rxbuff(struct sk_buff *skb, volatile struct dbdma_cmd *cp) argument
675 volatile struct dbdma_cmd *cp; local
748 volatile struct dbdma_cmd *cp; local
1474 volatile struct dbdma_cmd *cp; local
[all...]
/linux-master/drivers/tty/
H A Dn_tty.c527 const u8 *cp; local
539 for (i = 0, cp = buf; i < nr; i++, cp++) {
540 u8 c = *cp;
1501 static void n_tty_lookahead_flow_ctrl(struct tty_struct *tty, const u8 *cp, argument
1516 n_tty_receive_char_flow_ctrl(tty, *cp, false);
1517 cp++;
1522 n_tty_receive_buf_real_raw(const struct tty_struct *tty, const u8 *cp, argument
1532 memcpy(read_buf_addr(ldata, head), cp, n); local
1535 cp
1541 n_tty_receive_buf_raw(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count) argument
1558 n_tty_receive_buf_closing(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count, bool lookahead_done) argument
1571 n_tty_receive_buf_standard(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count, bool lookahead_done) argument
1610 __receive_buf(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count) argument
1685 n_tty_receive_buf_common(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count, bool flow) argument
1766 n_tty_receive_buf(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count) argument
1772 n_tty_receive_buf2(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count) argument
[all...]
/linux-master/fs/
H A Dchar_dev.c174 struct char_device_struct *cd = NULL, **cp; local
178 for (cp = &chrdevs[i]; *cp; cp = &(*cp)->next)
179 if ((*cp)->major == major &&
180 (*cp)->baseminor == baseminor &&
181 (*cp)->minorct == minorct)
183 if (*cp) {
184 cd = *cp;
[all...]
/linux-master/tools/perf/util/
H A Ddb-export.c389 struct call_path *cp = call_path_from_sample(dbe, machine, local
392 if (cp) {
393 db_export__call_path(dbe, cp);
394 es.call_path_id = cp->db_id;
483 int db_export__call_path(struct db_export *dbe, struct call_path *cp) argument
487 if (cp->db_id)
490 if (cp->parent) {
491 err = db_export__call_path(dbe, cp->parent);
496 cp->db_id = ++dbe->call_path_last_db_id;
499 return dbe->export_call_path(dbe, cp);
[all...]
/linux-master/net/rxrpc/
H A Dsendmsg.c562 struct rxrpc_conn_parameters cp; variable in typeref:struct:rxrpc_conn_parameters
586 memset(&cp, 0, sizeof(cp));
587 cp.local = rx->local;
588 cp.peer = peer;
589 cp.key = rx->key;
590 cp.security_level = rx->min_sec_level;
591 cp.exclusive = rx->exclusive | p->exclusive;
592 cp.upgrade = p->upgrade;
593 cp
[all...]
/linux-master/arch/alpha/kernel/
H A Dsmc37c669.c1677 struct DEVICE_CONFIG *cp;
1682 if ( ( cp = SMC37c669_get_config ( func ) ) != NULL ) {
1687 cp->drq = drq;
1690 cp->irq = irq;
1693 cp->port1 = port;
1845 struct DEVICE_CONFIG *cp;
1850 if ( ( cp = SMC37c669_get_config( func ) ) != NULL ) {
1852 *drq = cp->drq;
1856 *irq = cp->irq;
1860 *port = cp
1673 struct DEVICE_CONFIG *cp; local
2202 struct DEVICE_CONFIG *cp = NULL; local
[all...]
/linux-master/drivers/video/console/
H A Dnewport_con.c54 #define RENDER(regs, cp) do { \
55 (regs)->go.zpattern = BMASK((cp)[0x0]); (regs)->go.zpattern = BMASK((cp)[0x1]); \
56 (regs)->go.zpattern = BMASK((cp)[0x2]); (regs)->go.zpattern = BMASK((cp)[0x3]); \
57 (regs)->go.zpattern = BMASK((cp)[0x4]); (regs)->go.zpattern = BMASK((cp)[0x5]); \
58 (regs)->go.zpattern = BMASK((cp)[0x6]); (regs)->go.zpattern = BMASK((cp)[0x7]); \
59 (regs)->go.zpattern = BMASK((cp)[
[all...]
/linux-master/drivers/block/
H A Dswim3.c422 static inline void init_dma(struct dbdma_cmd *cp, int cmd, argument
425 cp->req_count = cpu_to_le16(count);
426 cp->command = cpu_to_le16(cmd);
427 cp->phy_addr = cpu_to_le32(swim3_phys_to_bus(paddr));
428 cp->xfer_status = 0;
435 struct dbdma_cmd *cp = fs->dma_cmd; local
459 out_le32(&dr->cmdptr, swim3_phys_to_bus(virt_to_phys(cp)));
462 init_dma(cp, OUTPUT_MORE, virt_to_phys(write_preamble),
464 ++cp;
465 init_dma(cp, OUTPUT_MOR
662 struct dbdma_cmd *cp; local
[all...]
/linux-master/tools/testing/scatterlist/
H A DMakefile32 @cp $< linux/scatterlist.h
/linux-master/include/scsi/
H A Dfc_frame.h208 u8 *cp; local
210 cp = fc_frame_payload_get(fp, sizeof(u8));
211 if (!cp)
213 return *cp;
/linux-master/tools/testing/selftests/bpf/
H A Dima_setup.sh49 cp "${TEST_BINARY}" "${mount_dir}"
/linux-master/drivers/media/pci/bt8xx/
H A Ddvb-bt8xx.c148 unsigned char cp = 0; local
156 cp = 0xb4;
158 cp = 0xbc;
160 cp = 0xf4;
172 pllbuf[3] = cp;
347 unsigned char cp = 0; local
354 cp = 0xB4;
356 cp = 0xBC;
358 cp = 0xB4;
360 cp
[all...]
/linux-master/tools/testing/selftests/exec/
H A DMakefile29 cp $< $@
/linux-master/fs/hpfs/
H A Dmap.c66 struct code_page_directory *cp = hpfs_map_sector(s, cps, &bh, 0); local
67 if (!cp) return NULL;
68 if (le32_to_cpu(cp->magic) != CP_DIR_MAGIC) {
70 le32_to_cpu(cp->magic));
74 if (!le32_to_cpu(cp->n_code_pages)) {
79 cpds = le32_to_cpu(cp->array[0].code_page_data);
80 cpi = le16_to_cpu(cp->array[0].index);
/linux-master/drivers/s390/cio/
H A Dvfio_ccw_fsm.c30 orb = cp_get_orb(&private->cp, sch);
174 cp_free(&private->cp);
258 /* Don't try to build a cp if transport mode is specified. */
268 io_region->ret_code = cp_init(&private->cp, orb);
275 errstr = "cp init";
279 io_region->ret_code = cp_prefetch(&private->cp);
286 errstr = "cp prefetch";
287 cp_free(&private->cp);
299 errstr = "cp fsm_io_helper";
300 cp_free(&private->cp);
[all...]

Completed in 251 milliseconds

1234567891011>>