/linux-6.1.9/fs/ |
D | remap_range.c | 38 loff_t size_in, size_out; in generic_remap_checks() local 50 size_in = i_size_read(inode_in); in generic_remap_checks() 55 (pos_in >= size_in || pos_in + count > size_in || in generic_remap_checks() 60 if (pos_in >= size_in) in generic_remap_checks() 62 count = min(count, size_in - (uint64_t)pos_in); in generic_remap_checks() 75 if (pos_in + count == size_in && in generic_remap_checks() 77 bcount = ALIGN(size_in, bs) - pos_in; in generic_remap_checks()
|
D | read_write.c | 1412 loff_t size_in; in generic_copy_file_checks() local 1451 size_in = i_size_read(inode_in); in generic_copy_file_checks() 1452 if (pos_in >= size_in) in generic_copy_file_checks() 1455 count = min(count, size_in - (uint64_t)pos_in); in generic_copy_file_checks()
|
/linux-6.1.9/tools/testing/cxl/test/ |
D | mem.c | 87 if (cmd->size_in < sizeof(*gl)) in mock_get_log() 146 if (sizeof(*get_lsa) > cmd->size_in) in mock_get_lsa() 165 if (sizeof(*set_lsa) > cmd->size_in) in mock_set_lsa() 168 length = cmd->size_in - sizeof(*set_lsa); in mock_set_lsa() 238 cmd->size_in, cmd->size_out, rc); in cxl_mock_mbox_send()
|
/linux-6.1.9/net/bpf/ |
D | bpf_dummy_struct_ops.c | 23 __u32 size_in; in dummy_ops_init_args() local 28 size_in = kattr->test.ctx_size_in; in dummy_ops_init_args() 29 if (size_in != sizeof(u64) * nr) in dummy_ops_init_args() 37 if (copy_from_user(args->args, ctx_in, size_in)) in dummy_ops_init_args()
|
/linux-6.1.9/drivers/cxl/core/ |
D | mbox.c | 31 .size_in = sin, \ 171 .size_in = in_size, in cxl_mbox_send_cmd() 262 .size_in = in_size, in cxl_mbox_cmd_ctor() 324 .size_in = send_cmd->in.size, in cxl_to_mem_cmd_raw() 358 if ((info->size_in != CXL_VARIABLE_PAYLOAD) && in cxl_to_mem_cmd() 359 (info->size_in != send_cmd->in.size)) in cxl_to_mem_cmd() 371 .size_in = send_cmd->in.size, in cxl_to_mem_cmd() 426 mem_cmd.info.size_in, mem_cmd.info.size_out, in cxl_validate_cmd_from_user() 500 mbox_cmd->opcode, mbox_cmd->size_in); in handle_mailbox_cmd_from_user()
|
/linux-6.1.9/drivers/virt/vboxguest/ |
D | vboxguest_linux.c | 119 if (hdr.size_in < sizeof(hdr) || in vbg_misc_device_ioctl() 123 size = max(hdr.size_in, hdr.size_out); in vbg_misc_device_ioctl() 147 hdr.size_in - sizeof(hdr))) { in vbg_misc_device_ioctl() 151 if (hdr.size_in < size) in vbg_misc_device_ioctl() 152 memset(buf + hdr.size_in, 0, size - hdr.size_in); in vbg_misc_device_ioctl()
|
D | vboxguest_core.c | 1098 if (hdr->size_in != (sizeof(*hdr) + in_size) || in vbg_ioctl_chk() 1240 if (hdr->size_in != sizeof(*hdr) || hdr->size_out != sizeof(*hdr)) in vbg_ioctl_interrupt_all_wait_events() 1356 if (hdr->size_in != hdr->size_out) in vbg_ioctl_vmmrequest() 1359 if (hdr->size_in > VMMDEV_MAX_VMMDEVREQ_SIZE) in vbg_ioctl_vmmrequest() 1475 if (call->hdr.size_in < sizeof(*call)) in vbg_ioctl_hgcm_call() 1478 if (call->hdr.size_in != call->hdr.size_out) in vbg_ioctl_hgcm_call() 1495 if (call->hdr.size_in < actual_size) { in vbg_ioctl_hgcm_call() 1497 call->hdr.size_in, actual_size); in vbg_ioctl_hgcm_call() 1561 vbg_info("%.*s", (int)(log->hdr.size_in - sizeof(log->hdr)), in vbg_ioctl_log() 1688 hdr->size_out = hdr->size_in; in vbg_core_ioctl()
|
/linux-6.1.9/drivers/cxl/ |
D | pci.c | 149 if (mbox_cmd->size_in) { in __cxl_pci_mbox_send_cmd() 154 mbox_cmd->size_in); in __cxl_pci_mbox_send_cmd() 155 memcpy_toio(payload, mbox_cmd->payload_in, mbox_cmd->size_in); in __cxl_pci_mbox_send_cmd()
|
D | cxlmem.h | 103 size_t size_in; member
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | papr_scm.c | 934 u32 size_in; member 943 .size_in = 0, 950 .size_in = 0, 956 .size_in = sizeof(struct nd_papr_pdsm_smart_inject), 962 .size_in = 0, 1002 if (pdsc->size_in && in papr_scm_service_pdsm() 1003 pkg->nd_size_in != (pdsc->size_in + ND_PDSM_HDR_SIZE)) { in papr_scm_service_pdsm()
|
/linux-6.1.9/include/uapi/linux/ |
D | cxl_mem.h | 92 __u32 size_in; member
|
D | vboxguest.h | 29 __u32 size_in; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | port.c | 37 int mlx5_access_reg(struct mlx5_core_dev *dev, void *data_in, int size_in, in mlx5_access_reg() argument 42 int inlen = MLX5_ST_SZ_BYTES(access_register_in) + size_in; in mlx5_access_reg() 54 memcpy(data, data_in, size_in); in mlx5_access_reg() 78 int size_in, void *data_out, int size_out, in mlx5_core_access_reg() argument 81 return mlx5_access_reg(dev, data_in, size_in, data_out, size_out, in mlx5_core_access_reg()
|
/linux-6.1.9/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_pipeline_state.c | 432 static bool scaling_ratio_valid(u32 size_in, u32 size_out, in scaling_ratio_valid() argument 435 if (size_out > size_in * max_upscaling) in scaling_ratio_valid() 437 else if (size_in > size_out * max_downscaling) in scaling_ratio_valid()
|
/linux-6.1.9/include/linux/mlx5/ |
D | driver.h | 1060 int mlx5_access_reg(struct mlx5_core_dev *dev, void *data_in, int size_in, 1064 int size_in, void *data_out, int size_out,
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fw_tracer.c | 831 u32 *in, int size_in) in mlx5_fw_tracer_set_core_dump_reg() argument 839 return mlx5_core_access_reg(dev, in, size_in, out, sizeof(out), in mlx5_fw_tracer_set_core_dump_reg()
|