| /linux/fs/afs/ |
| H A D | rotate.c | 18 void afs_clear_server_states(struct afs_operation *op) in afs_clear_server_states() argument 22 if (op->server_states) { in afs_clear_server_states() 23 for (i = 0; i < op->server_list->nr_servers; i++) in afs_clear_server_states() 24 afs_put_endpoint_state(op->server_states[i].endpoint_state, in afs_clear_server_states() 26 kfree(op->server_states); in afs_clear_server_states() 34 static bool afs_start_fs_iteration(struct afs_operation *op, in afs_start_fs_iteration() argument 41 trace_afs_rotate(op, afs_rotate_trace_start, 0); in afs_start_fs_iteration() 43 read_lock(&op->volume->servers_lock); in afs_start_fs_iteration() 44 op->server_list = afs_get_serverlist( in afs_start_fs_iteration() 45 rcu_dereference_protected(op->volume->servers, in afs_start_fs_iteration() [all …]
|
| 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 = atomic_read(&volume->cb_v_break); in afs_alloc_operation() 42 op->pre_volsync.creation = volume->creation_time; in afs_alloc_operation() 43 op->pre_volsync.update = volume->update_time; in afs_alloc_operation() [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 | 664 static void afs_do_lookup_success(struct afs_operation *op) in afs_do_lookup_success() argument 674 for (i = 0; i < op->nr_files; i++) { in afs_do_lookup_success() 677 vp = &op->file[0]; in afs_do_lookup_success() 680 op->call_abort_code = abort_code; in afs_do_lookup_success() 681 afs_op_set_error(op, afs_abort_to_error(abort_code)); in afs_do_lookup_success() 682 op->cumul_error.abort_code = abort_code; in afs_do_lookup_success() 687 vp = &op->file[1]; in afs_do_lookup_success() 691 vp = &op->more_files[i - 2]; in afs_do_lookup_success() 696 trace_afs_bulkstat_error(op, &vp->fid, i, vp->scb.status.abort_code); in afs_do_lookup_success() 703 afs_vnode_commit_status(op, vp); in afs_do_lookup_success() [all …]
|
| H A D | yfsclient.c | 333 struct afs_operation *op = call->op; in yfs_deliver_status_and_volsync() local 342 xdr_decode_YFSFetchStatus(&bp, call, &op->file[0].scb); in yfs_deliver_status_and_volsync() 343 xdr_decode_YFSVolSync(&bp, &op->volsync); in yfs_deliver_status_and_volsync() 354 struct afs_operation *op = call->op; in yfs_deliver_fs_fetch_data64() local 355 struct netfs_io_subrequest *subreq = op->fetch.subreq; in yfs_deliver_fs_fetch_data64() 356 struct afs_vnode_param *vp = &op->file[0]; in yfs_deliver_fs_fetch_data64() 437 xdr_decode_YFSVolSync(&bp, &op->volsync); in yfs_deliver_fs_fetch_data64() 458 .op = yfs_FS_FetchData64, 468 void yfs_fs_fetch_data(struct afs_operation *op) in yfs_fs_fetch_data() argument 470 struct netfs_io_subrequest *subreq = op->fetch.subreq; in yfs_fs_fetch_data() [all …]
|
| /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() 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/net/can/ |
| H A D | bcm.c | 213 struct bcm_op *op; in bcm_proc_show() local 224 list_for_each_entry_rcu(op, &bo->rx_ops, list) { in bcm_proc_show() 229 if (!op->frames_abs) in bcm_proc_show() 232 seq_printf(m, "rx_op: %03X %-5s ", op->can_id, in bcm_proc_show() 233 bcm_proc_getifname(net, ifname, op->ifindex)); in bcm_proc_show() 235 if (op->flags & CAN_FD_FRAME) in bcm_proc_show() 236 seq_printf(m, "(%u)", op->nframes); in bcm_proc_show() 238 seq_printf(m, "[%u]", op->nframes); in bcm_proc_show() 240 seq_printf(m, "%c ", (op->flags & RX_CHECK_DLC) ? 'd' : ' '); in bcm_proc_show() 242 if (op in bcm_proc_show() 291 bcm_can_tx(struct bcm_op * op) bcm_can_tx() argument 352 bcm_send_to_user(struct bcm_op * op,struct bcm_msg_head * head,struct canfd_frame * frames,int has_timestamp) bcm_send_to_user() argument 427 bcm_tx_set_expiry(struct bcm_op * op,struct hrtimer * hrt) bcm_tx_set_expiry() argument 442 bcm_tx_start_timer(struct bcm_op * op) bcm_tx_start_timer() argument 451 struct bcm_op *op = container_of(hrtimer, struct bcm_op, timer); bcm_tx_timeout_handler() local 482 bcm_rx_changed(struct bcm_op * op,struct canfd_frame * data) bcm_rx_changed() argument 513 bcm_rx_update_and_send(struct bcm_op * op,struct canfd_frame * lastdata,const struct canfd_frame * rxdata,unsigned char traffic_flags) bcm_rx_update_and_send() argument 561 bcm_rx_cmp_to_index(struct bcm_op * op,unsigned int index,const struct canfd_frame * rxdata,unsigned char traffic_flags) bcm_rx_cmp_to_index() argument 601 bcm_rx_starttimer(struct bcm_op * op) bcm_rx_starttimer() argument 613 struct bcm_op *op = container_of(hrtimer, struct bcm_op, timer); bcm_rx_timeout_handler() local 640 bcm_rx_do_flush(struct bcm_op * op,unsigned int index) bcm_rx_do_flush() argument 654 bcm_rx_thr_flush(struct bcm_op * op) bcm_rx_thr_flush() argument 679 struct bcm_op *op = container_of(hrtimer, struct bcm_op, thrtimer); bcm_rx_thr_handler() local 696 struct bcm_op *op = (struct bcm_op *)data; bcm_rx_handler() local 780 struct bcm_op *op; bcm_find_op() local 793 struct bcm_op *op = container_of(rcu_head, struct bcm_op, rcu); bcm_free_op_rcu() local 804 bcm_remove_op(struct bcm_op * op) bcm_remove_op() argument 812 bcm_rx_unreg(struct net_device * dev,struct bcm_op * op) bcm_rx_unreg() argument 831 struct bcm_op *op, *n; bcm_delete_rx_op() local 882 struct bcm_op *op, *n; bcm_delete_tx_op() local 902 struct bcm_op *op = bcm_find_op(ops, msg_head, ifindex); bcm_read_op() local 926 struct bcm_op *op; bcm_tx_setup() local 1113 struct bcm_op *op; bcm_rx_setup() local 1481 struct bcm_op *op; bcm_notify() local 1582 struct bcm_op *op, *next; bcm_release() local [all...] |
| /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 …]
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-etm4x.h | 262 #define ETE_ONLY_SYSREG_LIST(op, val) \ argument 263 CASE_##op((val), TRCRSR) \ 264 CASE_##op((val), TRCEXTINSELRn(1)) \ 265 CASE_##op((val), TRCEXTINSELRn(2)) \ 266 CASE_##op((val), TRCEXTINSELRn(3)) 269 #define ETM4x_ONLY_SYSREG_LIST(op, val) \ argument 270 CASE_##op((val), TRCPROCSELR) \ 271 CASE_##op((val), TRCOSLAR) 273 #define ETM_COMMON_SYSREG_LIST(op, val) \ argument 274 CASE_##op((val), TRCPRGCTLR) \ [all …]
|
| /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 …]
|
| /linux/tools/objtool/arch/x86/ |
| H A D | decode.c | 169 #define ADD_OP(op) \ in arch_decode_instruction() 170 if (!(op = calloc(1, sizeof(*op)))) \ in arch_decode_instruction() 172 else for (*ops_list = op, ops_list = &op->next; op; op = NULL) in arch_decode_instruction() 229 struct stack_op *op = NULL; in arch_decode_instruction() 285 ADD_OP(op) { in arch_decode_instruction() 286 op in arch_decode_instruction() 105 ADD_OP(op) global() argument 165 struct stack_op *op = NULL; arch_decode_instruction() local [all...] |
| /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 …]
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_static_config.c | 53 size_t len, enum packing_op op) in sja1105_packing() argument 55 int rc = packing(buf, val, start, end, len, op, QUIRK_LSW32_IS_FIRST); in sja1105_packing() 91 enum packing_op op) in sja1105et_avb_params_entry_packing() argument 96 sja1105_packing(buf, &entry->destmeta, 95, 48, size, op); in sja1105et_avb_params_entry_packing() 97 sja1105_packing(buf, &entry->srcmeta, 47, 0, size, op); in sja1105et_avb_params_entry_packing() 102 enum packing_op op) in sja1105pqrs_avb_params_entry_packing() argument 107 sja1105_packing(buf, &entry->cas_master, 126, 126, size, op); in sja1105pqrs_avb_params_entry_packing() 108 sja1105_packing(buf, &entry->destmeta, 125, 78, size, op); in sja1105pqrs_avb_params_entry_packing() 109 sja1105_packing(buf, &entry->srcmeta, 77, 30, size, op); in sja1105pqrs_avb_params_entry_packing() 114 enum packing_op op) in sja1105et_general_params_entry_packing() argument [all …]
|
| H A D | sja1105_dynamic_config.c | 200 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/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 …]
|
| /linux/drivers/acpi/acpica/ |
| H A 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 …]
|
| H A D | psutils.c | 56 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 …]
|
| H A D | dswload.c | 106 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 …]
|
| H A D | dswexec.c | 78 status = acpi_ds_create_operand(walk_state, walk_state->op, 0); in acpi_ds_get_predicate_value() 148 walk_state->op)); in acpi_ds_get_predicate_value() 186 union acpi_parse_object *op; in acpi_ds_exec_begin_op() local 192 op = walk_state->op; in acpi_ds_exec_begin_op() 193 if (!op) { in acpi_ds_exec_begin_op() 199 op = *out_op; in acpi_ds_exec_begin_op() 200 walk_state->op = op; in acpi_ds_exec_begin_op() 201 walk_state->opcode = op->common.aml_opcode; in acpi_ds_exec_begin_op() 203 acpi_ps_get_opcode_info(op->common.aml_opcode); in acpi_ds_exec_begin_op() 211 op)); in acpi_ds_exec_begin_op() [all …]
|
| /linux/lib/zlib_inflate/ |
| H A 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 …]
|
| /linux/drivers/spi/ |
| 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-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 …]
|
| /linux/arch/x86/include/asm/ |
| H A D | paravirt_types.h | 238 #define paravirt_ptr(op) [paravirt_opptr] "m" (pv_ops.op) argument 364 #define PVOP_TEST_NULL(op) BUG_ON(pv_ops.op == NULL) argument 366 #define PVOP_TEST_NULL(op) ((void)pv_ops.op) argument 394 #define ____PVOP_CALL(ret, op, call_clbr, extra_clbr, ...) \ argument 397 PVOP_TEST_NULL(op); \ 401 : paravirt_ptr(op), \ 407 #define ____PVOP_ALT_CALL(ret, op, alt, cond, call_clbr, \ argument 411 PVOP_TEST_NULL(op); \ 416 : paravirt_ptr(op), \ 422 #define __PVOP_CALL(rettype, op, ...) \ argument [all …]
|
| /linux/arch/xtensa/include/asm/ |
| H A D | atomic.h | 58 #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/drivers/xen/xen-pciback/ |
| H A D | pciback_ops.c | 143 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 …]
|