Home
last modified time | relevance | path

Searched +full:- +full:c (Results 1 – 25 of 1159) sorted by relevance

12345678910>>...47

/linux/fs/ubifs/
H A Dmaster.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation.
16 * ubifs_compare_master_node - compare two UBIFS master nodes
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
35 hmac_offs - UBIFS_CH_SZ); in ubifs_compare_master_node()
46 return memcmp(m1 + behind, m2 + behind, UBIFS_MST_NODE_SZ - behind); in ubifs_compare_master_node()
51 /* mst_node_check_hash - Check hash of a master node
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
[all …]
H A Dsuper.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation.
35 return -EINVAL; in ubifs_default_version_set()
60 * validate_inode - validate inode.
61 * @c: UBIFS file-system description object
67 * a non-zero error code if not.
69 static int validate_inode(struct ubifs_info *c, const struct inode *inode) in validate_inode() argument
74 if (inode->i_size > c->max_inode_sz) { in validate_inode()
75 ubifs_err(c, "inode is too large (%lld)", in validate_inode()
76 (long long)inode->i_size); in validate_inode()
[all …]
H A Dsb.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation.
13 * LEB of the volume and is never changed by UBIFS. Only user-space tools may
54 static int get_default_compressor(struct ubifs_info *c) in get_default_compressor() argument
56 if (ubifs_compr_present(c, UBIFS_COMPR_ZSTD)) in get_default_compressor()
59 if (ubifs_compr_present(c, UBIFS_COMPR_LZO)) in get_default_compressor()
62 if (ubifs_compr_present(c, UBIFS_COMPR_ZLIB)) in get_default_compressor()
69 * create_default_filesystem - format empty UBI volume.
70 * @c: UBIFS file-system description object
72 * This function creates default empty file-system. Returns zero in case of
[all …]
H A Dlpt_commit.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation.
12 * This file implements commit-related functionality of the LEB properties
21 static int dbg_populate_lsave(struct ubifs_info *c);
24 * first_dirty_cnode - find first dirty cnode.
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()
39 cnode = nnode->nbranch[i].cnode; in first_dirty_cnode()
41 test_bit(DIRTY_CNODE, &cnode->flags)) { in first_dirty_cnode()
[all …]
H A Dlpt.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation.
17 * The LPT area is like a miniature self-contained file system. It is required
40 * do_calc_lpt_geom - calculate sizes for the LPT area.
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()
[all …]
H A Dlog.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation.
20 static int dbg_check_bud_bytes(struct ubifs_info *c);
23 * ubifs_search_bud - search bud LEB.
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()
39 if (lnum < bud->lnum) in ubifs_search_bud()
40 p = p->rb_left; in ubifs_search_bud()
[all …]
H A Dbudget.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation.
12 * This file implements the budgeting sub-system which is responsible for UBIFS
40 * shrink_liability - write-back some dirty pages/inodes.
41 * @c: UBIFS file-system description object
42 * @nr_to_write: how many dirty pages to write-back
48 * (@i_mutex) by the caller of the budgeting function, because write-back does
51 static void shrink_liability(struct ubifs_info *c, int nr_to_write) in shrink_liability() argument
53 down_read(&c->vfs_sb->s_umount); in shrink_liability()
54 writeback_inodes_sb_nr(c->vfs_sb, nr_to_write, WB_REASON_FS_FREE_SPACE); in shrink_liability()
[all …]
H A Dcommit.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation.
18 * file system consistent - at all times the state can be recreated by reading
28 * purpose of this two-step approach is to prevent the commit from causing any
40 * nothing_to_commit - check if there is nothing to commit.
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
60 * commit for various recovery-related reasons. in nothing_to_commit()
[all …]
H A Dtnc_commit.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation.
17 * make_idx_node - make an index node for fill-the-gaps method of TNC commit.
18 * @c: UBIFS file-system description object
25 static int make_idx_node(struct ubifs_info *c, struct ubifs_idx_node *idx, in make_idx_node() argument
33 idx->ch.node_type = UBIFS_IDX_NODE; in make_idx_node()
34 idx->child_cnt = cpu_to_le16(znode->child_cnt); in make_idx_node()
35 idx->level = cpu_to_le16(znode->level); in make_idx_node()
36 for (i = 0; i < znode->child_cnt; i++) { in make_idx_node()
37 struct ubifs_branch *br = ubifs_idx_branch(c, idx, i); in make_idx_node()
[all …]
H A Dorphan.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation.
30 * (c->leb_size - UBIFS_ORPH_NODE_SZ) / sizeof(__le64)
34 * Orphans are accumulated in a rb-tree. When an inode's link count drops to
35 * zero, the inode number is added to the rb-tree. It is removed from the tree
43 static int dbg_check_orphans(struct ubifs_info *c);
46 * ubifs_add_orphan - add an orphan.
47 * @c: UBIFS file-system description object
53 int ubifs_add_orphan(struct ubifs_info *c, ino_t inum) in ubifs_add_orphan() argument
60 return -ENOMEM; in ubifs_add_orphan()
[all …]
H A Dlprops.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation.
22 * get_heap_comp_val - get the LEB properties value for heap comparisons.
30 return lprops->free; in get_heap_comp_val()
32 return lprops->free + lprops->dirty; in get_heap_comp_val()
34 return lprops->dirty; in get_heap_comp_val()
39 * move_up_lpt_heap - move a new heap entry up as far as possible.
40 * @c: UBIFS file-system description object
50 static void move_up_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in move_up_lpt_heap() argument
55 hpos = lprops->hpos; in move_up_lpt_heap()
[all …]
/linux/Documentation/admin-guide/media/
H A Dipu3_rcb.svg1 <?xml version="1.0" encoding="UTF-8"?>
5 <symbol overflow="visible" id="glyph0-0">
6 <path style="stroke:none;" d="M 1 0 L 1 -15 L 9 -15 L 9 0 Z M 8 -1 L 8 -14 L 2 -14 L 2 -1 Z M 8 -1 …
8 <symbol overflow="visible" id="glyph0-1">
9-1.15625 C 5.519531 -1.15625 6.15625 -1.316406 6.59375 -1.640625 C 7.039062 -1.960938 7.265625 -2.…
11 <symbol overflow="visible" id="glyph0-2">
12-9.5 C 6.4375 -9.5 7.398438 -9.109375 8.078125 -8.328125 C 8.753906 -7.546875 9.09375 -6.363281 9.…
14 <symbol overflow="visible" id="glyph0-3">
15-9.015625 C 2.015625 -9.160156 2.609375 -9.273438 3.203125 -9.359375 C 3.796875 -9.441406 4.351562…
17 <symbol overflow="visible" id="glyph0-4">
[all …]
/linux/tools/power/cpupower/po/
H A Dcs.po4 # Copyright (C) 2007 kavol
10 "Project-Id-Version: cs\n"
11 "Report-Msgid-Bugs-To: \n"
12 "POT-Creation-Date: 2011-03-08 17:03+0100\n"
13 "PO-Revision-Date: 2008-06-11 16:26+0200\n"
14 "Last-Translator: Karel Volný <kavol@seznam.cz>\n"
15 "Language-Team: Czech <diskuze@lists.l10n.cz>\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
[all …]
H A Dpt.po2 # Copyright (C) 2008 THE cpufrequtils'S COPYRIGHT HOLDER
9 "Project-Id-Version: cpufrequtils 004\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2011-03-08 17:03+0100\n"
12 "PO-Revision-Date: 2008-06-14 22:16-0400\n"
13 "Last-Translator: Claudio Eduardo <claudioeddy@gmail.com>\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
18 #: utils/idle_monitor/nhm_idle.c:36
[all …]
H A Dit.po2 # Copyright (C) 2004-2009
9 "Project-Id-Version: cpufrequtils 0.3\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2011-03-08 17:03+0100\n"
12 "PO-Revision-Date: 2009-08-15 12:00+0900\n"
13 "Last-Translator: Mattia Dongili <malattia@gmail.com>\n"
14 "Language-Team: NONE\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
[all …]
H A Dfr.po2 # Copyright (C) 2004 THE PACKAGE'S COPYRIGHT HOLDER
9 "Project-Id-Version: cpufrequtils 0.1-pre2\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2011-03-08 17:03+0100\n"
12 "PO-Revision-Date: 2004-11-17 15:53+1000\n"
13 "Last-Translator: Bruno Ducrot <ducrot@poupinou.org>\n"
14 "Language-Team: NONE\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=ISO-8859-1\n"
18 "Content-Transfer-Encoding: 8bit\n"
[all …]
H A Dde.po3 # Copyright (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.net>
8 "Project-Id-Version: cpufrequtils 006\n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2011-03-08 17:03+0100\n"
11 "PO-Revision-Date: 2019-06-02 15:23+0200\n"
12 "Last-Translator: Benjamin Weis <benjamin.weis@gmx.com>\n"
13 "Language-Team: NONE\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
[all …]
H A Dka.po3 # Copyright (C) 2004-2022 Dominik Brodowski <linux@dominikbrodowski.net>
9 "Project-Id-Version: cpufrequtils 006\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2011-03-08 17:03+0100\n"
12 "PO-Revision-Date: 2022-09-18 22:12+0200\n"
13 "Last-Translator: Ekaterine Papava <katopapava@gmail.com>\n"
14 "Language-Team: NONE\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
[all …]
/linux/drivers/most/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0
3 * core.c - Implementation of core module of MOST Linux driver stack
5 * Copyright (C) 2013-2020 Microchip Technology Germany II GmbH & Co. KG
21 #include <linux/dma-mapping.h>
86 * list_pop_mbo - retrieves the first MBO of the list and removes it
92 list_del(&_mbo->list); \
97 * most_free_mbo_coherent - free an MBO and its coherent buffer
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()
[all …]
H A Dmost_cdev.c1 // SPDX-License-Identifier: GPL-2.0
3 * 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
[all …]
/linux/arch/mips/kernel/
H A Dcpu-probe.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * 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.
20 #include <asm/cpu-features.h>
21 #include <asm/cpu-type.h>
28 #include <asm/pgtable-bits.h>
33 #include "fpu-probe.h"
35 #include <asm/mach-loongson64/cpucfg-emul.h>
[all …]
/linux/fs/jffs2/
H A Dwbuf.c2 * JFFS2 -- Journalling Flash File System, Version 2.
4 * Copyright © 2001-2007 Red Hat, Inc.
35 #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()
56 /* If ino == 0, _any_ non-GC writes mean 'yes' */ in jffs2_wbuf_pending_for_ino()
62 if (this->ino == ino) in jffs2_wbuf_pending_for_ino()
64 this = this->next; 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
[all …]
H A Dnodemgmt.c2 * JFFS2 -- Journalling Flash File System, Version 2.
4 * Copyright © 2001-2007 Red Hat, Inc.
25 static int jffs2_rp_can_write(struct jffs2_sb_info *c) in jffs2_rp_can_write() argument
28 struct jffs2_mount_opts *opts = &c->mount_opts; in jffs2_rp_can_write()
30 avail = c->dirty_size + c->free_size + c->unchecked_size + in jffs2_rp_can_write()
31 c->erasing_size - c->resv_blocks_write * c->sector_size in jffs2_rp_can_write()
32 - c->nospc_dirty_size; in jffs2_rp_can_write()
34 if (avail < 2 * opts->rp_size) in jffs2_rp_can_write()
38 opts->rp_size, c->dirty_size, c->free_size, in jffs2_rp_can_write()
39 c->erasing_size, c->unchecked_size, in jffs2_rp_can_write()
[all …]
H A Derase.c2 * JFFS2 -- Journalling Flash File System, Version 2.
4 * Copyright © 2001-2007 Red Hat, Inc.
5 * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
24 static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_…
25 static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
26 static void jffs2_mark_erased_block(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
28 static void jffs2_erase_block(struct jffs2_sb_info *c, in jffs2_erase_block() argument
34 ret = jffs2_flash_erase(c, jeb); in jffs2_erase_block()
36 jffs2_erase_succeeded(c, jeb); in jffs2_erase_block()
39 bad_offset = jeb->offset; in jffs2_erase_block()
[all …]
/linux/Documentation/userspace-api/media/
H A Dconf_nitpick.py1 # -*- coding: utf-8; mode: python -*-
3 # SPDX-License-Identifier: GPL-2.0
10 # within nit-picking build, do not refer to any intersphinx object
23 ("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"),
[all …]

12345678910>>...47