/openbmc/qemu/migration/ |
H A D | qemu-file.c | 242 while ((idx = find_next_bit(f->may_free, f->iovcnt, idx + 1)) < f->iovcnt) { in qemu_iovec_release_ram() 316 pending = f->buf_size - f->buf_index; in qemu_fill_buffer() 318 memmove(f->buf, f->buf + f->buf_index, pending); in qemu_fill_buffer() 388 if (f->iovcnt > 0 && buf == f->iov[f->iovcnt - 1].iov_base + in add_to_iovec() 389 f->iov[f->iovcnt - 1].iov_len && in add_to_iovec() 392 f->iov[f->iovcnt - 1].iov_len += size; in add_to_iovec() 400 set_bit(f->iovcnt, f->may_free); in add_to_iovec() 403 f->iov[f->iovcnt++].iov_len = size; in add_to_iovec() 416 if (!add_to_iovec(f, f->buf + f->buf_index, len, false)) { in add_buf_to_iovec() 564 f->buf[f->buf_index] = v; in qemu_put_byte() [all …]
|
/openbmc/linux/sound/core/seq/ |
H A D | seq_fifo.c | 22 f = kzalloc(sizeof(*f), GFP_KERNEL); in snd_seq_fifo_new() 23 if (!f) in snd_seq_fifo_new() 28 kfree(f); in snd_seq_fifo_new() 33 kfree(f); in snd_seq_fifo_new() 44 f->cells = 0; in snd_seq_fifo_new() 46 return f; in snd_seq_fifo_new() 55 f = *fifo; in snd_seq_fifo_delete() 60 if (f->pool) in snd_seq_fifo_delete() 77 kfree(f); in snd_seq_fifo_delete() 230 if (snd_BUG_ON(!f || !f->pool)) in snd_seq_fifo_resize() [all …]
|
/openbmc/qemu/target/hexagon/ |
H A D | hex_common.py | 340 f.write(code_fmt(f"""\ 449 f.write(code_fmt(f"""\ 453 f.write(code_fmt(f"""\ 458 f.write(code_fmt(f"""\ 465 f.write(code_fmt(f"""\ 469 f.write(code_fmt(f"""\ 475 f.write(code_fmt(f"""\ 479 f.write(code_fmt(f"""\ 486 f.write(code_fmt(f"""\ 497 f.write(code_fmt(f"""\ [all …]
|
/openbmc/linux/arch/s390/lib/ |
H A D | test_modules.h | 6 f(x ## 0); \ 7 f(x ## 1); \ 8 f(x ## 2); \ 9 f(x ## 3); \ 10 f(x ## 4); \ 11 f(x ## 5); \ 12 f(x ## 6); \ 13 f(x ## 7); \ 14 f(x ## 8); \ 15 f(x ## 9) [all …]
|
/openbmc/linux/drivers/media/test-drivers/visl/ |
H A D | visl-trace-vp8.h | 13 TP_ARGS(f), 15 TP_fast_assign(__entry->f = *f;), 39 TP_ARGS(f), 41 TP_fast_assign(__entry->f = *f;), 98 __entry->f.lf.level, 112 __entry->f.width, 113 __entry->f.height, 116 __entry->f.version, 120 __entry->f.prob_gf, 142 TP_ARGS(f) [all …]
|
/openbmc/qemu/include/migration/ |
H A D | qemu-file-types.h | 40 int qemu_get_byte(QEMUFile *f); 57 qemu_put_be64(f, *pv); in qemu_put_be64s() 62 qemu_put_be32(f, *pv); in qemu_put_be32s() 67 qemu_put_be16(f, *pv); in qemu_put_be16s() 72 qemu_put_byte(f, *pv); in qemu_put_8s() 77 *pv = qemu_get_be64(f); in qemu_get_be64s() 82 *pv = qemu_get_be32(f); in qemu_get_be32s() 87 *pv = qemu_get_be16(f); in qemu_get_be16s() 92 *pv = qemu_get_byte(f); in qemu_get_8s() 113 return (int)qemu_get_be16(f); in qemu_get_sbe16() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-debug.h | 40 #define CHECK_FOR_NEWLINE(f) BUILD_BUG_ON(f[sizeof(f) - 2] != '\n') argument 181 #define IWL_DEBUG_RX(p, f, a...) IWL_DEBUG(p, IWL_DL_RX, f, ## a) argument 182 #define IWL_DEBUG_TX(p, f, a...) IWL_DEBUG(p, IWL_DL_TX, f, ## a) argument 183 #define IWL_DEBUG_ISR(p, f, a...) IWL_DEBUG(p, IWL_DL_ISR, f, ## a) argument 184 #define IWL_DEBUG_WEP(p, f, a...) IWL_DEBUG(p, IWL_DL_WEP, f, ## a) argument 185 #define IWL_DEBUG_HC(p, f, a...) IWL_DEBUG(p, IWL_DL_HCMD, f, ## a) argument 187 #define IWL_DEBUG_TE(p, f, a...) IWL_DEBUG(p, IWL_DL_TE, f, ## a) argument 190 #define IWL_DEBUG_FW(p, f, a...) IWL_DEBUG(p, IWL_DL_FW, f, ## a) argument 203 #define IWL_DEBUG_HT(p, f, a...) IWL_DEBUG(p, IWL_DL_HT, f, ## a) argument 212 #define IWL_DEBUG_11H(p, f, a...) IWL_DEBUG(p, IWL_DL_11H, f, ## a) argument [all …]
|
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/ |
H A D | conversion.hpp | 98 prohibit(f, str); in log_convert() 114 prohibit(f, str); in log_convert() 129 prohibit(f, bin); in log_convert() 130 prohibit(f, dec); in log_convert() 136 prohibit(f, hex); in log_convert() 149 prohibit(f, bin); in log_convert() 150 prohibit(f, dec); in log_convert() 155 prohibit(f, hex); in log_convert() 157 prohibit(f, str); in log_convert() 169 prohibit(f, bin); in log_convert() [all …]
|
/openbmc/linux/drivers/dma-buf/ |
H A D | st-dma-fence.c | 88 if (!f) in mock_fence() 92 dma_fence_init(&f->base, &mock_ops, &f->lock, 0, 0); in mock_fence() 102 if (!f) in sanitycheck() 119 if (!f) in test_signaling() 167 if (!f) in test_add_callback() 194 if (!f) in test_late_add_callback() 225 if (!f) in test_rm_callback() 257 if (!f) in test_late_rm_callback() 288 if (!f) in test_status() 316 if (!f) in test_error() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-nxp-fspi.c | 433 reg = fspi_readl(f, f->iobase + FSPI_INTR); in nxp_fspi_irq_handler() 536 reg = fspi_readl(f, f->iobase + FSPI_MCR0); in nxp_fspi_invalid() 648 fspi_writel(f, 0, f->iobase + FSPI_DLLACR); in nxp_fspi_dll_calibration() 649 fspi_writel(f, 0, f->iobase + FSPI_DLLBCR); in nxp_fspi_dll_calibration() 722 fspi_writel(f, 0, f->iobase + FSPI_FLSHA1CR0); in nxp_fspi_select_mem() 723 fspi_writel(f, 0, f->iobase + FSPI_FLSHA2CR0); in nxp_fspi_select_mem() 724 fspi_writel(f, 0, f->iobase + FSPI_FLSHB1CR0); in nxp_fspi_select_mem() 770 f->ahb_addr = ioremap(f->memmap_phy + f->memmap_start, in nxp_fspi_read_ahb() 1078 reg = fspi_readl(f, f->iobase + FSPI_MCR2); in nxp_fspi_default_setup() 1229 reg = fspi_readl(f, f->iobase + FSPI_INTR); in nxp_fspi_probe() [all …]
|
/openbmc/linux/scripts/ |
H A D | documentation-file-ref-check | 66 $f = "$f.rst"; 69 $f = "$d$f.rst"; 88 my $f = $1; 95 next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/); 187 my $f=""; 192 if (!$f) { 195 $f=$new_ref if (-f $new_ref); 211 if (!$f) { 217 if (!$f) { 223 if (!$f) { [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_sw_fence_work.c | 11 if (f->ops->release) in fence_complete() 12 f->ops->release(f); in fence_complete() 18 struct dma_fence_work *f = container_of(work, typeof(*f), work); in fence_work() local 20 f->ops->work(f); in fence_work() 22 fence_complete(f); in fence_work() 29 struct dma_fence_work *f = container_of(fence, typeof(*f), chain); in fence_notify() local 62 struct dma_fence_work *f = container_of(fence, typeof(*f), dma); in get_timeline_name() local 69 struct dma_fence_work *f = container_of(fence, typeof(*f), dma); in fence_release() local 86 f->ops = ops; in dma_fence_work_init() 88 dma_fence_init(&f->dma, &fence_ops, &f->lock, 0, 0); in dma_fence_work_init() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | linked_list_fail.c | 264 f = bpf_obj_new(typeof(*f)); in use_after_drop() 292 f = bpf_obj_new(typeof(*f)); in direct_read_lock() 303 f = bpf_obj_new(typeof(*f)); in direct_write_lock() 315 f = bpf_obj_new(typeof(*f)); in direct_read_head() 326 f = bpf_obj_new(typeof(*f)); in direct_write_head() 338 f = bpf_obj_new(typeof(*f)); in direct_read_node() 349 f = bpf_obj_new(typeof(*f)); in direct_write_node() 361 f = bpf_obj_new(typeof(*f)); in use_after_unlock() 392 f = bpf_obj_new(typeof(*f)); in list_double_add() 455 f = bpf_obj_new(typeof(*f)); in incorrect_node_var_off() [all …]
|
/openbmc/linux/include/linux/ |
H A D | indirect_call_wrapper.h | 19 likely(f == f1) ? f1(__VA_ARGS__) : f(__VA_ARGS__); \ 37 #define INDIRECT_CALLABLE_DECLARE(f) f argument 39 #define EXPORT_INDIRECT_CALLABLE(f) EXPORT_SYMBOL(f) argument 42 #define INDIRECT_CALL_1(f, f1, ...) f(__VA_ARGS__) argument 43 #define INDIRECT_CALL_2(f, f2, f1, ...) f(__VA_ARGS__) argument 44 #define INDIRECT_CALL_3(f, f3, f2, f1, ...) f(__VA_ARGS__) argument 45 #define INDIRECT_CALL_4(f, f4, f3, f2, f1, ...) f(__VA_ARGS__) argument 60 #define INDIRECT_CALL_INET(f, f2, f1, ...) INDIRECT_CALL_1(f, f1, __VA_ARGS__) argument 62 #define INDIRECT_CALL_INET(f, f2, f1, ...) f(__VA_ARGS__) argument 66 #define INDIRECT_CALL_INET_1(f, f1, ...) INDIRECT_CALL_1(f, f1, __VA_ARGS__) argument [all …]
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-yuv.c | 230 f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x); in ivtv_yuv_handle_horizontal() 252 if ((f->tru_x - f->pan_x > -1) && (f->tru_x - f->pan_x <= 40) && (f->dst_w >= 680)) in ivtv_yuv_handle_horizontal() 254 else if ((f->tru_x - f->pan_x < 0) && (f->tru_x - f->pan_x >= -20) && (f->dst_w >= 660)) in ivtv_yuv_handle_horizontal() 257 if (f->dst_w >= f->src_w) in ivtv_yuv_handle_horizontal() 263 if (f->dst_w < f->src_w) in ivtv_yuv_handle_horizontal() 271 if (f->dst_w >= f->src_w) { in ivtv_yuv_handle_horizontal() 286 if (f->dst_w > f->src_w) in ivtv_yuv_handle_horizontal() 396 f->tru_h, f->src_h, f->dst_h, f->src_y, f->dst_y); in ivtv_yuv_handle_vertical() 438 if (f->dst_h / 2 >= f->src_h && !f->interlaced_y) { in ivtv_yuv_handle_vertical() 710 f->dst_y -= f->pan_y; in ivtv_yuv_window_setup() [all …]
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | asm-offsets.c | 207 OFFSET(KVM_ARCH_FP_F_F0, kvm_cpu_context, fp.f.f[0]); in asm_offsets() 208 OFFSET(KVM_ARCH_FP_F_F1, kvm_cpu_context, fp.f.f[1]); in asm_offsets() 209 OFFSET(KVM_ARCH_FP_F_F2, kvm_cpu_context, fp.f.f[2]); in asm_offsets() 210 OFFSET(KVM_ARCH_FP_F_F3, kvm_cpu_context, fp.f.f[3]); in asm_offsets() 211 OFFSET(KVM_ARCH_FP_F_F4, kvm_cpu_context, fp.f.f[4]); in asm_offsets() 212 OFFSET(KVM_ARCH_FP_F_F5, kvm_cpu_context, fp.f.f[5]); in asm_offsets() 213 OFFSET(KVM_ARCH_FP_F_F6, kvm_cpu_context, fp.f.f[6]); in asm_offsets() 214 OFFSET(KVM_ARCH_FP_F_F7, kvm_cpu_context, fp.f.f[7]); in asm_offsets() 215 OFFSET(KVM_ARCH_FP_F_F8, kvm_cpu_context, fp.f.f[8]); in asm_offsets() 216 OFFSET(KVM_ARCH_FP_F_F9, kvm_cpu_context, fp.f.f[9]); in asm_offsets() [all …]
|
/openbmc/linux/include/linux/mtd/ |
H A D | sh_flctl.h | 18 #define FLCMNCR(f) (f->reg + 0x0) argument 19 #define FLCMDCR(f) (f->reg + 0x4) argument 20 #define FLCMCDR(f) (f->reg + 0x8) argument 21 #define FLADR(f) (f->reg + 0xC) argument 22 #define FLADR2(f) (f->reg + 0x3C) argument 23 #define FLDATAR(f) (f->reg + 0x10) argument 24 #define FLDTCNTR(f) (f->reg + 0x14) argument 26 #define FLBSYTMR(f) (f->reg + 0x1C) argument 27 #define FLBSYCNT(f) (f->reg + 0x20) argument 28 #define FLDTFIFO(f) (f->reg + 0x24) argument [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_filter.c | 812 if (f->fs.newdmac || f->fs.newvlan) { in set_filter_wr() 815 f->fs.eport, f->fs.dmac); in set_filter_wr() 826 f->smt = cxgb4_smt_alloc_switching(f->dev, f->fs.smac); in set_filter_wr() 1003 memset(f, 0, sizeof(*f)); in clear_filter() 1015 if (f->valid || f->pending) in clear_all_filters() 1027 if (f->valid || f->pending) in clear_all_filters() 1041 if (f && (f->valid || f->pending)) in clear_all_filters() 1049 if (f && (f->valid || f->pending)) in clear_all_filters() 1408 f->fs.eport, f->fs.dmac); in cxgb4_set_hash_filter() 1419 f->smt = cxgb4_smt_alloc_switching(f->dev, f->fs.smac); in cxgb4_set_hash_filter() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_tc_matchall.c | 6 struct tc_cls_matchall_offload *f, in lan966x_tc_matchall_add() argument 12 NL_SET_ERR_MSG_MOD(f->common.extack, in lan966x_tc_matchall_add() 17 act = &f->rule->action.entries[0]; in lan966x_tc_matchall_add() 21 f->cookie, ingress, in lan966x_tc_matchall_add() 22 f->common.extack); in lan966x_tc_matchall_add() 28 act->chain_index, f->cookie, in lan966x_tc_matchall_add() 29 f->common.extack); in lan966x_tc_matchall_add() 45 f->common.extack); in lan966x_tc_matchall_del() 49 f->common.extack); in lan966x_tc_matchall_del() 51 return lan966x_goto_port_del(port, f->cookie, f->common.extack); in lan966x_tc_matchall_del() [all …]
|
/openbmc/u-boot/scripts/dtc/ |
H A D | treesource.c | 54 fputc('\t', f); in write_prefix() 77 fprintf(f, "\""); in write_propval_string() 119 fprintf(f, "\""); in write_propval_string() 128 fprintf(f, "\""); in write_propval_string() 143 fprintf(f, "<"); in write_propval_cells() 156 fprintf(f, " "); in write_propval_cells() 164 fprintf(f, ">"); in write_propval_cells() 173 fprintf(f, "["); in write_propval_bytes() 184 fprintf(f, " "); in write_propval_bytes() 192 fprintf(f, "]"); in write_propval_bytes() [all …]
|
/openbmc/linux/scripts/dtc/ |
H A D | treesource.c | 39 fputc('\t', f); in write_prefix() 58 fprintf(f, "\""); in write_propval_string() 63 fprintf(f, "\\a"); in write_propval_string() 66 fprintf(f, "\\b"); in write_propval_string() 69 fprintf(f, "\\t"); in write_propval_string() 72 fprintf(f, "\\n"); in write_propval_string() 99 fprintf(f, "\""); in write_propval_string() 123 fputc(' ', f); in write_propval_int() 184 fprintf(f, ";"); in write_propval() 196 fprintf(f, " ="); in write_propval() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | generate_udp_fragments.py | 35 f.write("\n") 38 f.write("\n") 40 f.write("\n") 50 f.write(f"static uint8_t frag{suffix}_{idx}[] = {{\n") 52 f.write(f"\t{chunk},\n") 53 f.write(f"}};\n") 57 f.write("\n") 61 def main(f): argument 77 frags = [f.build() for f in pkt.fragment(24)] 78 frags6 = [f.build() for f in fragment6(pkt6, 72)] [all …]
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_b.S | 13 j 2f 27 j 2f 45 j 2f 59 j 2f 65 j 2f 79 j 2f 106 j 2f 119 j 2f 133 j 2f 147 j 2f [all …]
|
/openbmc/linux/net/sched/ |
H A D | cls_route.c | 167 f; in route4_classify() 168 f = rcu_dereference_bh(f->next)) in route4_classify() 173 f; in route4_classify() 174 f = rcu_dereference_bh(f->next)) in route4_classify() 179 f; in route4_classify() 180 f = rcu_dereference_bh(f->next)) in route4_classify() 235 f; in route4_get() 236 f = rtnl_dereference(f->next)) in route4_get() 506 if (!f) in route4_change() 566 if (f) in route4_change() [all …]
|
/openbmc/linux/tools/cgroup/ |
H A D | iocost_coef_gen.py | 100 dbg(f'Running {cmd}') 103 d = json.loads(f.read()) 111 f.write(elevator) 113 f.write(nomerges) 130 testfile = f'/dev/{devname}' 142 with open(elevator_path, 'r') as f: 144 with open(nomerges_path, 'r') as f: 145 nomerges = f.read().strip() 150 f.write('none') 152 f.write('1') [all …]
|