| /openbmc/qemu/subprojects/packagefiles/berkeley-softfloat-3/ |
| H A D | meson.build | 1 project('berkeley-softfloat-3', 'c', 21 ], native: false, language: 'c') 27 sfdir / 's_eq128.c', 28 sfdir / 's_le128.c', 29 sfdir / 's_lt128.c', 30 sfdir / 's_shortShiftLeft128.c', 31 sfdir / 's_shortShiftRight128.c', 32 sfdir / 's_shortShiftRightJam64.c', 33 sfdir / 's_shortShiftRightJam64Extra.c', 34 sfdir / 's_shortShiftRightJam128.c', [all …]
|
| /openbmc/u-boot/fs/ubifs/ |
| H A D | master.c | 29 static int scan_for_master(struct ubifs_info *c) in scan_for_master() argument 37 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master() 46 memcpy(c->mst_node, snod->node, snod->len); in scan_for_master() 53 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in scan_for_master() 65 if (memcmp((void *)c->mst_node + UBIFS_CH_SZ, in scan_for_master() 69 c->mst_offs = offs; in scan_for_master() 78 ubifs_err(c, "unexpected node type %d master LEB %d:%d", in scan_for_master() 91 static int validate_master(const struct ubifs_info *c) in validate_master() argument 96 if (c->max_sqnum >= SQNUM_WATERMARK) { in validate_master() 101 if (c->cmt_no >= c->max_sqnum) { in validate_master() [all …]
|
| H A D | sb.c | 70 static int create_default_filesystem(struct ubifs_info *c) in create_default_filesystem() argument 86 c->key_len = UBIFS_SK_LEN; in create_default_filesystem() 92 if (c->leb_cnt < 0x7FFFFFFF / DEFAULT_JNL_PERCENT) in create_default_filesystem() 94 jnl_lebs = c->leb_cnt * DEFAULT_JNL_PERCENT / 100; in create_default_filesystem() 96 jnl_lebs = (c->leb_cnt / 100) * DEFAULT_JNL_PERCENT; in create_default_filesystem() 100 if (jnl_lebs * c->leb_size > DEFAULT_MAX_JNL) in create_default_filesystem() 101 jnl_lebs = DEFAULT_MAX_JNL / c->leb_size; in create_default_filesystem() 109 tmp = 2 * (c->ref_node_alsz * jnl_lebs) + c->leb_size - 1; in create_default_filesystem() 110 log_lebs = tmp / c->leb_size; in create_default_filesystem() 113 if (c->leb_cnt - min_leb_cnt > 8) { in create_default_filesystem() [all …]
|
| H A D | lpt_commit.c | 28 static int dbg_populate_lsave(struct ubifs_info *c); 95 static int get_cnodes_to_commit(struct ubifs_info *c) in get_cnodes_to_commit() argument 100 if (!c->nroot) in get_cnodes_to_commit() 103 if (!test_bit(DIRTY_CNODE, &c->nroot->flags)) in get_cnodes_to_commit() 106 c->lpt_cnext = first_dirty_cnode(c->nroot); in get_cnodes_to_commit() 107 cnode = c->lpt_cnext; in get_cnodes_to_commit() 116 cnode->cnext = c->lpt_cnext; in get_cnodes_to_commit() 125 ubifs_assert(cnt == c->dirty_nn_cnt + c->dirty_pn_cnt); in get_cnodes_to_commit() 136 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in upd_ltab() argument 139 lnum, c->ltab[lnum - c->lpt_first].free, in upd_ltab() [all …]
|
| H A D | super.c | 204 static int validate_inode(struct ubifs_info *c, const struct inode *inode) in validate_inode() argument 209 if (inode->i_size > c->max_inode_sz) { in validate_inode() 210 ubifs_err(c, "inode is too large (%lld)", in validate_inode() 216 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode() 230 ubifs_warn(c, "inode %lu uses '%s' compression, but it was not compiled in", in validate_inode() 234 err = dbg_check_dir(c, inode); in validate_inode() 243 struct ubifs_info *c = sb->s_fs_info; in ubifs_iget() local 288 ino_key_init(c, &key, inode->i_ino); in ubifs_iget() 290 err = ubifs_tnc_lookup(c, &key, ino); in ubifs_iget() 318 err = validate_inode(c, inode); in ubifs_iget() [all …]
|
| H A D | budget.c | 56 static void shrink_liability(struct ubifs_info *c, int nr_to_write) in shrink_liability() argument 58 down_read(&c->vfs_sb->s_umount); in shrink_liability() 59 writeback_inodes_sb(c->vfs_sb, WB_REASON_FS_FREE_SPACE); in shrink_liability() 60 up_read(&c->vfs_sb->s_umount); in shrink_liability() 71 static int run_gc(struct ubifs_info *c) in run_gc() argument 76 down_read(&c->commit_sem); in run_gc() 77 lnum = ubifs_garbage_collect(c, 1); in run_gc() 78 up_read(&c->commit_sem); in run_gc() 84 err = ubifs_return_leb(c, lnum); in run_gc() 97 static long long get_liability(struct ubifs_info *c) in get_liability() argument [all …]
|
| H A D | log.c | 23 static int dbg_check_bud_bytes(struct ubifs_info *c); 33 struct ubifs_bud *ubifs_search_bud(struct ubifs_info *c, int lnum) in ubifs_search_bud() argument 38 spin_lock(&c->buds_lock); in ubifs_search_bud() 39 p = c->buds.rb_node; in ubifs_search_bud() 47 spin_unlock(&c->buds_lock); in ubifs_search_bud() 51 spin_unlock(&c->buds_lock); in ubifs_search_bud() 62 struct ubifs_wbuf *ubifs_get_wbuf(struct ubifs_info *c, int lnum) in ubifs_get_wbuf() argument 68 if (!c->jheads) in ubifs_get_wbuf() 71 spin_lock(&c->buds_lock); in ubifs_get_wbuf() 72 p = c->buds.rb_node; in ubifs_get_wbuf() [all …]
|
| H A D | lpt.c | 53 static void do_calc_lpt_geom(struct ubifs_info *c) in do_calc_lpt_geom() argument 58 n = c->main_lebs + c->max_leb_cnt - c->leb_cnt; in do_calc_lpt_geom() 61 c->lpt_hght = 1; in do_calc_lpt_geom() 64 c->lpt_hght += 1; in do_calc_lpt_geom() 68 c->pnode_cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); in do_calc_lpt_geom() 70 n = DIV_ROUND_UP(c->pnode_cnt, UBIFS_LPT_FANOUT); in do_calc_lpt_geom() 71 c->nnode_cnt = n; in do_calc_lpt_geom() 72 for (i = 1; i < c->lpt_hght; i++) { in do_calc_lpt_geom() 74 c->nnode_cnt += n; in do_calc_lpt_geom() 77 c->space_bits = fls(c->leb_size) - 3; in do_calc_lpt_geom() [all …]
|
| H A D | orphan.c | 44 static int dbg_check_orphans(struct ubifs_info *c); 54 int ubifs_add_orphan(struct ubifs_info *c, ino_t inum) in ubifs_add_orphan() argument 65 spin_lock(&c->orphan_lock); in ubifs_add_orphan() 66 if (c->tot_orphans >= c->max_orphans) { in ubifs_add_orphan() 67 spin_unlock(&c->orphan_lock); in ubifs_add_orphan() 71 p = &c->orph_tree.rb_node; in ubifs_add_orphan() 80 ubifs_err(c, "orphaned twice"); in ubifs_add_orphan() 81 spin_unlock(&c->orphan_lock); in ubifs_add_orphan() 86 c->tot_orphans += 1; in ubifs_add_orphan() 87 c->new_orphans += 1; in ubifs_add_orphan() [all …]
|
| /openbmc/qemu/subprojects/packagefiles/berkeley-testfloat-3/ |
| H A D | meson.build | 1 project('berkeley-testfloat-3', 'c', 25 ] + meson.get_compiler('c').get_supported_arguments('-Wno-ignored-pragmas'), 26 native: false, language: 'c') 29 tfdir / 'genCases_ui32.c', 30 tfdir / 'genCases_ui64.c', 31 tfdir / 'genCases_i32.c', 32 tfdir / 'genCases_i64.c', 33 tfdir / 'genCases_f16.c', 34 tfdir / 'genCases_f32.c', 35 tfdir / 'genCases_f64.c', [all …]
|
| /openbmc/qemu/tests/data/qobject/ |
| H A D | qdict.txt | 4 11d.c: 17874 14 21142.c: 8591 15 21285.c: 11721 16 2860_main_dev.c: 33854 17 2860_rtmp_init.c: 26170 18 2870_main_dev.c: 39352 19 2870_rtmp_init.c: 51247 26 3780i.c: 21485 31 3c359.c: 60161 34 3c501.c: 23869 [all …]
|
| /openbmc/qemu/tests/qtest/ |
| H A D | pflash-cfi02-test.c | 67 static FlashConfig expand_config_defaults(const FlashConfig *c) in expand_config_defaults() argument 69 FlashConfig ret = *c; in expand_config_defaults() 88 static inline uint64_t device_mask(const FlashConfig *c) in device_mask() argument 96 static inline uint64_t bank_mask(const FlashConfig *c) in bank_mask() argument 98 if (c->bank_width == 8) { in bank_mask() 101 return (1ULL << (c->bank_width * 8)) - 1ULL; in bank_mask() 104 static inline void flash_write(const FlashConfig *c, uint64_t byte_addr, in flash_write() argument 108 assert((data & ~bank_mask(c)) == 0); in flash_write() 110 switch (c->bank_width) { in flash_write() 112 qtest_writeb(c->qtest, addr, data); in flash_write() [all …]
|
| /openbmc/phosphor-webui/app/assets/images/ |
| H A D | DMTF_Redfish_logo_2017.svg | 1 …c-2.5-1.6-5.9-1.6-8.4 0 0 0-4 2.5-10.8 6.7-1.2.7-2.5 1.5-3.8 2.4-2.7 1.7-5.7 3.6-9 5.6-1.2.7-2.4 1…
|
| /openbmc/u-boot/include/linux/ |
| H A D | ctype.h | 22 #define isalnum(c) ((__ismask(c)&(_U|_L|_D)) != 0) argument 23 #define isalpha(c) ((__ismask(c)&(_U|_L)) != 0) argument 24 #define iscntrl(c) ((__ismask(c)&(_C)) != 0) argument 25 #define isdigit(c) ((__ismask(c)&(_D)) != 0) argument 26 #define isgraph(c) ((__ismask(c)&(_P|_U|_L|_D)) != 0) argument 27 #define islower(c) ((__ismask(c)&(_L)) != 0) argument 28 #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0) argument 29 #define ispunct(c) ((__ismask(c)&(_P)) != 0) argument 30 #define isspace(c) ((__ismask(c)&(_S)) != 0) argument 31 #define isupper(c) ((__ismask(c)&(_U)) != 0) argument [all …]
|
| /openbmc/qemu/block/ |
| H A D | qcow2-cache.c | 49 static inline void *qcow2_cache_get_table_addr(Qcow2Cache *c, int table) in qcow2_cache_get_table_addr() argument 51 return (uint8_t *) c->table_array + (size_t) table * c->table_size; in qcow2_cache_get_table_addr() 54 static inline int qcow2_cache_get_table_idx(Qcow2Cache *c, void *table) in qcow2_cache_get_table_idx() argument 56 ptrdiff_t table_offset = (uint8_t *) table - (uint8_t *) c->table_array; in qcow2_cache_get_table_idx() 57 int idx = table_offset / c->table_size; in qcow2_cache_get_table_idx() 58 assert(idx >= 0 && idx < c->size && table_offset % c->table_size == 0); in qcow2_cache_get_table_idx() 62 static inline const char *qcow2_cache_get_name(BDRVQcow2State *s, Qcow2Cache *c) in qcow2_cache_get_name() argument 64 if (c == s->refcount_block_cache) { in qcow2_cache_get_name() 66 } else if (c == s->l2_table_cache) { in qcow2_cache_get_name() 74 static void qcow2_cache_table_release(Qcow2Cache *c, int i, int num_tables) in qcow2_cache_table_release() argument [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/ |
| H A D | adbd.mk | 6 adbd_SRC_FILES += adb.c 7 adbd_SRC_FILES += fdevent.c 8 adbd_SRC_FILES += transport.c 9 adbd_SRC_FILES += transport_local.c 10 adbd_SRC_FILES += transport_usb.c 11 adbd_SRC_FILES += adb_auth_client.c 12 adbd_SRC_FILES += sockets.c 13 adbd_SRC_FILES += services.c 14 adbd_SRC_FILES += file_sync_service.c 15 adbd_SRC_FILES += jdwp_service.c [all …]
|
| /openbmc/qemu/tests/qtest/libqos/ |
| H A D | meson.build | 2 '../libqtest.c', 3 '../libqmp.c', 5 'qgraph.c', 6 'qos_external.c', 7 'pci.c', 8 'fw_cfg.c', 9 'libqos-malloc.c', 10 'libqos.c', 11 'sdhci-cmd.c', 14 'malloc-spapr.c', [all …]
|
| /openbmc/ipmitool/lib/ |
| H A D | Makefile.am | 35 libipmitool_la_SOURCES = helper.c ipmi_sdr.c ipmi_sel.c ipmi_sol.c ipmi_pef.c \ 36 ipmi_lanp.c ipmi_fru.c ipmi_chassis.c ipmi_mc.c log.c \ 37 dimm_spd.c ipmi_sensor.c ipmi_channel.c ipmi_event.c \ 38 ipmi_session.c ipmi_strings.c ipmi_user.c ipmi_raw.c \ 39 ipmi_oem.c ipmi_isol.c ipmi_sunoem.c ipmi_fwum.c ipmi_picmg.c \ 40 ipmi_main.c ipmi_tsol.c ipmi_firewall.c ipmi_kontronoem.c \ 41 ipmi_hpmfwupg.c ipmi_sdradd.c ipmi_ekanalyzer.c ipmi_gendev.c \ 42 ipmi_ime.c ipmi_delloem.c ipmi_dcmi.c hpm2.c ipmi_vita.c \ 43 ../src/plugins/lan/md5.c ../src/plugins/lan/md5.h
|
| /openbmc/qemu/include/qemu/ |
| H A D | ctype.h | 11 #define qemu_isalnum(c) isalnum((unsigned char)(c)) argument 12 #define qemu_isalpha(c) isalpha((unsigned char)(c)) argument 13 #define qemu_iscntrl(c) iscntrl((unsigned char)(c)) argument 14 #define qemu_isdigit(c) isdigit((unsigned char)(c)) argument 15 #define qemu_isgraph(c) isgraph((unsigned char)(c)) argument 16 #define qemu_islower(c) islower((unsigned char)(c)) argument 17 #define qemu_isprint(c) isprint((unsigned char)(c)) argument 18 #define qemu_ispunct(c) ispunct((unsigned char)(c)) argument 19 #define qemu_isspace(c) isspace((unsigned char)(c)) argument 20 #define qemu_isupper(c) isupper((unsigned char)(c)) argument [all …]
|
| /openbmc/qemu/hw/ppc/ |
| H A D | meson.build | 3 'ppc.c', 4 'ppc_booke.c', 6 ppc_ss.add(when: 'CONFIG_FDT_PPC', if_true: files('fdt.c')) 7 ppc_ss.add(when: 'CONFIG_FW_CFG_PPC', if_true: files('fw_cfg.c')) 11 'spapr.c', 12 'spapr_caps.c', 13 'spapr_vio.c', 14 'spapr_events.c', 15 'spapr_hcall.c', 16 'spapr_nested.c', [all …]
|
| /openbmc/qemu/audio/ |
| H A D | jackaudio.c | 81 QJackClient c; member 87 QJackClient c; member 91 static int qjack_client_init(QJackClient *c); 92 static void qjack_client_connect_ports(QJackClient *c); 93 static void qjack_client_fini(QJackClient *c); 148 for (int c = 0; c < buffer->channels; ++c) { in qjack_buffer_write() local 149 buffer->data[c][wptr] = *data++; in qjack_buffer_write() 182 for (int c = 0; c < buffer->channels; ++c) { in qjack_buffer_write_l() local 183 memcpy(buffer->data[c] + wptr, dest[c] , right * sizeof(float)); in qjack_buffer_write_l() 184 memcpy(buffer->data[c] , dest[c] + right, left * sizeof(float)); in qjack_buffer_write_l() [all …]
|
| /openbmc/qemu/util/ |
| H A D | meson.build | 1 util_ss.add(files('osdep.c', 'cutils.c', 'unicode.c', 'qemu-timer-common.c')) 2 util_ss.add(files('thread-context.c'), numa) 4 util_ss.add(files('atomic64.c')) 7 util_ss.add(files('aio-posix.c')) 8 util_ss.add(files('fdmon-poll.c')) 10 util_ss.add(files('fdmon-epoll.c')) 12 util_ss.add(files('compatfd.c')) 13 util_ss.add(files('event_notifier-posix.c')) 15 util_ss.add(files('mmap-alloc.c')) 21 util_ss.add(files('oslib-posix.c'), freebsd_dep) [all …]
|
| /openbmc/qemu/target/hexagon/idef-parser/ |
| H A D | parser-helpers.c | 35 Context *c, in yyerror() argument 38 const char *code_ptr = c->input_buffer; in yyerror() 40 fprintf(stderr, "WARNING (%s): '%s'\n", c->inst.name->str, s); in yyerror() 66 c->inst.error_count++; in yyerror() 74 bool is_inside_ternary(Context *c) in is_inside_ternary() argument 76 return c->ternary->len > 0; in is_inside_ternary() 80 void str_print(Context *c, YYLTYPE *locp, const char *string) in str_print() argument 83 EMIT(c, "%s", string); in str_print() 86 void uint8_print(Context *c, YYLTYPE *locp, uint8_t *num) in uint8_print() argument 89 EMIT(c, "%u", *num); in uint8_print() [all …]
|
| /openbmc/qemu/migration/ |
| H A D | meson.build | 3 'migration-stats.c', 4 'page_cache.c', 5 'xbzrle.c', 6 'vmstate-types.c', 7 'vmstate.c', 8 'qemu-file.c', 9 'yank_functions.c', 13 'block-dirty-bitmap.c', 14 'block-active.c', 15 'channel.c', [all …]
|
| /openbmc/qemu/include/tcg/ |
| H A D | tcg-cond.h | 63 static inline TCGCond tcg_invert_cond(TCGCond c) in tcg_invert_cond() argument 65 return (TCGCond)(c ^ 1); in tcg_invert_cond() 69 static inline TCGCond tcg_swap_cond(TCGCond c) in tcg_swap_cond() argument 71 return (TCGCond)(c ^ ((c & 2) << 1)); in tcg_swap_cond() 75 static inline bool is_signed_cond(TCGCond c) in is_signed_cond() argument 77 return (c & (8 | 2)) == 2; in is_signed_cond() 81 static inline bool is_unsigned_cond(TCGCond c) in is_unsigned_cond() argument 83 return (c & (8 | 2)) == (8 | 2); in is_unsigned_cond() 87 static inline bool is_tst_cond(TCGCond c) in is_tst_cond() argument 89 return (c | 1) == TCG_COND_TSTNE; in is_tst_cond() [all …]
|