/linux/sound/usb/line6/ |
A D | midibuf.c | 85 int length) in line6_midibuf_write() argument 96 --length; in line6_midibuf_write() 102 if (length > bytes_free) in line6_midibuf_write() 103 length = bytes_free; in line6_midibuf_write() 105 if (length > 0) { in line6_midibuf_write() 128 int length) in line6_midibuf_read() argument 138 if (length < 3) in line6_midibuf_read() 147 length = bytes_used; in line6_midibuf_read() 210 length = midi_length; in line6_midibuf_read() 237 length = bytes_used; in line6_midibuf_ignore() [all …]
|
/linux/drivers/acpi/acpica/ |
A D | exstorob.c | 33 u32 length; in acpi_ex_store_buffer_to_buffer() local 47 length = source_desc->buffer.length; in acpi_ex_store_buffer_to_buffer() 60 target_desc->buffer.length = length; in acpi_ex_store_buffer_to_buffer() 65 if (length <= target_desc->buffer.length) { in acpi_ex_store_buffer_to_buffer() 70 target_desc->buffer.length); in acpi_ex_store_buffer_to_buffer() 92 target_desc->buffer.length = length; in acpi_ex_store_buffer_to_buffer() 103 length, target_desc->buffer.length)); in acpi_ex_store_buffer_to_buffer() 130 u32 length; in acpi_ex_store_string_to_string() local 144 length = source_desc->string.length; in acpi_ex_store_string_to_string() 150 if ((length < target_desc->string.length) && in acpi_ex_store_string_to_string() [all …]
|
A D | utids.c | 40 u32 length; in acpi_ut_execute_HID() local 57 length = obj_desc->string.length + 1; in acpi_ut_execute_HID() 83 hid->length = length; in acpi_ut_execute_HID() 118 u32 length; in acpi_ut_execute_UID() local 135 length = obj_desc->string.length + 1; in acpi_ut_execute_UID() 161 uid->length = length; in acpi_ut_execute_UID() 204 u32 length; in acpi_ut_execute_CID() local 293 length = cid_objects[i]->string.length + 1; in acpi_ut_execute_CID() 297 cid_list->ids[i].length = length; in acpi_ut_execute_CID() 342 u32 length; in acpi_ut_execute_CLS() local [all …]
|
A D | tbfadt.c | 37 u16 length; member 278 u32 length; in acpi_tb_parse_fadt() local 295 length = fadt_desc->length; in acpi_tb_parse_fadt() 366 length, in acpi_tb_create_local_fadt() 444 u8 length; in acpi_tb_convert_fadt() local 502 length = *ACPI_ADD_PTR(u8, in acpi_tb_convert_fadt() 567 ACPI_MUL_8(length), in acpi_tb_convert_fadt() 587 length, in acpi_tb_convert_fadt() 605 length)); in acpi_tb_convert_fadt() 618 (length ? "Length" : in acpi_tb_convert_fadt() [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_net_ctrl.c | 30 if (length < 32) { in nfp_net_tls_parse_crypto_ops() 33 length, offset); in nfp_net_tls_parse_crypto_ops() 74 offset, length); in nfp_net_tlv_caps_parse() 85 if (!length) in nfp_net_tlv_caps_parse() 89 offset, length); in nfp_net_tlv_caps_parse() 92 if (length != 4) { in nfp_net_tlv_caps_parse() 95 length, offset); in nfp_net_tlv_caps_parse() 102 if (!length) { in nfp_net_tlv_caps_parse() 118 if (length < 4) { in nfp_net_tlv_caps_parse() 127 if (length >= 4) in nfp_net_tlv_caps_parse() [all …]
|
/linux/drivers/video/fbdev/mmp/fb/ |
A D | mmpfb.c | 26 var->green.length == 4 && var->blue.length == 4) { in var_to_pixfmt() 37 var->green.length == 2 && var->blue.length == 2) { in var_to_pixfmt() 48 var->green.length == 16 && var->blue.length == 16) { in var_to_pixfmt() 61 var->green.length <= 6 && var->blue.length <= 5) { in var_to_pixfmt() 62 if (var->transp.length == 0) { in var_to_pixfmt() 74 var->green.length <= 8 && var->blue.length <= 8) { in var_to_pixfmt() 103 var->red.offset = 11; var->red.length = 5; in pixfmt_to_var() 110 var->red.offset = 0; var->red.length = 5; in pixfmt_to_var() 124 var->red.offset = 0; var->red.length = 8; in pixfmt_to_var() 138 var->red.offset = 0; var->red.length = 8; in pixfmt_to_var() [all …]
|
/linux/security/selinux/ |
A D | selinuxfs.c | 171 if (length) in sel_write_enforce() 315 if (length) in sel_write_disable() 627 if (length) in sel_write_load() 687 if (length) in sel_write_context() 691 if (length) in sel_write_context() 695 if (length) in sel_write_context() 736 if (length) in sel_write_checkreqprot() 921 if (length) in sel_write_access() 939 if (length) in sel_write_access() 943 if (length) in sel_write_access() [all …]
|
/linux/fs/ntfs/ |
A D | runlist.c | 177 dst->length += src->length; in __ntfs_rl_merge() 1144 s64 delta, length = rl->length; in ntfs_get_size_for_mapping_pairs() local 1181 s64 length = rl->length; in ntfs_get_size_for_mapping_pairs() local 1346 s64 delta, length = rl->length; in ntfs_mapping_pairs_build() local 1399 s64 length = rl->length; in ntfs_mapping_pairs_build() local 1415 length); in ntfs_mapping_pairs_build() 1668 if (!length) in ntfs_rl_punch_nolock() 1670 if (!rl->length) in ntfs_rl_punch_nolock() 1773 rl->length = length; in ntfs_rl_punch_nolock() 1779 rl->length -= length; in ntfs_rl_punch_nolock() [all …]
|
/linux/include/linux/ |
A D | relay.h | 174 size_t length); 199 length = relay_switch_subbuf(buf, length); in relay_write() 201 buf->offset += length; in relay_write() 219 size_t length) in __relay_write() argument 225 length = relay_switch_subbuf(buf, length); in __relay_write() 227 buf->offset += length; in __relay_write() 248 length = relay_switch_subbuf(buf, length); in relay_reserve() 249 if (!length) in relay_reserve() 253 buf->offset += length; in relay_reserve() 269 size_t length) in subbuf_start_reserve() argument [all …]
|
/linux/drivers/net/arcnet/ |
A D | arc-rawmode.c | 49 if (length > MTU) in rx() 50 ofs = 512 - length; in rx() 52 ofs = 256 - length; in rx() 69 if (length > sizeof(pkt->soft)) in rx() 124 length -= ARC_HDR_SIZE; in prepare_tx() 126 if (length > XMTU) { in prepare_tx() 129 length, XMTU); in prepare_tx() 130 length = XMTU; in prepare_tx() 132 if (length >= MinTU) { in prepare_tx() 135 } else if (length > MTU) { in prepare_tx() [all …]
|
A D | capmode.c | 52 length); in rx() 54 if (length >= MinTU) in rx() 55 ofs = 512 - length; in rx() 57 ofs = 256 - length; in rx() 140 length -= ARC_HDR_SIZE; in prepare_tx() 142 length -= sizeof(int); in prepare_tx() 150 if (length > XMTU) { in prepare_tx() 153 length, XMTU); in prepare_tx() 154 length = XMTU; in prepare_tx() 156 if (length > MinTU) { in prepare_tx() [all …]
|
A D | rfc1051.c | 131 if (length >= MinTU) in rx() 132 ofs = 512 - length; in rx() 134 ofs = 256 - length; in rx() 141 skb_put(skb, length + ARC_HDR_SIZE); in rx() 148 if (length > sizeof(pkt->soft)) in rx() 218 length -= ARC_HDR_SIZE; in prepare_tx() 220 if (length > XMTU) { in prepare_tx() 223 length, XMTU); in prepare_tx() 224 length = XMTU; in prepare_tx() 226 if (length > MinTU) { in prepare_tx() [all …]
|
/linux/drivers/video/fbdev/ |
A D | 68328fb.c | 116 u_long length; in get_line_length() local 119 length = (length + 31) & ~31; in get_line_length() 120 length >>= 3; in get_line_length() 121 return (length); in get_line_length() 193 var->red.length = 1; in mc68x328fb_check_var() 197 var->blue.length = 1; in mc68x328fb_check_var() 203 var->red.length = 8; in mc68x328fb_check_var() 207 var->blue.length = 8; in mc68x328fb_check_var() 234 var->red.length = 8; in mc68x328fb_check_var() 244 var->red.length = 8; in mc68x328fb_check_var() [all …]
|
/linux/fs/squashfs/ |
A D | block.c | 150 if (length) { in squashfs_read_data() 155 length = SQUASHFS_COMPRESSED_SIZE_BLOCK(length); in squashfs_read_data() 157 index, compressed ? "" : "un", length, output->length); in squashfs_read_data() 180 length = data[offset]; in squashfs_read_data() 182 length |= data[offset + 1] << 8; in squashfs_read_data() 189 length |= data[0] << 8; in squashfs_read_data() 195 length = SQUASHFS_COMPRESSED_SIZE(length); in squashfs_read_data() 199 compressed ? "" : "un", length); in squashfs_read_data() 201 if (length < 0 || length > output->length || in squashfs_read_data() 202 (index + length) > msblk->bytes_used) { in squashfs_read_data() [all …]
|
A D | cache.c | 110 entry->length = squashfs_read_data(sb, block, length, in squashfs_cache_get() 115 if (entry->length < 0) in squashfs_cache_get() 294 int offset, int length) in squashfs_copy_data() argument 296 int remaining = length; in squashfs_copy_data() 298 if (length == 0) in squashfs_copy_data() 301 return min(length, entry->length - offset); in squashfs_copy_data() 335 int bytes, res = length; in squashfs_read_metadata() 340 if (unlikely(length < 0)) in squashfs_read_metadata() 343 while (length) { in squashfs_read_metadata() 356 length -= bytes; in squashfs_read_metadata() [all …]
|
/linux/include/rdma/ |
A D | rdmavt_mr.h | 21 size_t length; member 35 size_t length; member 104 u32 len = sge->length; in rvt_get_sge_length() 106 if (len > length) in rvt_get_sge_length() 107 len = length; in rvt_get_sge_length() 119 sge->vaddr += length; in rvt_update_sge() 120 sge->length -= length; in rvt_update_sge() 121 sge->sge_length -= length; in rvt_update_sge() 134 sge->length = sge->mr->map[sge->m]->segs[sge->n].length; in rvt_update_sge() 143 while (length) { in rvt_skip_sge() [all …]
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_opcode.c | 113 .length = RXE_BTH_BYTES, 123 .length = RXE_BTH_BYTES, 133 .length = RXE_BTH_BYTES, 156 .length = RXE_BTH_BYTES, 191 .length = RXE_BTH_BYTES, 201 .length = RXE_BTH_BYTES, 277 .length = RXE_BTH_BYTES, 388 .length = RXE_BTH_BYTES, 398 .length = RXE_BTH_BYTES, 408 .length = RXE_BTH_BYTES, [all …]
|
A D | rxe_mr.c | 35 if (iova < set->iova || length > set->length || in mr_check_range() 36 iova > set->iova + set->length - length) in mr_check_range() 202 if (length > 0) { in rxe_mr_init_user() 233 set->length = length; in rxe_mr_init_user() 275 u64 length; in lookup_iova() local 360 if (length == 0) in rxe_mr_copy() 430 int length, in copy_data() argument 441 if (length == 0) in copy_data() 449 if (sge->length && (offset < sge->length)) { in copy_data() 458 bytes = length; in copy_data() [all …]
|
/linux/net/sunrpc/auth_gss/ |
A D | gss_generic_token.c | 76 der_length_size( int length) in der_length_size() argument 78 if (length < (1<<7)) in der_length_size() 80 else if (length < (1<<8)) in der_length_size() 86 else if (length < (1<<16)) in der_length_size() 88 else if (length < (1<<24)) in der_length_size() 98 if (length < (1<<7)) { in der_write_length() 99 *(*buf)++ = (unsigned char) length; in der_write_length() 103 if (length >= (1<<24)) in der_write_length() 104 *(*buf)++ = (unsigned char) (length>>24); in der_write_length() 105 if (length >= (1<<16)) in der_write_length() [all …]
|
/linux/drivers/cxl/core/ |
A D | regs.c | 64 u32 length; in cxl_probe_component_regs() local 84 map->hdm_decoder.size = length; in cxl_probe_component_regs() 119 u32 offset, length; in cxl_probe_device_regs() local 133 map->status.size = length; in cxl_probe_device_regs() 139 map->mbox.size = length; in cxl_probe_device_regs() 148 map->memdev.size = length; in cxl_probe_device_regs() 163 resource_size_t length) in devm_cxl_iomap_block() argument 189 resource_size_t length; in cxl_map_component_regs() local 216 resource_size_t length; in cxl_map_device_regs() local 227 resource_size_t length; in cxl_map_device_regs() local [all …]
|
/linux/drivers/video/ |
A D | hdmi.c | 113 size_t length; in hdmi_avi_infoframe_pack_only() local 120 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_avi_infoframe_pack_only() 179 return length; in hdmi_avi_infoframe_pack_only() 284 size_t length; in hdmi_spd_infoframe_pack_only() local 291 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_spd_infoframe_pack_only() 313 return length; in hdmi_spd_infoframe_pack_only() 416 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_audio_infoframe_pack_only() 578 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_vendor_infoframe_pack_only() 718 length = HDMI_INFOFRAME_HEADER_SIZE + frame->length; in hdmi_drm_infoframe_pack_only() 1752 hvf->length = length; in hdmi_vendor_any_infoframe_unpack() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/hdcp/ |
A D | hdcp_msg.c | 156 i2c_payloads[1].length = message_info->length; in hdmi_14_process_transaction() 167 i2c_payloads[0].length = message_info->length + 1; in hdmi_14_process_transaction() 226 uint32_t length, in dpcd_access_helper() argument 241 length, in dpcd_access_helper() 247 length, in dpcd_access_helper() 255 while (length > 0) { in dpcd_access_helper() 270 length); in dpcd_access_helper() 272 data += length; in dpcd_access_helper() 273 length = 0; in dpcd_access_helper() 280 while (length > 0) { in dpcd_access_helper() [all …]
|
/linux/arch/arm/mach-omap2/ |
A D | io.c | 72 .length = L3_24XX_SIZE, 78 .length = L4_24XX_SIZE, 112 .length = L4_WK_243X_SIZE, 142 .length = L3_34XX_SIZE, 148 .length = L4_34XX_SIZE, 189 .length = L4_34XX_SIZE, 200 .length = L4_34XX_SIZE, 217 .length = L3_44XX_SIZE, 223 .length = L4_44XX_SIZE, 240 .length = L3_54XX_SIZE, [all …]
|
/linux/tools/firewire/ |
A D | nosy-dump.c | 143 sa->length = length; in subaction_create() 621 if (length == 0) { in handle_packet() 669 if (length > 128) in dump_data() 672 print_length = length; in dump_data() 679 if (print_length < length) in dump_data() 750 if (length == 4) { in print_packet() 835 if (length == 0) in print_stats() 899 int length, retval, view; in main() local 975 if (fread(&length, sizeof length, 1, input) != 1) in main() 997 fwrite(&length, sizeof length, 1, output); in main() [all …]
|
/linux/fs/verity/ |
A D | read_metadata.c | 17 void __user *buf, u64 offset, int length) in fsverity_read_merkle_tree() argument 26 end_offset = min(offset + length, vi->tree_params.tree_size); in fsverity_read_merkle_tree() 89 length = min_t(size_t, length, src_length); in fsverity_read_buffer() 91 if (copy_to_user(dst, src, length)) in fsverity_read_buffer() 94 return length; in fsverity_read_buffer() 98 void __user *buf, u64 offset, int length) in fsverity_read_descriptor() argument 119 void __user *buf, u64 offset, int length) in fsverity_read_signature() argument 157 int length; in fsverity_ioctl_read_metadata() local 175 if (arg.offset + arg.length < arg.offset) in fsverity_ioctl_read_metadata() 179 length = min_t(u64, arg.length, INT_MAX); in fsverity_ioctl_read_metadata() [all …]
|