Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 1642) sorted by relevance

12345678910>>...66

/linux-5.19.10/fs/afs/
Dfs_operation.c20 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 …]
Drotate.c21 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 …]
Ddir_silly.c15 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 …]
Ddir.c678 static void afs_do_lookup_success(struct afs_operation *op) in afs_do_lookup_success() argument
688 for (i = 0; i < op->nr_files; i++) { in afs_do_lookup_success()
691 vp = &op->file[0]; in afs_do_lookup_success()
694 op->ac.abort_code = abort_code; in afs_do_lookup_success()
695 op->error = afs_abort_to_error(abort_code); in afs_do_lookup_success()
700 vp = &op->file[1]; in afs_do_lookup_success()
704 vp = &op->more_files[i - 2]; in afs_do_lookup_success()
714 afs_vnode_commit_status(op, vp); in afs_do_lookup_success()
716 inode = afs_iget(op, vp); in afs_do_lookup_success()
719 afs_cache_permit(vnode, op->key, in afs_do_lookup_success()
[all …]
/linux-5.19.10/fs/orangefs/
Dwaitqueue.c20 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()
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()
48 get_opname_string(op), in purge_waiting_ops()
[all …]
/linux-5.19.10/net/can/
Dbcm.c199 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 …]
/linux-5.19.10/arch/powerpc/lib/
Dsstep.c85 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()
591 rn = op->reg; in do_fp_load()
602 if (op->type & FPCONV) in do_fp_load()
604 else if (op->type & SIGNEXT) in do_fp_load()
626 static int do_fp_store(struct instruction_op *op, unsigned long ea, in do_fp_store() argument
638 nb = GETSIZE(op->type); in do_fp_store()
641 rn = op->reg; in do_fp_store()
[all …]
/linux-5.19.10/drivers/xen/
Defi.c41 #define efi_data(op) (op.u.efi_runtime_call) argument
45 struct xen_platform_op op = INIT_EFI_OP(get_time); in xen_efi_get_time() local
47 if (HYPERVISOR_platform_op(&op) < 0) in xen_efi_get_time()
51 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time)); in xen_efi_get_time()
52 memcpy(tm, &efi_data(op).u.get_time.time, sizeof(*tm)); in xen_efi_get_time()
56 tc->resolution = efi_data(op).u.get_time.resolution; in xen_efi_get_time()
57 tc->accuracy = efi_data(op).u.get_time.accuracy; in xen_efi_get_time()
58 tc->sets_to_zero = !!(efi_data(op).misc & in xen_efi_get_time()
62 return efi_data(op).status; in xen_efi_get_time()
67 struct xen_platform_op op = INIT_EFI_OP(set_time); in xen_efi_set_time() local
[all …]
/linux-5.19.10/tools/objtool/arch/x86/
Ddecode.c76 #define ADD_OP(op) \ argument
77 if (!(op = calloc(1, sizeof(*op)))) \
79 else for (list_add_tail(&op->list, ops_list); op; op = NULL)
131 struct stack_op *op = NULL; in arch_decode_instruction() local
187 ADD_OP(op) { in arch_decode_instruction()
188 op->src.type = OP_SRC_ADD; in arch_decode_instruction()
189 op->src.reg = modrm_reg; in arch_decode_instruction()
190 op->dest.type = OP_DEST_REG; in arch_decode_instruction()
191 op->dest.reg = CFI_SP; in arch_decode_instruction()
199 ADD_OP(op) { in arch_decode_instruction()
[all …]
/linux-5.19.10/fs/dlm/
Dplock.c61 static void dlm_release_plock_op(struct plock_op *op) in dlm_release_plock_op() argument
63 kfree(op->data); in dlm_release_plock_op()
64 kfree(op); in dlm_release_plock_op()
67 static void send_op(struct plock_op *op) in send_op() argument
69 set_version(&op->info); in send_op()
71 list_add_tail(&op->list, &send_list); in send_op()
85 struct plock_op *op; in do_unlock_close() local
87 op = kzalloc(sizeof(*op), GFP_NOFS); in do_unlock_close()
88 if (!op) in do_unlock_close()
91 op->info.optype = DLM_PLOCK_OP_UNLOCK; in do_unlock_close()
[all …]
/linux-5.19.10/drivers/hwtracing/coresight/
Dcoresight-etm4x.h266 #define ETE_ONLY_SYSREG_LIST(op, val) \ argument
267 CASE_##op((val), TRCRSR) \
268 CASE_##op((val), TRCEXTINSELRn(1)) \
269 CASE_##op((val), TRCEXTINSELRn(2)) \
270 CASE_##op((val), TRCEXTINSELRn(3))
273 #define ETM4x_ONLY_SYSREG_LIST(op, val) \ argument
274 CASE_##op((val), TRCPROCSELR) \
275 CASE_##op((val), TRCVDCTLR) \
276 CASE_##op((val), TRCVDSACCTLR) \
277 CASE_##op((val), TRCVDARCCTLR) \
[all …]
/linux-5.19.10/arch/sh/kernel/
Dkgdb.c20 #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 …]
/linux-5.19.10/drivers/acpi/acpica/
Dpsobject.c157 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()
244 (*op)->common.inline_comment = unnamed_op->common.inline_comment; in acpi_ps_build_named_op()
245 (*op)->common.end_node_comment = unnamed_op->common.end_node_comment; in acpi_ps_build_named_op()
246 (*op)->common.close_brace_comment = in acpi_ps_build_named_op()
248 (*op)->common.name_comment = unnamed_op->common.name_comment; in acpi_ps_build_named_op()
[all …]
Dpsutils.c56 void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode) in acpi_ps_init_op() argument
60 op->common.descriptor_type = ACPI_DESC_TYPE_PARSER; in acpi_ps_init_op()
61 op->common.aml_opcode = opcode; in acpi_ps_init_op()
63 ACPI_DISASM_ONLY_MEMBERS(acpi_ut_safe_strncpy(op->common.aml_op_name, in acpi_ps_init_op()
66 sizeof(op->common. in acpi_ps_init_op()
87 union acpi_parse_object *op; in acpi_ps_alloc_op() local
111 op = acpi_os_acquire_object(acpi_gbl_ps_node_cache); in acpi_ps_alloc_op()
115 op = acpi_os_acquire_object(acpi_gbl_ps_node_ext_cache); in acpi_ps_alloc_op()
120 if (op) { in acpi_ps_alloc_op()
121 acpi_ps_init_op(op, opcode); in acpi_ps_alloc_op()
[all …]
Ddswload.c106 union acpi_parse_object *op; in acpi_ds_load1_begin_op() local
113 ACPI_FUNCTION_TRACE_PTR(ds_load1_begin_op, walk_state->op); in acpi_ds_load1_begin_op()
115 op = walk_state->op; in acpi_ds_load1_begin_op()
116 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op, in acpi_ds_load1_begin_op()
121 if (op) { in acpi_ds_load1_begin_op()
123 *out_op = op; in acpi_ds_load1_begin_op()
129 if (op->common.node) { in acpi_ds_load1_begin_op()
130 *out_op = op; in acpi_ds_load1_begin_op()
142 "State=%p Op=%p [%s]\n", walk_state, op, in acpi_ds_load1_begin_op()
163 acpi_dm_add_op_to_external_list(op, path, in acpi_ds_load1_begin_op()
[all …]
/linux-5.19.10/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-hash.c20 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 …]
/linux-5.19.10/drivers/net/dsa/sja1105/
Dsja1105_static_config.c57 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 …]
Dsja1105_dynamic_config.c200 enum packing_op op) in sja1105et_vl_lookup_cmd_packing() argument
204 sja1105_packing(buf, &cmd->valid, 31, 31, size, op); in sja1105et_vl_lookup_cmd_packing()
205 sja1105_packing(buf, &cmd->errors, 30, 30, size, op); in sja1105et_vl_lookup_cmd_packing()
206 sja1105_packing(buf, &cmd->rdwrset, 29, 29, size, op); in sja1105et_vl_lookup_cmd_packing()
207 sja1105_packing(buf, &cmd->index, 9, 0, size, op); in sja1105et_vl_lookup_cmd_packing()
213 enum packing_op op) in sja1105pqrs_vl_lookup_cmd_packing() argument
218 sja1105_packing(p, &cmd->valid, 31, 31, size, op); in sja1105pqrs_vl_lookup_cmd_packing()
219 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105pqrs_vl_lookup_cmd_packing()
220 sja1105_packing(p, &cmd->rdwrset, 29, 29, size, op); in sja1105pqrs_vl_lookup_cmd_packing()
221 sja1105_packing(p, &cmd->index, 9, 0, size, op); in sja1105pqrs_vl_lookup_cmd_packing()
[all …]
/linux-5.19.10/tools/lib/traceevent/
Devent-plugin.c56 static int update_option_value(struct tep_plugin_option *op, const char *val) in update_option_value() argument
62 if (op->value) in update_option_value()
65 op->set ^= 1; in update_option_value()
73 if (op->value) { in update_option_value()
74 op->value = val; in update_option_value()
86 op->set = 1; in update_option_value()
88 op->set = 0; in update_option_value()
109 struct tep_plugin_option *op; in tep_plugin_list_options() local
115 for (op = reg->options; op->name; op++) { in tep_plugin_list_options()
116 char *alias = op->plugin_alias ? op->plugin_alias : op->file; in tep_plugin_list_options()
[all …]
/linux-5.19.10/lib/zlib_inflate/
Dinffast.c89 unsigned op; /* code bits, operation, extra bits, or */ in inflate_fast() local
127 op = (unsigned)(this.bits); in inflate_fast()
128 hold >>= op; in inflate_fast()
129 bits -= op; in inflate_fast()
130 op = (unsigned)(this.op); in inflate_fast()
131 if (op == 0) { /* literal */ in inflate_fast()
134 else if (op & 16) { /* length base */ in inflate_fast()
136 op &= 15; /* number of extra bits */ in inflate_fast()
137 if (op) { in inflate_fast()
138 if (bits < op) { in inflate_fast()
[all …]
/linux-5.19.10/drivers/spi/
Dspi-mem.c37 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()
83 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data() argument
88 if (!op->data.nbytes) in spi_controller_dma_unmap_mem_op_data()
91 if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) in spi_controller_dma_unmap_mem_op_data()
93 else if (op->data.dir == SPI_MEM_DATA_IN && ctlr->dma_rx) in spi_controller_dma_unmap_mem_op_data()
[all …]
Dspi-mtk-nor.c150 static void mtk_nor_set_addr(struct mtk_nor *sp, const struct spi_mem_op *op) in mtk_nor_set_addr() argument
152 u32 addr = op->addr.val; in mtk_nor_set_addr()
159 if (op->addr.nbytes == 4) { in mtk_nor_set_addr()
167 static bool need_bounce(struct mtk_nor *sp, const struct spi_mem_op *op) in need_bounce() argument
169 return ((uintptr_t)op->data.buf.in & MTK_NOR_DMA_ALIGN_MASK); in need_bounce()
172 static bool mtk_nor_match_read(const struct spi_mem_op *op) in mtk_nor_match_read() argument
176 if (op->dummy.nbytes) in mtk_nor_match_read()
177 dummy = op->dummy.nbytes * BITS_PER_BYTE / op->dummy.buswidth; in mtk_nor_match_read()
179 if ((op->data.buswidth == 2) || (op->data.buswidth == 4)) { in mtk_nor_match_read()
180 if (op->addr.buswidth == 1) in mtk_nor_match_read()
[all …]
/linux-5.19.10/lib/lzo/
Dlzo1x_decompress_safe.c24 #define HAVE_OP(x) ((size_t)(op_end - op) >= (size_t)(x))
42 unsigned char *op; in lzo1x_decompress_safe() local
52 op = out; in lzo1x_decompress_safe()
98 unsigned char *oe = op + t; in lzo1x_decompress_safe()
100 COPY8(op, ip); in lzo1x_decompress_safe()
101 op += 8; in lzo1x_decompress_safe()
103 COPY8(op, ip); in lzo1x_decompress_safe()
104 op += 8; in lzo1x_decompress_safe()
108 op = oe; in lzo1x_decompress_safe()
115 *op++ = *ip++; in lzo1x_decompress_safe()
[all …]
/linux-5.19.10/arch/xtensa/include/asm/
Datomic.h58 #define ATOMIC_OP(op) \ argument
59 static inline void arch_atomic_##op(int i, atomic_t *v) \
66 " " #op " %[result], %[tmp], %[i]\n" \
76 #define ATOMIC_OP_RETURN(op) \ argument
77 static inline int arch_atomic_##op##_return(int i, atomic_t *v) \
84 " " #op " %[result], %[tmp], %[i]\n" \
88 " " #op " %[result], %[tmp], %[i]\n" \
97 #define ATOMIC_FETCH_OP(op) \ argument
98 static inline int arch_atomic_fetch_##op(int i, atomic_t *v) \
105 " " #op " %[result], %[tmp], %[i]\n" \
[all …]
/linux-5.19.10/drivers/xen/xen-pciback/
Dpciback_ops.c143 struct pci_dev *dev, struct xen_pci_op *op) in xen_pcibk_enable_msi() argument
158 op->value = 0; in xen_pcibk_enable_msi()
165 op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0; in xen_pcibk_enable_msi()
167 dev_dbg(&dev->dev, "MSI: %d\n", op->value); in xen_pcibk_enable_msi()
178 struct pci_dev *dev, struct xen_pci_op *op) in xen_pcibk_disable_msi() argument
189 op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0; in xen_pcibk_disable_msi()
191 dev_dbg(&dev->dev, "MSI: %d\n", op->value); in xen_pcibk_disable_msi()
198 struct pci_dev *dev, struct xen_pci_op *op) in xen_pcibk_enable_msix() argument
207 if (op->value > SH_INFO_MAX_VEC) in xen_pcibk_enable_msix()
222 entries = kmalloc_array(op->value, sizeof(*entries), GFP_KERNEL); in xen_pcibk_enable_msix()
[all …]

12345678910>>...66