Searched refs:cpc (Results 1 - 20 of 20) sorted by relevance

/linux-4.4.14/drivers/s390/char/
H A Dsclp_ocf.c45 struct gds_subvector *sv, *netid, *cpc; sclp_ocf_handler() local
64 cpc = sclp_find_gds_subvector(sv + 1, (void *) sv + sv->length, 2); sclp_ocf_handler()
65 /* Copy network name and cpc name. */ sclp_ocf_handler()
73 if (cpc) { sclp_ocf_handler()
74 size = min(OCF_LENGTH_CPC_NAME, (size_t) cpc->length); sclp_ocf_handler()
75 memcpy(cpc_name, cpc + 1, size); sclp_ocf_handler()
/linux-4.4.14/arch/mips/math-emu/
H A Ddsemul.c34 int mips_dsemul(struct pt_regs *regs, mips_instruction ir, unsigned long cpc) mips_dsemul() argument
42 regs->cp0_epc = cpc; mips_dsemul()
47 pr_debug("dsemul %lx %lx\n", regs->cp0_epc, cpc); mips_dsemul()
86 err |= __put_user(cpc, &fr->epc); mips_dsemul()
/linux-4.4.14/fs/f2fs/
H A Dsegment.c539 struct cp_control *cpc, struct seg_entry *se, __add_discard_entry()
547 if (START_BLOCK(sbi, cpc->trim_start) + start == __add_discard_entry()
556 new->blkaddr = START_BLOCK(sbi, cpc->trim_start) + start; __add_discard_entry()
563 static void add_discard_addrs(struct f2fs_sb_info *sbi, struct cp_control *cpc) add_discard_addrs() argument
567 struct seg_entry *se = get_seg_entry(sbi, cpc->trim_start); add_discard_addrs()
573 bool force = (cpc->reason == CP_DISCARD); add_discard_addrs()
596 __add_discard_entry(sbi, cpc, se, start, end); add_discard_addrs()
626 void clear_prefree_segments(struct f2fs_sb_info *sbi, struct cp_control *cpc) clear_prefree_segments() argument
659 if (cpc->reason == CP_DISCARD && entry->len < cpc->trim_minlen) list_for_each_entry_safe()
662 cpc->trimmed += entry->len; list_for_each_entry_safe()
1136 struct cp_control cpc; f2fs_trim_fs() local
1141 cpc.trimmed = 0; f2fs_trim_fs()
1149 cpc.reason = CP_DISCARD; f2fs_trim_fs()
1150 cpc.trim_minlen = max_t(__u64, 1, F2FS_BYTES_TO_BLK(range->minlen)); f2fs_trim_fs()
1153 for (; start_segno <= end_segno; start_segno = cpc.trim_end + 1) { f2fs_trim_fs()
1154 cpc.trim_start = start_segno; f2fs_trim_fs()
1159 cpc.trim_end = end_segno; f2fs_trim_fs()
1161 cpc.trim_end = min_t(unsigned int, f2fs_trim_fs()
1167 write_checkpoint(sbi, &cpc); f2fs_trim_fs()
1171 range->len = F2FS_BLK_TO_BYTES(cpc.trimmed); f2fs_trim_fs()
1883 void flush_sit_entries(struct f2fs_sb_info *sbi, struct cp_control *cpc) flush_sit_entries() argument
1943 if (cpc->reason != CP_DISCARD) { for_each_set_bit_from()
1944 cpc->trim_start = segno; for_each_set_bit_from()
1945 add_discard_addrs(sbi, cpc); for_each_set_bit_from()
1977 if (cpc->reason == CP_DISCARD) {
1978 for (; cpc->trim_start <= cpc->trim_end; cpc->trim_start++)
1979 add_discard_addrs(sbi, cpc);
538 __add_discard_entry(struct f2fs_sb_info *sbi, struct cp_control *cpc, struct seg_entry *se, unsigned int start, unsigned int end) __add_discard_entry() argument
H A Dcheckpoint.c922 static void do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc) do_checkpoint() argument
992 if (__remain_node_summaries(cpc->reason)) do_checkpoint()
1001 if (cpc->reason == CP_UMOUNT) do_checkpoint()
1006 if (cpc->reason == CP_FASTBOOT) do_checkpoint()
1049 if (__remain_node_summaries(cpc->reason)) { do_checkpoint()
1089 clear_prefree_segments(sbi, cpc); do_checkpoint()
1096 void write_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc) write_checkpoint() argument
1104 (cpc->reason == CP_FASTBOOT || cpc->reason == CP_SYNC || write_checkpoint()
1105 (cpc->reason == CP_DISCARD && !sbi->discard_blks))) write_checkpoint()
1112 trace_f2fs_write_checkpoint(sbi->sb, cpc->reason, "start block_ops"); write_checkpoint()
1117 trace_f2fs_write_checkpoint(sbi->sb, cpc->reason, "finish block_ops"); write_checkpoint()
1133 flush_sit_entries(sbi, cpc); write_checkpoint()
1136 do_checkpoint(sbi, cpc); write_checkpoint()
1141 if (cpc->reason == CP_RECOVERY) write_checkpoint()
1149 trace_f2fs_write_checkpoint(sbi->sb, cpc->reason, "finish checkpoint"); write_checkpoint()
H A Dgc.c823 struct cp_control cpc; f2fs_gc() local
829 cpc.reason = __get_cp_reason(sbi); f2fs_gc()
841 write_checkpoint(sbi, &cpc); f2fs_gc()
874 write_checkpoint(sbi, &cpc); f2fs_gc()
H A Dsuper.c538 struct cp_control cpc = { f2fs_put_super() local
541 write_checkpoint(sbi, &cpc); f2fs_put_super()
580 struct cp_control cpc; f2fs_sync_fs() local
582 cpc.reason = __get_cp_reason(sbi); f2fs_sync_fs()
585 write_checkpoint(sbi, &cpc); f2fs_sync_fs()
H A Drecovery.c594 struct cp_control cpc = { recover_fsync_data() local
598 write_checkpoint(sbi, &cpc); recover_fsync_data()
H A Dfile.c1632 struct cp_control cpc; f2fs_ioc_write_checkpoint() local
1640 cpc.reason = __get_cp_reason(sbi); f2fs_ioc_write_checkpoint()
1643 write_checkpoint(sbi, &cpc); f2fs_ioc_write_checkpoint()
/linux-4.4.14/arch/mips/kernel/
H A Dmips-cpc.c16 #include <asm/mips-cpc.h>
H A Dsmp-gic.c18 #include <asm/mips-cpc.h>
H A DMakefile106 obj-$(CONFIG_MIPS_CPC) += mips-cpc.o
H A Dmips-r2-to-r6-emul.c910 unsigned long cpc, epc, nepc, r31, res, rs, rt; mipsr2_decoder() local
999 cpc = regs->cp0_epc; mipsr2_decoder()
1036 err = mips_dsemul(regs, nir, cpc); mipsr2_decoder()
1054 cpc = regs->cp0_epc; mipsr2_decoder()
1085 err = mips_dsemul(regs, nir, cpc); mipsr2_decoder()
1115 cpc = regs->cp0_epc; mipsr2_decoder()
1152 err = mips_dsemul(regs, nir, cpc); mipsr2_decoder()
H A Dmips-cm.c24 "0x04", "cpc", "0x06", "0x07"
H A Dsmp-cps.c21 #include <asm/mips-cpc.h>
H A Dpm-cps.c20 #include <asm/mips-cpc.h>
/linux-4.4.14/arch/mips/include/asm/
H A Dfpu_emulator.h64 unsigned long cpc);
/linux-4.4.14/arch/mips/pistachio/
H A Dinit.c22 #include <asm/mips-cpc.h>
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dsuper25.c90 void lustre_register_client_process_config(int (*cpc)(struct lustre_cfg *lcfg));
/linux-4.4.14/arch/mips/mti-malta/
H A Dmalta-init.c24 #include <asm/mips-cpc.h>
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
H A Dobd_config.c730 void lustre_register_client_process_config(int (*cpc)(struct lustre_cfg *lcfg)) lustre_register_client_process_config()
732 client_process_config = cpc; lustre_register_client_process_config()

Completed in 559 milliseconds