Home
last modified time | relevance | path

Searched refs:sc (Results 226 – 250 of 603) sorted by relevance

12345678910>>...25

/openbmc/linux/arch/x86/boot/
H A Dstring.c159 const char *sc; in strlen() local
161 for (sc = s; *sc != '\0'; ++sc) in strlen()
163 return sc - s; in strlen()
/openbmc/linux/arch/alpha/boot/
H A Dstdio.c10 const char *sc; in strnlen() local
12 for (sc = s; count-- && *sc != '\0'; ++sc) in strnlen()
14 return sc - s; in strnlen()
/openbmc/linux/arch/s390/kernel/
H A Dsignal.c67 struct sigcontext sc; member
225 if (__copy_from_user(&set.sig, &frame->sc.oldmask, _SIGMASK_COPY_SIZE)) in SYSCALL_DEFINE0()
292 struct sigcontext sc; in setup_frame() local
314 memcpy(&sc.oldmask, &set->sig, _SIGMASK_COPY_SIZE); in setup_frame()
315 sc.sregs = (_sigregs __user __force *) &frame->sregs; in setup_frame()
316 if (__copy_to_user(&frame->sc, &sc, sizeof(frame->sc))) in setup_frame()
351 regs->gprs[3] = (unsigned long) &frame->sc; in setup_frame()
/openbmc/qemu/hw/sensor/
H A Demc141x.c57 EMC141XClass *sc = EMC141X_GET_CLASS(s); in OBJECT_DECLARE_TYPE() local
66 if (tempid >= sc->sensors_count) { in OBJECT_DECLARE_TYPE()
80 EMC141XClass *sc = EMC141X_GET_CLASS(s); in emc141x_set_temperature() local
93 if (tempid >= sc->sensors_count) { in emc141x_set_temperature()
103 EMC141XClass *sc = EMC141X_GET_CLASS(s); in emc141x_read() local
106 s->data = sc->model; in emc141x_read()
H A Dtmp421.c171 TMP421Class *sc = TMP421_GET_CLASS(s); in tmp421_read() local
180 s->buf[s->len++] = sc->dev->model; in tmp421_read()
309 TMP421Class *sc = TMP421_GET_CLASS(s); in tmp421_reset() local
317 switch (sc->dev->model) { in tmp421_reset()
344 TMP421Class *sc = TMP421_CLASS(klass); in tmp421_class_init() local
351 sc->dev = (DeviceInfo *) data; in tmp421_class_init()
/openbmc/linux/tools/testing/selftests/powerpc/switch_endian/
H A Dswitch_endian_test.S69 sc
87 sc
90 sc
/openbmc/linux/arch/mips/include/asm/
H A Dsignal.h32 extern int protected_save_fp_context(void __user *sc);
33 extern int protected_restore_fp_context(void __user *sc);
/openbmc/qemu/hw/timer/
H A Di8254_common.c133 void pit_get_channel_info_common(PITCommonState *s, PITChannelState *sc, in pit_get_channel_info_common() argument
136 info->gate = sc->gate; in pit_get_channel_info_common()
137 info->mode = sc->mode; in pit_get_channel_info_common()
138 info->initial_count = sc->count; in pit_get_channel_info_common()
139 info->out = pit_get_out(sc, qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)); in pit_get_channel_info_common()
/openbmc/linux/arch/parisc/boot/compressed/
H A Dmisc.c103 const char *sc; in strlen() local
105 for (sc = s; *sc != '\0'; ++sc) in strlen()
107 return sc - s; in strlen()
/openbmc/linux/tools/perf/util/
H A Dsyscalltbl.c119 struct syscall *sc = bsearch(name, tbl->syscalls.entries, in syscalltbl__id() local
120 tbl->syscalls.nr_entries, sizeof(*sc), in syscalltbl__id()
123 return sc ? sc->id : -1; in syscalltbl__id()
/openbmc/qemu/hw/ufs/
H A Dlu.c37 uint32_t expected_len = be32_to_cpu(req->req_upiu.sc.exp_data_transfer_len); in ufs_build_scsi_response_upiu()
101 if (req->req_upiu.sc.cdb[2] != 0) { in ufs_emulate_report_luns()
129 uint8_t page_code = req->req_upiu.sc.cdb[2]; in ufs_scsi_emulate_vpd_page()
169 if (req->req_upiu.sc.cdb[1] & 0x1) { in ufs_emulate_wlun_inquiry()
175 if (req->req_upiu.sc.cdb[2] != 0) { in ufs_emulate_wlun_inquiry()
202 switch (req->req_upiu.sc.cdb[0]) { in ufs_emulate_scsi_cmd()
261 if (req->req_upiu.sc.cdb[0] == REPORT_LUNS) { in ufs_process_scsi_cmd()
266 scsi_req_new(lu->scsi_dev, task_tag, lu->lun, req->req_upiu.sc.cdb, in ufs_process_scsi_cmd()
/openbmc/linux/Documentation/devicetree/bindings/firmware/
H A Dfsl,scu.yaml36 $ref: /schemas/gpio/fsl,imx8qxp-sc-gpio.yaml
197 compatible = "fsl,imx8qxp-sc-rtc";
201 compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key";
206 compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt";
211 compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal";
/openbmc/linux/mm/
H A Dworkingset.c630 struct shrink_control *sc) in count_shadow_nodes() argument
636 nodes = list_lru_shrink_count(&shadow_nodes, sc); in count_shadow_nodes()
663 if (sc->memcg) { in count_shadow_nodes()
668 lruvec = mem_cgroup_lruvec(sc->memcg, NODE_DATA(sc->nid)); in count_shadow_nodes()
678 pages = node_present_pages(sc->nid); in count_shadow_nodes()
759 struct shrink_control *sc) in scan_shadow_nodes() argument
762 return list_lru_shrink_walk_irq(&shadow_nodes, sc, shadow_lru_isolate, in scan_shadow_nodes()
/openbmc/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_gem_shrinker.c19 panfrost_gem_shrinker_count(struct shrinker *shrinker, struct shrink_control *sc) in panfrost_gem_shrinker_count() argument
66 panfrost_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc) in panfrost_gem_shrinker_scan() argument
77 if (freed >= sc->nr_to_scan) in panfrost_gem_shrinker_scan()
/openbmc/qemu/hw/isa/
H A Dpc87312.c339 ISASuperIOClass *sc = ISA_SUPERIO_CLASS(klass); in pc87312_class_init() local
341 sc->parent_realize = dc->realize; in pc87312_class_init()
347 sc->parallel = (ISASuperIOFuncs){ in pc87312_class_init()
353 sc->serial = (ISASuperIOFuncs){ in pc87312_class_init()
359 sc->floppy = (ISASuperIOFuncs){ in pc87312_class_init()
365 sc->ide = (ISASuperIOFuncs){ in pc87312_class_init()
/openbmc/linux/arch/microblaze/kernel/
H A Dsignal.c46 struct sigcontext sc; member
58 struct sigcontext __user *sc, int *rval_p) in restore_sigcontext() argument
62 #define COPY(x) {err |= __get_user(regs->x, &sc->regs.x); } in restore_sigcontext()
118 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, in setup_sigcontext() argument
123 #define COPY(x) {err |= __put_user(regs->x, &sc->regs.x); } in setup_sigcontext()
137 err |= __put_user(mask, &sc->oldmask); in setup_sigcontext()
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx8dxl.dtsi137 compatible = "fsl,imx8qxp-sc-gpio";
161 compatible = "fsl,imx8qxp-sc-rtc";
165 compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key";
171 compatible = "fsl,imx-sc-wdt";
176 compatible = "fsl,imx-sc-thermal";
/openbmc/linux/fs/gfs2/
H A Drecovery.c314 struct gfs2_statfs_change_host sc; in update_statfs_inode() local
327 gfs2_statfs_change_in(&sc, bh->b_data + sizeof(struct gfs2_dinode)); in update_statfs_inode()
328 sc.sc_total += head->lh_local_total; in update_statfs_inode()
329 sc.sc_free += head->lh_local_free; in update_statfs_inode()
330 sc.sc_dinodes += head->lh_local_dinodes; in update_statfs_inode()
331 gfs2_statfs_change_out(&sc, bh->b_data + sizeof(struct gfs2_dinode)); in update_statfs_inode()
335 "[%+lld,%+lld,%+lld]\n", jd->jd_jid, sc.sc_total, in update_statfs_inode()
336 sc.sc_free, sc.sc_dinodes, head->lh_local_total, in update_statfs_inode()
/openbmc/linux/fs/xfs/scrub/
H A Ddabtree.h16 struct xfs_scrub *sc; member
40 int xchk_da_btree(struct xfs_scrub *sc, int whichfork,
/openbmc/linux/arch/powerpc/boot/
H A Dstdio.c13 const char *sc; in strnlen() local
15 for (sc = s; count-- && *sc != '\0'; ++sc) in strnlen()
17 return sc - s; in strnlen()
/openbmc/linux/sound/pci/lola/
H A Dlola_clock.c182 struct lola_sample_clock *sc; in lola_init_clock_widget() local
183 sc = &chip->clock.sample_clock[idx_list]; in lola_init_clock_widget()
184 sc->type = type; in lola_init_clock_widget()
185 sc->format = format; in lola_init_clock_widget()
186 sc->freq = freq; in lola_init_clock_widget()
/openbmc/linux/tools/testing/selftests/powerpc/signal/
H A Dsignal.S13 sc
29 sc
/openbmc/linux/fs/nfs/
H A Dnfs42xattr.c791 struct shrink_control *sc);
793 struct shrink_control *sc);
795 struct shrink_control *sc);
797 struct shrink_control *sc);
858 nfs4_xattr_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_cache_scan() argument
864 freed = list_lru_shrink_walk(&nfs4_xattr_cache_lru, sc, in nfs4_xattr_cache_scan()
879 nfs4_xattr_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_cache_count() argument
883 count = list_lru_shrink_count(&nfs4_xattr_cache_lru, sc); in nfs4_xattr_cache_count()
939 nfs4_xattr_entry_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_entry_scan() argument
949 freed = list_lru_shrink_walk(lru, sc, entry_lru_isolate, &dispose); in nfs4_xattr_entry_scan()
[all …]
/openbmc/linux/arch/parisc/kernel/
H A Dsignal32.h57 long restore_sigcontext32(struct compat_sigcontext __user *sc,
60 long setup_sigcontext32(struct compat_sigcontext __user *sc,
/openbmc/qemu/target/i386/tcg/sysemu/
H A Dsvm_helper.c31 const SegmentCache *sc) in svm_save_seg() argument
36 sc->base, mmu_idx, 0); in svm_save_seg()
38 sc->limit, mmu_idx, 0); in svm_save_seg()
56 SegmentCache *sc) in svm_load_seg() argument
60 sc->selector = in svm_load_seg()
63 sc->base = in svm_load_seg()
66 sc->limit = in svm_load_seg()
74 svm_canonicalization(env, &sc->base); in svm_load_seg()
80 SegmentCache sc; in svm_load_seg_cache() local
82 svm_load_seg(env, mmu_idx, addr, &sc); in svm_load_seg_cache()
[all …]

12345678910>>...25