/linux/fs/bcachefs/ |
H A D | journal_io.c | 23 void bch2_journal_pos_from_member_info_set(struct bch_fs *c) in bch2_journal_pos_from_member_info_set() 35 void bch2_journal_pos_from_member_info_resume(struct bch_fs *c) in bch2_journal_pos_from_member_info_resume() 51 void bch2_journal_ptrs_to_text(struct printbuf *out, struct bch_fs *c, in bch2_journal_ptrs_to_text() 62 static void bch2_journal_replay_to_text(struct printbuf *out, struct bch_fs *c, in bch2_journal_replay_to_text() 87 static bool jset_csum_good(struct bch_fs *c, struct jset *j, struct bch_csum *csum) in jset_csum_good() 98 static inline u32 journal_entry_radix_idx(struct bch_fs *c, u64 seq) in journal_entry_radix_idx() 103 static void __journal_replay_free(struct bch_fs *c, in __journal_replay_free() 115 static void journal_replay_free(struct bch_fs *c, struct journal_replay *i, bool blacklisted) in journal_replay_free() 140 static int journal_entry_add(struct bch_fs *c, struct bch_dev *ca, in journal_entry_add() 271 u32 version, in journal_entry_err_msg() [all …]
|
H A D | super-io.h | 15 static inline bool bch2_version_compatible(u16 version) in bch2_version_compatible() 26 static inline bool bch2_request_incompat_feature(struct bch_fs *c, in bch2_request_incompat_feature() 27 enum bcachefs_metadata_version version) in bch2_request_incompat_feature() 71 static inline __le64 bch2_sb_magic(struct bch_fs *c) in bch2_sb_magic() 79 static inline __u64 jset_magic(struct bch_fs *c) in jset_magic() 84 static inline __u64 bset_magic(struct bch_fs *c) in bset_magic() 100 static inline void bch2_check_set_feature(struct bch_fs *c, unsigned feat) in bch2_check_set_feature()
|
H A D | btree_io.h | 18 static inline void set_btree_node_dirty_acct(struct bch_fs *c, struct btree *b) in set_btree_node_dirty_acct() 24 static inline void clear_btree_node_dirty_acct(struct bch_fs *c, struct btree *b) in clear_btree_node_dirty_acct() 38 struct bch_fs *c; member 82 static inline bool bch2_maybe_compact_whiteouts(struct bch_fs *c, struct btree *b) in bch2_maybe_compact_whiteouts() 101 static inline int bset_encrypt(struct bch_fs *c, struct bset *i, unsigned offset) in bset_encrypt() 160 unsigned version, unsigned big_endian, in compat_bformat() 183 unsigned version, unsigned big_endian, in compat_bpos() 195 unsigned version, unsigned big_endian, in compat_btree_node()
|
H A D | super-io.c | 32 u16 version; member 72 bool bch2_set_version_incompat(struct bch_fs *c, enum bcachefs_metadata_version version) in bch2_set_version_incompat() 242 struct bch_fs *c = container_of(sb, struct bch_fs, disk_sb); in bch2_sb_field_resize_id() local 333 u16 version = le16_to_cpu(sb->version); in bch2_sb_compatible() local 556 static void bch2_sb_update(struct bch_fs *c) in bch2_sb_update() 657 int bch2_sb_to_fs(struct bch_fs *c, struct bch_sb *src) in bch2_sb_to_fs() 674 int bch2_sb_from_fs(struct bch_fs *c, struct bch_dev *ca) in bch2_sb_from_fs() 936 static void read_back_super(struct bch_fs *c, struct bch_dev *ca) in read_back_super() 955 static void write_one_super(struct bch_fs *c, struct bch_dev *ca, unsigned idx) in write_one_super() 981 int bch2_write_super(struct bch_fs *c) in bch2_write_super() [all …]
|
H A D | checksum.h | 93 static inline int bch2_encrypt_bio(struct bch_fs *c, unsigned type, in bch2_encrypt_bio() 129 static inline enum bch_csum_type bch2_data_checksum_type(struct bch_fs *c, in bch2_data_checksum_type() 143 static inline enum bch_csum_type bch2_meta_checksum_type(struct bch_fs *c) in bch2_meta_checksum_type() 151 static inline bool bch2_checksum_type_valid(const struct bch_fs *c, in bch2_checksum_type_valid() 190 static inline struct nonce extent_nonce(struct bversion version, in extent_nonce() 225 static inline struct nonce bch2_sb_key_nonce(struct bch_fs *c) in bch2_sb_key_nonce()
|
H A D | sb-downgrade.c | 145 u16 version; member 165 static int have_stripes(struct bch_fs *c) in have_stripes() 173 int bch2_sb_set_upgrade_extra(struct bch_fs *c) in bch2_sb_set_upgrade_extra() 199 void bch2_sb_set_upgrade(struct bch_fs *c, in bch2_sb_set_upgrade() 240 static int downgrade_table_extra(struct bch_fs *c, darray_char *table) in downgrade_table_extra() 353 int bch2_sb_downgrade_update(struct bch_fs *c) in bch2_sb_downgrade_update() 414 void bch2_sb_set_downgrade(struct bch_fs *c, unsigned new_minor, unsigned old_minor) in bch2_sb_set_downgrade()
|
H A D | io_write.c | 97 void bch2_bio_free_pages_pool(struct bch_fs *c, struct bio *bio) in bch2_bio_free_pages_pool() 108 static struct page *__bio_alloc_page_pool(struct bch_fs *c, bool *using_mempool) in __bio_alloc_page_pool() 128 void bch2_bio_alloc_pages_pool(struct bch_fs *c, struct bio *bio, in bch2_bio_alloc_pages_pool() 154 struct bch_fs *c = trans->c; in bch2_sum_sector_overwrites() local 340 struct bch_fs *c = op->c; in bch2_write_index_default() local 424 void bch2_submit_wbio_replicas(struct bch_write_bio *wbio, struct bch_fs *c, in bch2_submit_wbio_replicas() 489 struct bch_fs *c = op->c; in bch2_write_done() local 537 struct bch_fs *c = op->c; in __bch2_write_index() local 674 struct bch_fs *c = wbio->c; in bch2_write_endio() local 714 struct bversion version, in init_append_extent() [all …]
|
H A D | bkey_methods.c | 30 static int deleted_key_validate(struct bch_fs *c, struct bkey_s_c k, in deleted_key_validate() 44 static int empty_val_key_validate(struct bch_fs *c, struct bkey_s_c k, in empty_val_key_validate() 61 static int key_type_cookie_validate(struct bch_fs *c, struct bkey_s_c k, in key_type_cookie_validate() 67 static void key_type_cookie_to_text(struct printbuf *out, struct bch_fs *c, in key_type_cookie_to_text() 85 static int key_type_inline_data_validate(struct bch_fs *c, struct bkey_s_c k, in key_type_inline_data_validate() 91 static void key_type_inline_data_to_text(struct printbuf *out, struct bch_fs *c, in key_type_inline_data_to_text() 106 static bool key_type_set_merge(struct bch_fs *c, struct bkey_s l, struct bkey_s_c r) in key_type_set_merge() 126 int bch2_bkey_val_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_bkey_val_validate() 163 int __bch2_bkey_validate(struct bch_fs *c, struct bkey_s_c k, in __bch2_bkey_validate() 231 int bch2_bkey_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_bkey_validate() [all …]
|
H A D | btree_io.c | 105 static void btree_bounce_free(struct bch_fs *c, size_t size, in btree_bounce_free() 114 static void *btree_bounce_alloc(struct bch_fs *c, size_t size, in btree_bounce_alloc() 135 unsigned n = nr, a = nr / 2, b, c, d; in sort_bkey_ptrs() local 169 static void bch2_sort_whiteouts(struct bch_fs *c, struct btree *b) in bch2_sort_whiteouts() 287 bool bch2_compact_whiteouts(struct bch_fs *c, struct btree *b, in bch2_compact_whiteouts() 293 static void btree_node_sort(struct bch_fs *c, struct btree *b, in btree_node_sort() 384 void bch2_btree_sort_into(struct bch_fs *c, in bch2_btree_sort_into() 420 static bool btree_node_compact(struct bch_fs *c, struct btree *b) in btree_node_compact() 462 static inline bool should_compact_all(struct bch_fs *c, struct btree *b) in should_compact_all() 481 struct bch_fs *c = trans->c; in bch2_btree_init_next() local [all …]
|
H A D | checksum.c | 192 static int gen_poly_key(struct bch_fs *c, struct shash_desc *desc, in gen_poly_key() 211 struct bch_csum bch2_checksum(struct bch_fs *c, unsigned type, in bch2_checksum() 250 int bch2_encrypt(struct bch_fs *c, unsigned type, in bch2_encrypt() 263 static struct bch_csum __bch2_checksum_bio(struct bch_fs *c, unsigned type, in __bch2_checksum_bio() 328 struct bch_csum bch2_checksum_bio(struct bch_fs *c, unsigned type, in bch2_checksum_bio() 336 int __bch2_encrypt_bio(struct bch_fs *c, unsigned type, in __bch2_encrypt_bio() 405 int bch2_rechecksum_bio(struct bch_fs *c, struct bio *bio, in bch2_rechecksum_bio() 406 struct bversion version, in bch2_rechecksum_bio() 634 int bch2_decrypt_sb_key(struct bch_fs *c, in bch2_decrypt_sb_key() 671 static int bch2_alloc_ciphers(struct bch_fs *c) in bch2_alloc_ciphers() [all …]
|
/linux/fs/jffs2/ |
H A D | summary.h | 49 jint32_t version; /* inode version */ member 60 jint32_t version; /* dirent version */ member 71 jint32_t version; /* version number */ member 104 jint32_t version; /* inode version */ member 116 jint32_t version; /* dirent version */ member 128 jint32_t version; member 201 #define jffs2_sum_add_kvec(a,b,c,d) (0) argument 205 #define jffs2_sum_add_inode_mem(a,b,c) do { } while (0) argument 206 #define jffs2_sum_add_dirent_mem(a,b,c) do { } while (0) argument 207 #define jffs2_sum_add_xattr_mem(a,b,c) do { } while (0) argument [all …]
|
H A D | xattr.h | 34 uint32_t version; member 105 #define jffs2_init_xattr_subsystem(c) argument 106 #define jffs2_build_xattr_subsystem(c) (0) argument 107 #define jffs2_clear_xattr_subsystem(c) argument 109 #define jffs2_xattr_do_crccheck_inode(c, ic) argument 110 #define jffs2_xattr_delete_inode(c, ic) argument 111 #define jffs2_xattr_free_inode(c, ic) argument 112 #define jffs2_verify_xattr(c) (1) argument
|
H A D | scan.c | 51 static inline int min_free(struct jffs2_sb_info *c) in min_free() 69 static int file_dirty(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in file_dirty() 91 int jffs2_scan_medium(struct jffs2_sb_info *c) in jffs2_scan_medium() 290 static int jffs2_fill_scan_buf(struct jffs2_sb_info *c, void *buf, in jffs2_fill_scan_buf() 310 int jffs2_scan_classify_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_scan_classify_jeb() 330 static int jffs2_scan_xattr_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_xattr_node() 335 uint32_t xid, version, totlen, crc; in jffs2_scan_xattr_node() local 386 static int jffs2_scan_xref_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_xref_node() 445 static int jffs2_scan_eraseblock (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_eraseblock() 965 struct jffs2_inode_cache *jffs2_scan_make_ino_cache(struct jffs2_sb_info *c, uint32_t ino) in jffs2_scan_make_ino_cache() [all …]
|
H A D | xattr.c | 71 static int is_xattr_datum_unchecked(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in is_xattr_datum_unchecked() 87 static void unload_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in unload_xattr_datum() 102 static void reclaim_xattr_datum(struct jffs2_sb_info *c) in reclaim_xattr_datum() 132 static int do_verify_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in do_verify_xattr_datum() 204 static int do_load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in do_load_xattr_datum() 263 static int load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in load_xattr_datum() 284 static int save_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in save_xattr_datum() 336 static struct jffs2_xattr_datum *create_xattr_datum(struct jffs2_sb_info *c, in create_xattr_datum() 404 static void unrefer_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in unrefer_xattr_datum() 444 static int verify_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref) in verify_xattr_ref() [all …]
|
H A D | nodelist.h | 206 #define write_ofs(c) ((c)->nextblock->offset + (c)->sector_size - (c)->nextblock->free_size) argument 232 uint32_t version; member 258 uint32_t version; member 296 static inline int jffs2_blocks_use_vmalloc(struct jffs2_sb_info *c) in jffs2_blocks_use_vmalloc() 301 #define ref_totlen(a, b, c) __jffs2_ref_totlen((a), (b), (c)) argument 309 #define VERYDIRTY(c, size) ((size) >= ((c)->sector_size / 2)) argument
|
/linux/drivers/platform/surface/aggregator/ |
H A D | core.c | 130 int ssam_client_link(struct ssam_controller *c, struct device *client) in ssam_client_link() 208 struct ssam_controller *c; in ssam_client_bind() local 260 u32 version, a, b, c; in ssam_log_firmware_version() local 279 u32 version, a, b, c; in firmware_version_show() local 385 struct ssam_controller *c = dev_get_drvdata(dev); in ssam_serial_hub_shutdown() local 415 struct ssam_controller *c = dev_get_drvdata(dev); in ssam_serial_hub_pm_prepare() local 435 struct ssam_controller *c = dev_get_drvdata(dev); in ssam_serial_hub_pm_complete() local 453 struct ssam_controller *c = dev_get_drvdata(dev); in ssam_serial_hub_pm_suspend() local 483 struct ssam_controller *c = dev_get_drvdata(dev); in ssam_serial_hub_pm_resume() local 509 struct ssam_controller *c = dev_get_drvdata(dev); in ssam_serial_hub_pm_freeze() local [all …]
|
/linux/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | object.h | 47 #define nvif_rd(a,f,b,c) ({ \ argument 51 #define nvif_wr(a,f,b,c,d) ({ \ argument 57 #define nvif_wr08(a,b,c) nvif_wr((a), iowrite8, 1, (b), (u8)(c)) argument 58 #define nvif_wr16(a,b,c) nvif_wr((a), iowrite16_native, 2, (b), (u16)(c)) argument 59 #define nvif_wr32(a,b,c) nvif_wr((a), iowrite32_native, 4, (b), (u32)(c)) argument 60 #define nvif_mask(a,b,c,d) ({ \ argument 67 #define nvif_mthd(a,b,c,d) nvif_object_mthd((a), (b), (c), (d)) argument 71 int version; member
|
/linux/arch/x86/events/zhaoxin/ |
H A D | core.c | 425 struct event_constraint *c; in zhaoxin_get_event_constraints() local 510 struct event_constraint *c; in zhaoxin_pmu_init() local 512 int version; in zhaoxin_pmu_init() local
|
/linux/drivers/dma/ |
H A D | dma-axi-dmac.c | 180 static struct axi_dmac_chan *to_axi_dmac_chan(struct dma_chan *c) in to_axi_dmac_chan() 486 static int axi_dmac_terminate_all(struct dma_chan *c) in axi_dmac_terminate_all() 505 static void axi_dmac_synchronize(struct dma_chan *c) in axi_dmac_synchronize() 512 static void axi_dmac_issue_pending(struct dma_chan *c) in axi_dmac_issue_pending() 624 axi_dmac_prep_peripheral_dma_vec(struct dma_chan *c, const struct dma_vec *vecs, in axi_dmac_prep_peripheral_dma_vec() 663 struct dma_chan *c, struct scatterlist *sgl, in axi_dmac_prep_slave_sg() 704 struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len, in axi_dmac_prep_dma_cyclic() 743 struct dma_chan *c, struct dma_interleaved_template *xt, in axi_dmac_prep_interleaved() 813 static void axi_dmac_free_chan_resources(struct dma_chan *c) in axi_dmac_free_chan_resources() 993 static int axi_dmac_detect_caps(struct axi_dmac *dmac, unsigned int version) in axi_dmac_detect_caps() [all …]
|
/linux/tools/thermal/tmon/ |
H A D | tmon.c | 65 void version(void) in version() function 220 int id2 = 0, c; in main() local
|
/linux/include/linux/ |
H A D | compiler_types.h | 44 # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0) argument 72 # define __cond_lock(x,c) (c) argument 554 #define __diag_GCC(version, severity, string) argument 560 #define __diag_ignore(compiler, version, option, comment) \ argument 562 #define __diag_warn(compiler, version, option, comment) \ argument 564 #define __diag_error(compiler, version, option, comment) \ argument
|
/linux/sound/soc/codecs/ |
H A D | tpa6130a2.c | 96 struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); in tpa6130a2_power_event() local 227 unsigned int version; tpa6130a2_probe() local [all...] |
/linux/drivers/media/tuners/ |
H A D | tda18212.c | 22 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in tda18212_set_params() local 183 char *version; in tda18212_probe() local
|
/linux/drivers/mtd/parsers/ |
H A D | qcomsmempart.c | 52 __le32 version; member 66 char *name, *c; in parse_qcomsmem_part() local
|
/linux/net/9p/ |
H A D | client.c | 109 int version = -EINVAL; in get_protocol_version() local 226 static int p9_fcall_init(struct p9_client *c, struct p9_fcall *fc, in p9_fcall_init() 278 p9_tag_alloc(struct p9_client *c, int8_t type, uint t_size, uint r_size, in p9_tag_alloc() 358 struct p9_req_t *p9_tag_lookup(struct p9_client *c, u16 tag) in p9_tag_lookup() 391 static void p9_tag_remove(struct p9_client *c, struct p9_req_t *r) in p9_tag_remove() 402 int p9_req_put(struct p9_client *c, struct p9_req_t *r) in p9_req_put() 423 static void p9_tag_cleanup(struct p9_client *c) in p9_tag_cleanup() 445 void p9_client_cb(struct p9_client *c, struct p9_req_t *req, int status) in p9_client_cb() 522 static int p9_check_errors(struct p9_client *c, struct p9_req_t *req) in p9_check_errors() 597 static int p9_client_flush(struct p9_client *c, struct p9_req_t *oldreq) in p9_client_flush() [all …]
|