Home
last modified time | relevance | path

Searched full:c (Results 1 – 25 of 10366) sorted by relevance

12345678910>>...415

/kernel/liteos_m/testsuites/sample/kernel/queue/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
32 "It_los_queue.c",
33 "It_los_queue_001.c",
34 "It_los_queue_002.c",
35 "It_los_queue_003.c",
36 "It_los_queue_004.c",
37 "It_los_queue_005.c",
38 "It_los_queue_006.c",
39 "It_los_queue_007.c",
[all …]
/kernel/liteos_m/testsuites/sample/kernel/task/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
32 "It_los_task.c",
33 "It_los_task_001.c",
34 "It_los_task_002.c",
35 "It_los_task_003.c",
36 "It_los_task_004.c",
37 "It_los_task_005.c",
38 "It_los_task_006.c",
39 "It_los_task_007.c",
[all …]
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
34 "swtmr/It_los_swtmr.c",
35 "swtmr/full/It_los_swtmr_001.c",
36 "swtmr/full/It_los_swtmr_002.c",
37 "swtmr/full/It_los_swtmr_003.c",
38 "swtmr/full/It_los_swtmr_005.c",
39 "swtmr/full/It_los_swtmr_006.c",
40 "swtmr/full/It_los_swtmr_007.c",
41 "swtmr/full/It_los_swtmr_008.c",
[all …]
/kernel/liteos_m/testsuites/sample/kernel/swtmr/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
32 "It_los_swtmr.c",
33 "It_los_swtmr_001.c",
34 "It_los_swtmr_002.c",
35 "It_los_swtmr_003.c",
36 "It_los_swtmr_004.c",
37 "It_los_swtmr_005.c",
38 "It_los_swtmr_006.c",
39 "It_los_swtmr_007.c",
[all …]
/kernel/linux/linux-5.10/fs/ubifs/
Dmaster.c5 * Copyright (C) 2006-2008 Nokia Corporation.
17 * @c: UBIFS file-system description object
24 int ubifs_compare_master_node(struct ubifs_info *c, void *m1, void *m2) in ubifs_compare_master_node() argument
52 * @c: UBIFS file-system description object
64 static int mst_node_check_hash(const struct ubifs_info *c, in mst_node_check_hash() argument
71 crypto_shash_tfm_digest(c->hash_tfm, node + sizeof(struct ubifs_ch), in mst_node_check_hash()
75 if (ubifs_check_hash(c, expected, calc)) in mst_node_check_hash()
83 * @c: UBIFS file-system description object
90 static int scan_for_master(struct ubifs_info *c) in scan_for_master() argument
98 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master()
[all …]
Dsuper.c5 * Copyright (C) 2006-2008 Nokia Corporation.
65 * @c: UBIFS file-system description object
73 static int validate_inode(struct ubifs_info *c, const struct inode *inode) in validate_inode() argument
78 if (inode->i_size > c->max_inode_sz) { in validate_inode()
79 ubifs_err(c, "inode is too large (%lld)", in validate_inode()
85 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode()
98 if (!ubifs_compr_present(c, ui->compr_type)) { in validate_inode()
99 ubifs_warn(c, "inode %lu uses '%s' compression, but it was not compiled in", in validate_inode()
100 inode->i_ino, ubifs_compr_name(c, ui->compr_type)); in validate_inode()
103 err = dbg_check_dir(c, inode); in validate_inode()
[all …]
Dsb.c5 * Copyright (C) 2006-2008 Nokia Corporation.
54 static int get_default_compressor(struct ubifs_info *c) in get_default_compressor() argument
56 if (ubifs_compr_present(c, UBIFS_COMPR_LZO)) in get_default_compressor()
59 if (ubifs_compr_present(c, UBIFS_COMPR_ZLIB)) in get_default_compressor()
67 * @c: UBIFS file-system description object
72 static int create_default_filesystem(struct ubifs_info *c) in create_default_filesystem() argument
91 /* Some functions called from here depend on the @c->key_len filed */ in create_default_filesystem()
92 c->key_len = UBIFS_SK_LEN; in create_default_filesystem()
98 if (c->leb_cnt < 0x7FFFFFFF / DEFAULT_JNL_PERCENT) in create_default_filesystem()
100 jnl_lebs = c->leb_cnt * DEFAULT_JNL_PERCENT / 100; in create_default_filesystem()
[all …]
Dlpt_commit.c5 * Copyright (C) 2006-2008 Nokia Corporation.
21 static int dbg_populate_lsave(struct ubifs_info *c);
25 * @c: UBIFS file-system description object
30 static struct ubifs_cnode *first_dirty_cnode(const struct ubifs_info *c, struct ubifs_nnode *nnode) in first_dirty_cnode() argument
32 ubifs_assert(c, nnode); in first_dirty_cnode()
56 * @c: UBIFS file-system description object
61 static struct ubifs_cnode *next_dirty_cnode(const struct ubifs_info *c, struct ubifs_cnode *cnode) in next_dirty_cnode() argument
66 ubifs_assert(c, cnode); in next_dirty_cnode()
76 return first_dirty_cnode(c, (struct ubifs_nnode *)cnode); in next_dirty_cnode()
84 * @c: UBIFS file-system description object
[all …]
Dlpt.c5 * Copyright (C) 2006-2008 Nokia Corporation.
41 * @c: the UBIFS file-system description object
44 * properties of the flash and whether LPT is "big" (c->big_lpt).
46 static void do_calc_lpt_geom(struct ubifs_info *c) in do_calc_lpt_geom() argument
51 n = c->main_lebs + c->max_leb_cnt - c->leb_cnt; in do_calc_lpt_geom()
54 c->lpt_hght = 1; in do_calc_lpt_geom()
57 c->lpt_hght += 1; in do_calc_lpt_geom()
61 c->pnode_cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
63 n = DIV_ROUND_UP(c->pnode_cnt, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
64 c->nnode_cnt = n; in do_calc_lpt_geom()
[all …]
Dcommit.c5 * Copyright (C) 2006-2008 Nokia Corporation.
41 * @c: UBIFS file-system description object
50 * This function has to be called with @c->commit_sem locked for writing -
51 * this function does not take LPT/TNC locks because the @c->commit_sem
56 static int nothing_to_commit(struct ubifs_info *c) in nothing_to_commit() argument
62 if (c->mounting || c->remounting_rw) in nothing_to_commit()
69 if (c->zroot.znode && ubifs_zn_dirty(c->zroot.znode)) in nothing_to_commit()
79 if (c->nroot && test_bit(DIRTY_CNODE, &c->nroot->flags)) in nothing_to_commit()
82 ubifs_assert(c, atomic_long_read(&c->dirty_zn_cnt) == 0); in nothing_to_commit()
83 ubifs_assert(c, c->dirty_pn_cnt == 0); in nothing_to_commit()
[all …]
Dlog.c5 * Copyright (C) 2006-2008 Nokia Corporation.
20 static int dbg_check_bud_bytes(struct ubifs_info *c);
24 * @c: UBIFS file-system description object
30 struct ubifs_bud *ubifs_search_bud(struct ubifs_info *c, int lnum) in ubifs_search_bud() argument
35 spin_lock(&c->buds_lock); in ubifs_search_bud()
36 p = c->buds.rb_node; in ubifs_search_bud()
44 spin_unlock(&c->buds_lock); in ubifs_search_bud()
48 spin_unlock(&c->buds_lock); in ubifs_search_bud()
54 * @c: UBIFS file-system description object
59 struct ubifs_wbuf *ubifs_get_wbuf(struct ubifs_info *c, int lnum) in ubifs_get_wbuf() argument
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dipu3_rcb.svg9C 5.519531 -1.15625 6.15625 -1.316406 6.59375 -1.640625 C 7.039062 -1.960938 7.265625 -2.441406 7.…
12C 6.4375 -9.5 7.398438 -9.109375 8.078125 -8.328125 C 8.753906 -7.546875 9.09375 -6.363281 9.09375…
15C 2.015625 -9.160156 2.609375 -9.273438 3.203125 -9.359375 C 3.796875 -9.441406 4.351562 -9.484375…
18C 7.015625 -2.644531 6.878906 -2.914062 6.609375 -3.125 C 6.335938 -3.34375 6 -3.53125 5.59375 -3.…
21C 9.203125 -3.910156 9.097656 -3.25 8.890625 -2.65625 C 8.679688 -2.0625 8.390625 -1.550781 8.0156…
24C 3.503906 -9.25 4.878906 -9.484375 6.265625 -9.484375 C 6.691406 -9.484375 7.097656 -9.460938 7.4…
33C 3.878906 0.09375 3.644531 0.0859375 3.375 0.078125 C 3.113281 0.0664062 2.847656 0.0507812 2.578…
36C 9.203125 -5.054688 9.054688 -4.082031 8.765625 -3.28125 C 8.484375 -2.476562 8.09375 -1.828125 7…
39C 8.84375 -0.203125 8.4375 -0.0859375 7.875 0.046875 C 7.320312 0.191406 6.664062 0.265625 5.90625…
42C 8.734375 -0.253906 8.234375 -0.0625 7.703125 0.0625 C 7.179688 0.195312 6.617188 0.265625 6.0156…
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/
Dconf_nitpick.py23 ("c:func", "clock_gettime"),
24 ("c:func", "close"),
25 ("c:func", "container_of"),
26 ("c:func", "copy_from_user"),
27 ("c:func", "copy_to_user"),
28 ("c:func", "determine_valid_ioctls"),
29 ("c:func", "ERR_PTR"),
30 ("c:func", "i2c_new_client_device"),
31 ("c:func", "ioctl"),
32 ("c:func", "IS_ERR"),
[all …]
/kernel/linux/linux-5.10/tools/power/cpupower/po/
Dcs.po4 # Copyright (C) 2007 kavol
23 #: utils/idle_monitor/nhm_idle.c:36
27 #: utils/idle_monitor/nhm_idle.c:43
31 #: utils/idle_monitor/nhm_idle.c:51
35 #: utils/idle_monitor/nhm_idle.c:58 utils/idle_monitor/amd_fam14h_idle.c:70
39 #: utils/idle_monitor/snb_idle.c:33
43 #: utils/idle_monitor/snb_idle.c:40
47 #: utils/idle_monitor/snb_idle.c:47
51 #: utils/idle_monitor/amd_fam14h_idle.c:56
55 #: utils/idle_monitor/amd_fam14h_idle.c:63
[all …]
Dpt.po2 # Copyright (C) 2008 THE cpufrequtils'S COPYRIGHT HOLDER
18 #: utils/idle_monitor/nhm_idle.c:36
22 #: utils/idle_monitor/nhm_idle.c:43
26 #: utils/idle_monitor/nhm_idle.c:51
30 #: utils/idle_monitor/nhm_idle.c:58 utils/idle_monitor/amd_fam14h_idle.c:70
34 #: utils/idle_monitor/snb_idle.c:33
38 #: utils/idle_monitor/snb_idle.c:40
42 #: utils/idle_monitor/snb_idle.c:47
46 #: utils/idle_monitor/amd_fam14h_idle.c:56
50 #: utils/idle_monitor/amd_fam14h_idle.c:63
[all …]
Dit.po2 # Copyright (C) 2004-2009
20 #: utils/idle_monitor/nhm_idle.c:36
24 #: utils/idle_monitor/nhm_idle.c:43
28 #: utils/idle_monitor/nhm_idle.c:51
32 #: utils/idle_monitor/nhm_idle.c:58 utils/idle_monitor/amd_fam14h_idle.c:70
36 #: utils/idle_monitor/snb_idle.c:33
40 #: utils/idle_monitor/snb_idle.c:40
44 #: utils/idle_monitor/snb_idle.c:47
48 #: utils/idle_monitor/amd_fam14h_idle.c:56
52 #: utils/idle_monitor/amd_fam14h_idle.c:63
[all …]
Dfr.po2 # Copyright (C) 2004 THE PACKAGE'S COPYRIGHT HOLDER
20 #: utils/idle_monitor/nhm_idle.c:36
24 #: utils/idle_monitor/nhm_idle.c:43
28 #: utils/idle_monitor/nhm_idle.c:51
32 #: utils/idle_monitor/nhm_idle.c:58 utils/idle_monitor/amd_fam14h_idle.c:70
36 #: utils/idle_monitor/snb_idle.c:33
40 #: utils/idle_monitor/snb_idle.c:40
44 #: utils/idle_monitor/snb_idle.c:47
48 #: utils/idle_monitor/amd_fam14h_idle.c:56
52 #: utils/idle_monitor/amd_fam14h_idle.c:63
[all …]
Dde.po3 # Copyright (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.net>
20 #: utils/idle_monitor/nhm_idle.c:36
24 #: utils/idle_monitor/nhm_idle.c:43
28 #: utils/idle_monitor/nhm_idle.c:51
32 #: utils/idle_monitor/nhm_idle.c:58 utils/idle_monitor/amd_fam14h_idle.c:70
36 #: utils/idle_monitor/snb_idle.c:33
40 #: utils/idle_monitor/snb_idle.c:40
44 #: utils/idle_monitor/snb_idle.c:47
48 #: utils/idle_monitor/amd_fam14h_idle.c:56
52 #: utils/idle_monitor/amd_fam14h_idle.c:63
[all …]
/kernel/linux/linux-5.10/drivers/most/
Dcore.c3 * core.c - Implementation of core module of MOST Linux driver stack
5 * Copyright (C) 2013-2020 Microchip Technology Germany II GmbH & Co. KG
102 struct most_channel *c = mbo->context; in most_free_mbo_coherent() local
103 u16 const coherent_buf_size = c->cfg.buffer_size + c->cfg.extra_len; in most_free_mbo_coherent()
105 if (c->iface->dma_free) in most_free_mbo_coherent()
106 c->iface->dma_free(mbo, coherent_buf_size); in most_free_mbo_coherent()
110 if (atomic_sub_and_test(1, &c->mbo_ref)) in most_free_mbo_coherent()
111 complete(&c->cleanup); in most_free_mbo_coherent()
116 * @c: pointer to channel object
118 static void flush_channel_fifos(struct most_channel *c) in flush_channel_fifos() argument
[all …]
Dmost_cdev.c3 * cdev.c - Character device component for Mostcore
5 * Copyright (C) 2013-2015 Microchip Technology Germany II GmbH & Co. KG
50 static inline bool ch_has_mbo(struct comp_channel *c) in ch_has_mbo() argument
52 return channel_has_mbo(c->iface, c->channel_id, &comp.cc) > 0; in ch_has_mbo()
55 static inline struct mbo *ch_get_mbo(struct comp_channel *c, struct mbo **mbo) in ch_get_mbo() argument
57 if (!kfifo_peek(&c->fifo, mbo)) { in ch_get_mbo()
58 *mbo = most_get_mbo(c->iface, c->channel_id, &comp.cc); in ch_get_mbo()
60 kfifo_in(&c->fifo, mbo, 1); in ch_get_mbo()
67 struct comp_channel *c, *tmp; in get_channel() local
71 list_for_each_entry_safe(c, tmp, &channel_list, list) { in get_channel()
[all …]
/kernel/linux/linux-5.10/arch/mips/kernel/
Dcpu-probe.c5 * Copyright (C) xxxx the Anonymous
6 * Copyright (C) 1994 - 2006 Ralf Baechle
7 * Copyright (C) 2003, 2004 Maciej W. Rozycki
8 * Copyright (C) 2001, 2004, 2011, 2012 MIPS Technologies, Inc.
86 static int set_ftlb_enable(struct cpuinfo_mips *c, enum ftlb_flags flags);
143 static inline void cpu_set_mt_per_tc_perf(struct cpuinfo_mips *c) in cpu_set_mt_per_tc_perf() argument
146 c->options |= MIPS_CPU_MT_PER_TC_PERF_COUNTERS; in cpu_set_mt_per_tc_perf()
151 struct cpuinfo_mips *c = &current_cpu_data; in check_errata() local
160 if ((c->processor_id & PRID_REV_MASK) <= PRID_REV_34K_V1_0_2) in check_errata()
208 static inline void cpu_probe_vmbits(struct cpuinfo_mips *c) in cpu_probe_vmbits() argument
[all …]
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
32 sources = [ "mux/It_los_mux.c" ]
35 "mux/full/It_los_mutex_006.c",
36 "mux/full/It_los_mutex_007.c",
37 "mux/full/It_los_mutex_008.c",
38 "mux/full/It_los_mutex_009.c",
39 "mux/full/It_los_mutex_010.c",
40 "mux/full/It_los_mutex_011.c",
41 "mux/full/It_los_mutex_012.c",
[all …]
/kernel/liteos_a/testsuites/kernel/sample/posix/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
32 "mem/It_posix_mem.c",
33 "mqueue/It_posix_queue.c",
34 "mutex/It_posix_mutex.c",
35 "pthread/It_posix_pthread.c",
36 "sched/It_posix_sched.c",
37 "sem/It_posix_sem.c",
38 "smp/It_posix_smp.c",
39 "smp/It_posix_smp_001.c",
[all …]
/kernel/liteos_a/lib/libmbedtls/
DBUILD.gn1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
2 # Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
36 "$LITEOSTHIRDPARTY/mbedtls/library/aes.c",
37 "$LITEOSTHIRDPARTY/mbedtls/library/aesni.c",
38 "$LITEOSTHIRDPARTY/mbedtls/library/arc4.c",
39 "$LITEOSTHIRDPARTY/mbedtls/library/aria.c",
40 "$LITEOSTHIRDPARTY/mbedtls/library/asn1parse.c",
41 "$LITEOSTHIRDPARTY/mbedtls/library/asn1write.c",
42 "$LITEOSTHIRDPARTY/mbedtls/library/base64.c",
43 "$LITEOSTHIRDPARTY/mbedtls/library/bignum.c",
[all …]
/kernel/linux/linux-5.10/fs/jffs2/
Dwbuf.c35 #define PAGE_DIV(x) ( ((unsigned long)(x) / (unsigned long)(c->wbuf_pagesize)) * (unsigned long)(c-…
36 #define PAGE_MOD(x) ( (unsigned long)(x) % (unsigned long)(c->wbuf_pagesize) )
48 static int jffs2_wbuf_pending_for_ino(struct jffs2_sb_info *c, uint32_t ino) in jffs2_wbuf_pending_for_ino() argument
50 struct jffs2_inodirty *this = c->wbuf_inodes; in jffs2_wbuf_pending_for_ino()
69 static void jffs2_clear_wbuf_ino_list(struct jffs2_sb_info *c) in jffs2_clear_wbuf_ino_list() argument
73 this = c->wbuf_inodes; in jffs2_clear_wbuf_ino_list()
82 c->wbuf_inodes = NULL; in jffs2_clear_wbuf_ino_list()
85 static void jffs2_wbuf_dirties_inode(struct jffs2_sb_info *c, uint32_t ino) in jffs2_wbuf_dirties_inode() argument
90 jffs2_dirty_trigger(c); in jffs2_wbuf_dirties_inode()
92 if (jffs2_wbuf_pending_for_ino(c, ino)) in jffs2_wbuf_dirties_inode()
[all …]

12345678910>>...415