/openbmc/linux/fs/afs/ |
H A D | fs_operation.c | 20 struct afs_operation *op; in afs_alloc_operation() local 24 op = kzalloc(sizeof(*op), GFP_KERNEL); in afs_alloc_operation() 25 if (!op) in afs_alloc_operation() 31 kfree(op); in afs_alloc_operation() 38 op->key = key; in afs_alloc_operation() 39 op->volume = afs_get_volume(volume, afs_volume_trace_get_new_op); in afs_alloc_operation() 40 op->net = volume->cell->net; in afs_alloc_operation() 41 op->cb_v_break = volume->cb_v_break; in afs_alloc_operation() 42 op->debug_id = atomic_inc_return(&afs_operation_debug_counter); in afs_alloc_operation() 43 op->error = -EDESTADDRREQ; in afs_alloc_operation() [all …]
|
H A D | rotate.c | 21 static bool afs_start_fs_iteration(struct afs_operation *op, in afs_start_fs_iteration() argument 28 read_lock(&op->volume->servers_lock); in afs_start_fs_iteration() 29 op->server_list = afs_get_serverlist( in afs_start_fs_iteration() 30 rcu_dereference_protected(op->volume->servers, in afs_start_fs_iteration() 31 lockdep_is_held(&op->volume->servers_lock))); in afs_start_fs_iteration() 32 read_unlock(&op->volume->servers_lock); in afs_start_fs_iteration() 34 op->untried = (1UL << op->server_list->nr_servers) - 1; in afs_start_fs_iteration() 35 op->index = READ_ONCE(op->server_list->preferred); in afs_start_fs_iteration() 40 for (i = 0; i < op->server_list->nr_servers; i++) { in afs_start_fs_iteration() 41 server = op->server_list->servers[i].server; in afs_start_fs_iteration() [all …]
|
H A D | dir_silly.c | 15 static void afs_silly_rename_success(struct afs_operation *op) in afs_silly_rename_success() argument 17 _enter("op=%08x", op->debug_id); in afs_silly_rename_success() 19 afs_check_dir_conflict(op, &op->file[0]); in afs_silly_rename_success() 20 afs_vnode_commit_status(op, &op->file[0]); in afs_silly_rename_success() 23 static void afs_silly_rename_edit_dir(struct afs_operation *op) in afs_silly_rename_edit_dir() argument 25 struct afs_vnode_param *dvp = &op->file[0]; in afs_silly_rename_edit_dir() 27 struct afs_vnode *vnode = AFS_FS_I(d_inode(op->dentry)); in afs_silly_rename_edit_dir() 28 struct dentry *old = op->dentry; in afs_silly_rename_edit_dir() 29 struct dentry *new = op->dentry_2; in afs_silly_rename_edit_dir() 34 if (dvnode->silly_key != op->key) { in afs_silly_rename_edit_dir() [all …]
|
H A D | dir.c | 681 static void afs_do_lookup_success(struct afs_operation *op) in afs_do_lookup_success() argument 691 for (i = 0; i < op->nr_files; i++) { in afs_do_lookup_success() 694 vp = &op->file[0]; in afs_do_lookup_success() 697 op->ac.abort_code = abort_code; in afs_do_lookup_success() 698 op->error = afs_abort_to_error(abort_code); in afs_do_lookup_success() 703 vp = &op->file[1]; in afs_do_lookup_success() 707 vp = &op->more_files[i - 2]; in afs_do_lookup_success() 717 afs_vnode_commit_status(op, vp); in afs_do_lookup_success() 719 inode = afs_iget(op, vp); in afs_do_lookup_success() 722 afs_cache_permit(vnode, op->key, in afs_do_lookup_success() [all …]
|
/openbmc/qemu/target/tricore/ |
H A D | tricore-opcodes.h | 26 /* This creates a mask with bits start .. end set to 1 and applies it to op */ 27 #define MASK_BITS_SHIFT(op, start, end) (extract32(op, (start), \ argument 29 #define MASK_BITS_SHIFT_SEXT(op, start, end) (sextract32(op, (start),\ argument 34 #define MASK_OP_MAJOR(op) MASK_BITS_SHIFT(op, 0, 7) argument 37 #define MASK_OP_SB_DISP8(op) MASK_BITS_SHIFT(op, 8, 15) argument 38 #define MASK_OP_SB_DISP8_SEXT(op) MASK_BITS_SHIFT_SEXT(op, 8, 15) argument 40 #define MASK_OP_SBC_CONST4(op) MASK_BITS_SHIFT(op, 12, 15) argument 41 #define MASK_OP_SBC_CONST4_SEXT(op) MASK_BITS_SHIFT_SEXT(op, 12, 15) argument 42 #define MASK_OP_SBC_DISP4(op) MASK_BITS_SHIFT(op, 8, 11) argument 44 #define MASK_OP_SBR_S2(op) MASK_BITS_SHIFT(op, 12, 15) argument [all …]
|
/openbmc/linux/fs/orangefs/ |
H A D | waitqueue.c | 20 static int wait_for_matching_downcall(struct orangefs_kernel_op_s *op, 23 __acquires(op->lock); 24 static void orangefs_clean_up_interrupted_operation(struct orangefs_kernel_op_s *op) 25 __releases(op->lock); 36 struct orangefs_kernel_op_s *op, *tmp; in purge_waiting_ops() local 39 list_for_each_entry_safe(op, tmp, &orangefs_request_list, list) { in purge_waiting_ops() 41 "pvfs2-client-core: purging op tag %llu %s\n", in purge_waiting_ops() 42 llu(op->tag), in purge_waiting_ops() 43 get_opname_string(op)); in purge_waiting_ops() 44 set_op_state_purged(op); in purge_waiting_ops() [all …]
|
/openbmc/qemu/tcg/ |
H A D | optimize.c | 29 #include "tcg/tcg-op-common.h" 374 static bool tcg_opt_gen_mov(OptContext *ctx, TCGOp *op, TCGArg dst, TCGArg src) in tcg_opt_gen_mov() argument 383 tcg_op_remove(ctx->tcg, op); in tcg_opt_gen_mov() 407 op->opc = new_op; in tcg_opt_gen_mov() 408 op->args[0] = dst; in tcg_opt_gen_mov() 409 op->args[1] = src; in tcg_opt_gen_mov() 432 static bool tcg_opt_gen_movi(OptContext *ctx, TCGOp *op, in tcg_opt_gen_movi() argument 436 return tcg_opt_gen_mov(ctx, op, dst, arg_new_constant(ctx, val)); in tcg_opt_gen_movi() 439 static uint64_t do_constant_folding_2(TCGOpcode op, uint64_t x, uint64_t y) in do_constant_folding_2() argument 443 switch (op) { in do_constant_folding_2() [all …]
|
/openbmc/linux/net/can/ |
H A D | bcm.c | 199 struct bcm_op *op; in bcm_proc_show() local 208 list_for_each_entry(op, &bo->rx_ops, list) { in bcm_proc_show() 213 if (!op->frames_abs) in bcm_proc_show() 216 seq_printf(m, "rx_op: %03X %-5s ", op->can_id, in bcm_proc_show() 217 bcm_proc_getifname(net, ifname, op->ifindex)); in bcm_proc_show() 219 if (op->flags & CAN_FD_FRAME) in bcm_proc_show() 220 seq_printf(m, "(%u)", op->nframes); in bcm_proc_show() 222 seq_printf(m, "[%u]", op->nframes); in bcm_proc_show() 224 seq_printf(m, "%c ", (op->flags & RX_CHECK_DLC) ? 'd' : ' '); in bcm_proc_show() 226 if (op->kt_ival1) in bcm_proc_show() [all …]
|
/openbmc/openbmc-test-automation/docs/ |
H A D | code_update.md | 29 https://openpower.xyz/job/openpower-op-build/ and run as follows: 64 https://openpower.xyz/job/openpower-op-build/ and run as follows: 86 https://openpower.xyz/job/openpower-op-build/ and run as follows: 106 -rw-r--r-- jenkins-op/jenkins-op 306804 2021-05-15 22:00 image-u-boot 107 -rw-r--r-- jenkins-op/jenkins-op 3039300 2021-05-12 03:32 image-kernel 108 -rw-r--r-- jenkins-op/jenkins-op 19861504 2021-05-15 22:00 image-rofs 109 -rw-r--r-- jenkins-op/jenkins-op 850304 2021-05-15 22:00 image-rwfs 110 -rw-r--r-- jenkins-op/jenkins-op 176 2021-05-15 22:00 MANIFEST 111 -rw-r--r-- jenkins-op/jenkins-op 272 2021-05-15 22:00 publickey 112 -rw-r--r-- jenkins-op/jenkins-op 128 2021-05-15 22:00 image-u-boot.sig [all …]
|
/openbmc/linux/drivers/xen/ |
H A D | efi.c | 42 #define efi_data(op) (op.u.efi_runtime_call) argument 46 struct xen_platform_op op = INIT_EFI_OP(get_time); in xen_efi_get_time() local 48 if (HYPERVISOR_platform_op(&op) < 0) in xen_efi_get_time() 52 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time)); in xen_efi_get_time() 53 memcpy(tm, &efi_data(op).u.get_time.time, sizeof(*tm)); in xen_efi_get_time() 57 tc->resolution = efi_data(op).u.get_time.resolution; in xen_efi_get_time() 58 tc->accuracy = efi_data(op).u.get_time.accuracy; in xen_efi_get_time() 59 tc->sets_to_zero = !!(efi_data(op).misc & in xen_efi_get_time() 63 return efi_data(op).status; in xen_efi_get_time() 68 struct xen_platform_op op = INIT_EFI_OP(set_time); in xen_efi_set_time() local [all …]
|
/openbmc/linux/fs/dlm/ |
H A D | plock.c | 49 struct plock_op *op = NULL, *iter; in plock_lookup_waiter() local 60 op = iter; in plock_lookup_waiter() 65 return op; in plock_lookup_waiter() 85 static void dlm_release_plock_op(struct plock_op *op) in dlm_release_plock_op() argument 87 kfree(op->data); in dlm_release_plock_op() 88 kfree(op); in dlm_release_plock_op() 91 static void send_op(struct plock_op *op) in send_op() argument 93 set_version(&op->info); in send_op() 95 list_add_tail(&op->list, &send_list); in send_op() 102 struct plock_op *op; in do_lock_cancel() local [all …]
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | sstep.c | 85 struct instruction_op *op) in branch_taken() argument 92 op->type |= DECCTR; in branch_taken() 575 static int do_fp_load(struct instruction_op *op, unsigned long ea, in do_fp_load() argument 588 nb = GETSIZE(op->type); in do_fp_load() 593 rn = op->reg; in do_fp_load() 604 if (op->type & FPCONV) in do_fp_load() 606 else if (op->type & SIGNEXT) in do_fp_load() 628 static int do_fp_store(struct instruction_op *op, unsigned long ea, in do_fp_store() argument 640 nb = GETSIZE(op->type); in do_fp_store() 645 rn = op->reg; in do_fp_store() [all …]
|
/openbmc/qemu/disas/ |
H A D | riscv-xthead.c | 252 rv_opcode op = rv_op_illegal; in decode_xtheadba() local 265 case 0b0000011: op = rv_op_th_addsl; break; in decode_xtheadba() 275 dec->op = op; in decode_xtheadba() 281 rv_opcode op = rv_op_illegal; in decode_xtheadbb() local 291 case 0b0001010: op = rv_op_th_srriw; break; in decode_xtheadbb() 294 op = rv_op_th_tstnbz; in decode_xtheadbb() 299 op = rv_op_th_rev; in decode_xtheadbb() 304 op = rv_op_th_ff0; in decode_xtheadbb() 309 op = rv_op_th_ff1; in decode_xtheadbb() 315 op = rv_op_th_revw; in decode_xtheadbb() [all …]
|
H A D | riscv.c | 2542 rv_opcode op = rv_op_illegal; in decode_inst_opcode() local 2546 case 0: op = rv_op_c_addi4spn; break; in decode_inst_opcode() 2549 op = rv_op_c_lq; in decode_inst_opcode() 2551 op = rv_op_c_fld; in decode_inst_opcode() 2554 case 2: op = rv_op_c_lw; break; in decode_inst_opcode() 2557 op = rv_op_c_flw; in decode_inst_opcode() 2559 op = rv_op_c_ld; in decode_inst_opcode() 2564 case 0: op = rv_op_c_lbu; break; in decode_inst_opcode() 2567 op = rv_op_c_lhu; in decode_inst_opcode() 2569 op = rv_op_c_lh; in decode_inst_opcode() [all …]
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_static_config.c | 57 size_t len, enum packing_op op) in sja1105_packing() argument 59 int rc = packing(buf, val, start, end, len, op, QUIRK_LSW32_IS_FIRST); in sja1105_packing() 95 enum packing_op op) in sja1105et_avb_params_entry_packing() argument 100 sja1105_packing(buf, &entry->destmeta, 95, 48, size, op); in sja1105et_avb_params_entry_packing() 101 sja1105_packing(buf, &entry->srcmeta, 47, 0, size, op); in sja1105et_avb_params_entry_packing() 106 enum packing_op op) in sja1105pqrs_avb_params_entry_packing() argument 111 sja1105_packing(buf, &entry->cas_master, 126, 126, size, op); in sja1105pqrs_avb_params_entry_packing() 112 sja1105_packing(buf, &entry->destmeta, 125, 78, size, op); in sja1105pqrs_avb_params_entry_packing() 113 sja1105_packing(buf, &entry->srcmeta, 77, 30, size, op); in sja1105pqrs_avb_params_entry_packing() 118 enum packing_op op) in sja1105et_general_params_entry_packing() argument [all …]
|
/openbmc/linux/tools/objtool/arch/x86/ |
H A D | decode.c | 105 #define ADD_OP(op) \ argument 106 if (!(op = calloc(1, sizeof(*op)))) \ 108 else for (*ops_list = op, ops_list = &op->next; op; op = NULL) 159 struct stack_op *op = NULL; in arch_decode_instruction() local 215 ADD_OP(op) { in arch_decode_instruction() 216 op->src.type = OP_SRC_ADD; in arch_decode_instruction() 217 op->src.reg = modrm_reg; in arch_decode_instruction() 218 op->dest.type = OP_DEST_REG; in arch_decode_instruction() 219 op->dest.reg = CFI_SP; in arch_decode_instruction() 227 ADD_OP(op) { in arch_decode_instruction() [all …]
|
/openbmc/linux/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss-hash.c | 20 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_hash_crainit() local 25 memset(op, 0, sizeof(struct sun4i_tfm_ctx)); in sun4i_hash_crainit() 28 op->ss = algt->ss; in sun4i_hash_crainit() 30 err = pm_runtime_resume_and_get(op->ss->dev); in sun4i_hash_crainit() 41 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_hash_craexit() local 43 pm_runtime_put(op->ss->dev); in sun4i_hash_craexit() 49 struct sun4i_req_ctx *op = ahash_request_ctx(areq); in sun4i_hash_init() local 54 memset(op, 0, sizeof(struct sun4i_req_ctx)); in sun4i_hash_init() 57 op->mode = algt->mode; in sun4i_hash_init() 64 struct sun4i_req_ctx *op = ahash_request_ctx(areq); in sun4i_hash_export_md5() local [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | spi-mem.c | 23 * @op: the memory operation containing the buffer to map 27 * Some controllers might want to do DMA on the data buffer embedded in @op. 32 * op->data.buf.{in,out} is DMA-able before calling this function. 37 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() argument 42 if (!op->data.nbytes) in spi_controller_dma_map_mem_op_data() 45 if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) in spi_controller_dma_map_mem_op_data() 47 else if (op->data.dir == SPI_MEM_DATA_IN && ctlr->dma_rx) in spi_controller_dma_map_mem_op_data() 55 return spi_map_buf(ctlr, dmadev, sgt, op->data.buf.in, op->data.nbytes, in spi_controller_dma_map_mem_op_data() 56 op->data.dir == SPI_MEM_DATA_IN ? in spi_controller_dma_map_mem_op_data() 65 * @op: the memory operation containing the buffer to unmap [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_uvmm.c | 62 enum vm_bind_op op; member 457 struct drm_gpuva_op *op = last; in nouveau_uvmm_sm_prepare_unwind() local 462 drm_gpuva_for_each_op_from_reverse(op, ops) { in nouveau_uvmm_sm_prepare_unwind() 463 switch (op->op) { in nouveau_uvmm_sm_prepare_unwind() 468 struct drm_gpuva_op_remap *r = &op->remap; in nouveau_uvmm_sm_prepare_unwind() 480 op_unmap_prepare_unwind(op->unmap.va); in nouveau_uvmm_sm_prepare_unwind() 493 drm_gpuva_for_each_op(op, ops) { in nouveau_uvmm_sm_prepare_unwind() 494 switch (op->op) { in nouveau_uvmm_sm_prepare_unwind() 504 struct drm_gpuva_op_remap *r = &op->remap; in nouveau_uvmm_sm_prepare_unwind() 522 struct drm_gpuva_op_unmap *u = &op->unmap; in nouveau_uvmm_sm_prepare_unwind() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-mtk-nor.c | 163 static void mtk_nor_set_addr(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_set_addr() argument 165 u32 addr = op->addr.val; in mtk_nor_set_addr() 172 if (op->addr.nbytes == 4) { in mtk_nor_set_addr() 180 static bool need_bounce(struct mtk_nor *sp, const struct spi_mem_op *op) in need_bounce() argument 182 return ((uintptr_t)op->data.buf.in & MTK_NOR_DMA_ALIGN_MASK); in need_bounce() 185 static bool mtk_nor_match_read(const struct spi_mem_op *op) in mtk_nor_match_read() argument 189 if (op->dummy.nbytes) in mtk_nor_match_read() 190 dummy = op->dummy.nbytes * BITS_PER_BYTE / op->dummy.buswidth; in mtk_nor_match_read() 192 if ((op->data.buswidth == 2) || (op->data.buswidth == 4)) { in mtk_nor_match_read() 193 if (op->addr.buswidth == 1) in mtk_nor_match_read() [all …]
|
H A D | spi-wpcm-fiu.c | 136 bool (*match)(const struct spi_mem_op *op); 137 int (*exec)(struct spi_mem *mem, const struct spi_mem_op *op); 140 static bool wpcm_fiu_normal_match(const struct spi_mem_op *op) in wpcm_fiu_normal_match() argument 143 if (op->cmd.opcode == 0x0b) in wpcm_fiu_normal_match() 146 return (op->addr.nbytes == 0 || op->addr.nbytes == 3) && in wpcm_fiu_normal_match() 147 op->dummy.nbytes == 0 && op->data.nbytes <= 4; in wpcm_fiu_normal_match() 150 static int wpcm_fiu_normal_exec(struct spi_mem *mem, const struct spi_mem_op *op) in wpcm_fiu_normal_exec() argument 155 wpcm_fiu_set_opcode(fiu, op->cmd.opcode); in wpcm_fiu_normal_exec() 156 wpcm_fiu_set_addr(fiu, op->addr.val); in wpcm_fiu_normal_exec() 157 if (op->data.dir == SPI_MEM_DATA_OUT) in wpcm_fiu_normal_exec() [all …]
|
H A D | spi-mem.c | 23 * @op: the memory operation containing the buffer to map 27 * Some controllers might want to do DMA on the data buffer embedded in @op. 32 * op->data.buf.{in,out} is DMA-able before calling this function. 37 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() argument 42 if (!op->data.nbytes) in spi_controller_dma_map_mem_op_data() 45 if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) in spi_controller_dma_map_mem_op_data() 47 else if (op->data.dir == SPI_MEM_DATA_IN && ctlr->dma_rx) in spi_controller_dma_map_mem_op_data() 55 return spi_map_buf(ctlr, dmadev, sgt, op->data.buf.in, op->data.nbytes, in spi_controller_dma_map_mem_op_data() 56 op->data.dir == SPI_MEM_DATA_IN ? in spi_controller_dma_map_mem_op_data() 65 * @op: the memory operation containing the buffer to unmap [all …]
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-etm4x.h | 261 #define ETE_ONLY_SYSREG_LIST(op, val) \ argument 262 CASE_##op((val), TRCRSR) \ 263 CASE_##op((val), TRCEXTINSELRn(1)) \ 264 CASE_##op((val), TRCEXTINSELRn(2)) \ 265 CASE_##op((val), TRCEXTINSELRn(3)) 268 #define ETM4x_ONLY_SYSREG_LIST(op, val) \ argument 269 CASE_##op((val), TRCPROCSELR) \ 270 CASE_##op((val), TRCOSLAR) 272 #define ETM_COMMON_SYSREG_LIST(op, val) \ argument 273 CASE_##op((val), TRCPRGCTLR) \ [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | psobject.c | 143 * aml_op_start - Begin of named Op in AML 144 * unnamed_op - Early Op (not a named Op) 145 * op - Returned Op 149 * DESCRIPTION: Parse a named Op 157 union acpi_parse_object **op) in acpi_ps_build_named_op() argument 215 walk_state->op = NULL; in acpi_ps_build_named_op() 217 status = walk_state->descending_callback(walk_state, op); in acpi_ps_build_named_op() 226 if (!*op) { in acpi_ps_build_named_op() 230 status = acpi_ps_next_parse_state(walk_state, *op, status); in acpi_ps_build_named_op() 238 acpi_ps_append_arg(*op, unnamed_op->common.value.arg); in acpi_ps_build_named_op() [all …]
|
/openbmc/linux/arch/sh/kernel/ |
H A D | kgdb.c | 20 #define OPCODE_BT(op) (((op) & 0xff00) == 0x8900) argument 21 #define OPCODE_BF(op) (((op) & 0xff00) == 0x8b00) argument 22 #define OPCODE_BTF_DISP(op) (((op) & 0x80) ? (((op) | 0xffffff80) << 1) : \ argument 23 (((op) & 0x7f ) << 1)) 24 #define OPCODE_BFS(op) (((op) & 0xff00) == 0x8f00) argument 25 #define OPCODE_BTS(op) (((op) & 0xff00) == 0x8d00) argument 26 #define OPCODE_BRA(op) (((op) & 0xf000) == 0xa000) argument 27 #define OPCODE_BRA_DISP(op) (((op) & 0x800) ? (((op) | 0xfffff800) << 1) : \ argument 28 (((op) & 0x7ff) << 1)) 29 #define OPCODE_BRAF(op) (((op) & 0xf0ff) == 0x0023) argument [all …]
|