/kernel/linux/linux-5.10/fs/afs/ |
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 …]
|
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 …]
|
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 …]
|
/kernel/linux/linux-4.19/fs/fscache/ |
D | operation.c | 23 static void fscache_operation_dummy_cancel(struct fscache_operation *op) in fscache_operation_dummy_cancel() argument 36 struct fscache_operation *op, in fscache_operation_init() argument 41 INIT_WORK(&op->work, fscache_op_work_func); in fscache_operation_init() 42 atomic_set(&op->usage, 1); in fscache_operation_init() 43 op->state = FSCACHE_OP_ST_INITIALISED; in fscache_operation_init() 44 op->debug_id = atomic_inc_return(&fscache_op_debug_id); in fscache_operation_init() 45 op->processor = processor; in fscache_operation_init() 46 op->cancel = cancel ?: fscache_operation_dummy_cancel; in fscache_operation_init() 47 op->release = release; in fscache_operation_init() 48 INIT_LIST_HEAD(&op->pend_link); in fscache_operation_init() [all …]
|
/kernel/linux/linux-5.10/fs/fscache/ |
D | operation.c | 19 static void fscache_operation_dummy_cancel(struct fscache_operation *op) in fscache_operation_dummy_cancel() argument 32 struct fscache_operation *op, in fscache_operation_init() argument 37 INIT_WORK(&op->work, fscache_op_work_func); in fscache_operation_init() 38 atomic_set(&op->usage, 1); in fscache_operation_init() 39 op->state = FSCACHE_OP_ST_INITIALISED; in fscache_operation_init() 40 op->debug_id = atomic_inc_return(&fscache_op_debug_id); in fscache_operation_init() 41 op->processor = processor; in fscache_operation_init() 42 op->cancel = cancel ?: fscache_operation_dummy_cancel; in fscache_operation_init() 43 op->release = release; in fscache_operation_init() 44 INIT_LIST_HEAD(&op->pend_link); in fscache_operation_init() [all …]
|
/kernel/linux/linux-4.19/net/can/ |
D | bcm.c | 194 struct bcm_op *op; in bcm_proc_show() local 203 list_for_each_entry(op, &bo->rx_ops, list) { in bcm_proc_show() 208 if (!op->frames_abs) in bcm_proc_show() 211 seq_printf(m, "rx_op: %03X %-5s ", op->can_id, in bcm_proc_show() 212 bcm_proc_getifname(net, ifname, op->ifindex)); in bcm_proc_show() 214 if (op->flags & CAN_FD_FRAME) in bcm_proc_show() 215 seq_printf(m, "(%u)", op->nframes); in bcm_proc_show() 217 seq_printf(m, "[%u]", op->nframes); in bcm_proc_show() 219 seq_printf(m, "%c ", (op->flags & RX_CHECK_DLC) ? 'd' : ' '); in bcm_proc_show() 221 if (op->kt_ival1) in bcm_proc_show() [all …]
|
/kernel/linux/linux-5.10/fs/orangefs/ |
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() 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 …]
|
/kernel/linux/linux-4.19/fs/orangefs/ |
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() 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 …]
|
/kernel/linux/linux-5.10/net/can/ |
D | bcm.c | 198 struct bcm_op *op; in bcm_proc_show() local 207 list_for_each_entry(op, &bo->rx_ops, list) { in bcm_proc_show() 212 if (!op->frames_abs) in bcm_proc_show() 215 seq_printf(m, "rx_op: %03X %-5s ", op->can_id, in bcm_proc_show() 216 bcm_proc_getifname(net, ifname, op->ifindex)); in bcm_proc_show() 218 if (op->flags & CAN_FD_FRAME) in bcm_proc_show() 219 seq_printf(m, "(%u)", op->nframes); in bcm_proc_show() 221 seq_printf(m, "[%u]", op->nframes); in bcm_proc_show() 223 seq_printf(m, "%c ", (op->flags & RX_CHECK_DLC) ? 'd' : ' '); in bcm_proc_show() 225 if (op->kt_ival1) in bcm_proc_show() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/lib/ |
D | sstep.c | 86 struct instruction_op *op) in branch_taken() argument 93 op->type |= DECCTR; in branch_taken() 501 static int do_fp_load(struct instruction_op *op, unsigned long ea, in do_fp_load() argument 514 nb = GETSIZE(op->type); in do_fp_load() 517 rn = op->reg; in do_fp_load() 528 if (op->type & FPCONV) in do_fp_load() 530 else if (op->type & SIGNEXT) in do_fp_load() 552 static int do_fp_store(struct instruction_op *op, unsigned long ea, in do_fp_store() argument 564 nb = GETSIZE(op->type); in do_fp_store() 567 rn = op->reg; in do_fp_store() [all …]
|
/kernel/linux/linux-5.10/tools/objtool/arch/x86/ |
D | decode.c | 82 #define ADD_OP(op) \ argument 83 if (!(op = calloc(1, sizeof(*op)))) \ 85 else for (list_add_tail(&op->list, ops_list); op; op = NULL) 98 struct stack_op *op = NULL; in arch_decode_instruction() local 147 ADD_OP(op) { in arch_decode_instruction() 148 op->src.type = OP_SRC_ADD; in arch_decode_instruction() 149 op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction() 150 op->dest.type = OP_DEST_REG; in arch_decode_instruction() 151 op->dest.reg = CFI_SP; in arch_decode_instruction() 159 ADD_OP(op) { in arch_decode_instruction() [all …]
|
/kernel/linux/linux-4.19/arch/powerpc/lib/ |
D | sstep.c | 88 struct instruction_op *op) in branch_taken() argument 95 op->type |= DECCTR; in branch_taken() 462 static int do_fp_load(struct instruction_op *op, unsigned long ea, in do_fp_load() argument 475 nb = GETSIZE(op->type); in do_fp_load() 478 rn = op->reg; in do_fp_load() 489 if (op->type & FPCONV) in do_fp_load() 491 else if (op->type & SIGNEXT) in do_fp_load() 513 static int do_fp_store(struct instruction_op *op, unsigned long ea, in do_fp_store() argument 525 nb = GETSIZE(op->type); in do_fp_store() 528 rn = op->reg; in do_fp_store() [all …]
|
/kernel/linux/linux-4.19/drivers/xen/ |
D | efi.c | 40 #define efi_data(op) (op.u.efi_runtime_call) argument 44 struct xen_platform_op op = INIT_EFI_OP(get_time); in xen_efi_get_time() local 46 if (HYPERVISOR_platform_op(&op) < 0) in xen_efi_get_time() 50 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time)); in xen_efi_get_time() 51 memcpy(tm, &efi_data(op).u.get_time.time, sizeof(*tm)); in xen_efi_get_time() 55 tc->resolution = efi_data(op).u.get_time.resolution; in xen_efi_get_time() 56 tc->accuracy = efi_data(op).u.get_time.accuracy; in xen_efi_get_time() 57 tc->sets_to_zero = !!(efi_data(op).misc & in xen_efi_get_time() 61 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 …]
|
/kernel/linux/linux-5.10/drivers/xen/ |
D | efi.c | 41 #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 …]
|
/kernel/linux/linux-4.19/fs/dlm/ |
D | plock.c | 64 static void send_op(struct plock_op *op) in send_op() argument 66 set_version(&op->info); in send_op() 67 INIT_LIST_HEAD(&op->list); in send_op() 69 list_add_tail(&op->list, &send_list); in send_op() 83 struct plock_op *op; in do_unlock_close() local 85 op = kzalloc(sizeof(*op), GFP_NOFS); in do_unlock_close() 86 if (!op) in do_unlock_close() 89 op->info.optype = DLM_PLOCK_OP_UNLOCK; in do_unlock_close() 90 op->info.pid = fl->fl_pid; in do_unlock_close() 91 op->info.fsid = ls->ls_global_id; in do_unlock_close() [all …]
|
/kernel/linux/linux-5.10/fs/dlm/ |
D | plock.c | 61 static void send_op(struct plock_op *op) in send_op() argument 63 set_version(&op->info); in send_op() 64 INIT_LIST_HEAD(&op->list); in send_op() 66 list_add_tail(&op->list, &send_list); in send_op() 80 struct plock_op *op; in do_unlock_close() local 82 op = kzalloc(sizeof(*op), GFP_NOFS); in do_unlock_close() 83 if (!op) in do_unlock_close() 86 op->info.optype = DLM_PLOCK_OP_UNLOCK; in do_unlock_close() 87 op->info.pid = fl->fl_pid; in do_unlock_close() 88 op->info.fsid = ls->ls_global_id; in do_unlock_close() [all …]
|
/kernel/linux/linux-4.19/tools/objtool/arch/x86/ |
D | decode.c | 84 unsigned long *immediate, struct stack_op *op) in arch_decode_instruction() argument 139 op->src.type = OP_SRC_ADD; in arch_decode_instruction() 140 op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; in arch_decode_instruction() 141 op->dest.type = OP_DEST_REG; in arch_decode_instruction() 142 op->dest.reg = CFI_SP; in arch_decode_instruction() 150 op->src.type = OP_SRC_REG; in arch_decode_instruction() 151 op->src.reg = op_to_cfi_reg[op1 & 0x7][rex_b]; in arch_decode_instruction() 152 op->dest.type = OP_DEST_PUSH; in arch_decode_instruction() 160 op->src.type = OP_SRC_POP; in arch_decode_instruction() 161 op->dest.type = OP_DEST_REG; in arch_decode_instruction() [all …]
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun4i-ss/ |
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_get_sync(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 …]
|
/kernel/linux/linux-4.19/arch/sh/kernel/ |
D | kgdb.c | 23 #define OPCODE_BT(op) (((op) & 0xff00) == 0x8900) argument 24 #define OPCODE_BF(op) (((op) & 0xff00) == 0x8b00) argument 25 #define OPCODE_BTF_DISP(op) (((op) & 0x80) ? (((op) | 0xffffff80) << 1) : \ argument 26 (((op) & 0x7f ) << 1)) 27 #define OPCODE_BFS(op) (((op) & 0xff00) == 0x8f00) argument 28 #define OPCODE_BTS(op) (((op) & 0xff00) == 0x8d00) argument 29 #define OPCODE_BRA(op) (((op) & 0xf000) == 0xa000) argument 30 #define OPCODE_BRA_DISP(op) (((op) & 0x800) ? (((op) | 0xfffff800) << 1) : \ argument 31 (((op) & 0x7ff) << 1)) 32 #define OPCODE_BRAF(op) (((op) & 0xf0ff) == 0x0023) argument [all …]
|
/kernel/linux/linux-4.19/drivers/crypto/sunxi-ss/ |
D | sun4i-ss-hash.c | 23 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_hash_crainit() local 27 memset(op, 0, sizeof(struct sun4i_tfm_ctx)); in sun4i_hash_crainit() 30 op->ss = algt->ss; in sun4i_hash_crainit() 40 struct sun4i_req_ctx *op = ahash_request_ctx(areq); in sun4i_hash_init() local 45 memset(op, 0, sizeof(struct sun4i_req_ctx)); in sun4i_hash_init() 48 op->mode = algt->mode; in sun4i_hash_init() 55 struct sun4i_req_ctx *op = ahash_request_ctx(areq); in sun4i_hash_export_md5() local 59 octx->byte_count = op->byte_count + op->len; in sun4i_hash_export_md5() 61 memcpy(octx->block, op->buf, op->len); in sun4i_hash_export_md5() 63 if (op->byte_count) { in sun4i_hash_export_md5() [all …]
|
/kernel/linux/linux-4.19/lib/zlib_inflate/ |
D | inffast.c | 89 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 …]
|
/kernel/linux/linux-5.10/lib/zlib_inflate/ |
D | inffast.c | 89 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 …]
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | psobject.c | 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() 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 …]
|
/kernel/linux/linux-4.19/drivers/acpi/acpica/ |
D | psobject.c | 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() 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 …]
|