/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | swap.c | 23 u32 length = 0; local 29 * The format is Address, length and value. The last 4-bytes is 35 payload_len = __le32_to_cpu(swap_item->tlv.length); 39 ath10k_err(ar, "refusing to parse invalid tlv length %d\n", 57 length = payload_len + sizeof(struct ath10k_swap_code_seg_tlv); 58 size_left -= length; 59 fw_data += length;
|
H A D | bmi.h | 42 /* len = cmd + addr + length */ 51 /* len = cmd + addr + length */ 141 __le32 patch_ids[]; /* length of @count */ 145 __le32 patch_ids[]; /* length of @count */ 152 u8 payload[]; /* length of @len */ 204 __le32 length; member in struct:bmi_segmented_metadata 211 /* Special values for bmi_segmented_metadata.length (all have high bit set) */ 238 void *buffer, u32 length); 240 const void *buffer, u32 length); 269 int ath10k_bmi_lz_data(struct ath10k *ar, const void *buffer, u32 length); [all...] |
/linux-master/net/ceph/ |
H A D | ceph_hash.c | 23 unsigned int ceph_str_hash_rjenkins(const char *str, unsigned int length) argument 30 len = length; 49 c = c + length; 59 /* the first byte of c is reserved for the length */ 94 unsigned int ceph_str_hash_linux(const char *str, unsigned int length) argument 99 while (length--) {
|
H A D | pagelist.c | 19 pl->length = 0; 80 memcpy(pl->mapped_tail + (pl->length & ~PAGE_MASK), 82 pl->length += bit; 91 memcpy(pl->mapped_tail + (pl->length & ~PAGE_MASK), buf, len); 92 pl->length += len;
|
/linux-master/net/wireless/ |
H A D | wext-spy.c | 52 if (wrqu->data.length > 0) { 56 for (i = 0; i < wrqu->data.length; i++) 68 spydata->spy_number = wrqu->data.length; 87 wrqu->data.length = spydata->spy_number; 170 wrqu.data.length = 1;
|
H A D | wext-core.c | 513 if (wrqu->data.length > descr->max_tokens) { 515 cmd, wrqu->data.length); 518 if (wrqu->data.length < descr->min_tokens) { 520 cmd, wrqu->data.length); 525 extra_len = wrqu->data.length * descr->token_size; 530 /* Total length of the event */ 618 compat_wrqu.length = wrqu->data.length; 690 wrqu->data.length = sizeof(struct iw_statistics); 758 if (iwp->length [all...] |
/linux-master/drivers/i2c/ |
H A D | i2c-core-smbus.c | 81 message length to hide the CRC byte from the caller). */ 245 * @length: Size of data block; SMBus allows at most 32 bytes 252 u8 length, const u8 *values) 256 if (length > I2C_SMBUS_BLOCK_MAX) 257 length = I2C_SMBUS_BLOCK_MAX; 258 data.block[0] = length; 259 memcpy(&data.block[1], values, length); 268 u8 length, u8 *values) 273 if (length > I2C_SMBUS_BLOCK_MAX) 274 length 251 i2c_smbus_write_block_data(const struct i2c_client *client, u8 command, u8 length, const u8 *values) argument 267 i2c_smbus_read_i2c_block_data(const struct i2c_client *client, u8 command, u8 length, u8 *values) argument 287 i2c_smbus_write_i2c_block_data(const struct i2c_client *client, u8 command, u8 length, const u8 *values) argument 640 i2c_smbus_read_i2c_block_data_or_emulated(const struct i2c_client *client, u8 command, u8 length, u8 *values) argument [all...] |
/linux-master/include/uapi/linux/ |
H A D | ndctl.h | 56 __u64 length; member in struct:nd_cmd_ars_cap 66 __u64 length; member in struct:nd_cmd_ars_start 78 __u64 length; member in struct:nd_cmd_ars_status 88 __u64 length; member in struct:nd_cmd_ars_status::nd_ars_record 94 __u64 length; member in struct:nd_cmd_clear_error
|
/linux-master/arch/arm/mach-footbridge/ |
H A D | common.c | 222 .length = ARMCSR_SIZE, 228 .length = PCIMEM_SIZE, 233 .length = PCICFG0_SIZE, 238 .length = PCICFG1_SIZE, 243 .length = PCIIACK_SIZE,
|
/linux-master/tools/testing/radix-tree/ |
H A D | Makefile | 28 targets: generated/map-shift.h generated/bit-length.h $(TARGETS) 42 $(RM) $(TARGETS) *.o radix-tree.c idr.c generated/map-shift.h generated/bit-length.h 46 $(OFILES): Makefile *.h */*.h generated/map-shift.h generated/bit-length.h \ 71 generated/bit-length.h: FORCE 72 @if ! grep -qws CONFIG_$(LONG_BIT)BIT generated/bit-length.h; then \
|
/linux-master/drivers/misc/mei/ |
H A D | interrupt.c | 64 * @discard_len: the length of the message to discard (excluding header) 76 * that length fits into rd_msg_buf 105 u32 length; local 108 length = mei_hdr->length; 112 length -= ext_len; 180 if (length) { 200 length = mei_hdr->extension[mei_data2slots(ext_len)]; 202 buf_sz = length + cb->buf_idx; 206 length, c [all...] |
/linux-master/drivers/s390/scsi/ |
H A D | zfcp_qdio.h | 140 sbale->length = len; 148 * @len: length of data 163 sbale->length = len; 191 return sg_is_last(sg) && sg->length <= ZFCP_QDIO_SBALE_LEN; 235 sbale->length = count; 248 real_bytes += sg->length;
|
/linux-master/arch/x86/kernel/ |
H A D | mpparse.c | 149 if (mpf_checksum((unsigned char *)mpc, mpc->length)) { 186 1, mpc, mpc->length, 1); 208 while (count < mpc->length) { 235 count = mpc->length; 418 size = mpc->length; 557 static int __init smp_scan_config(unsigned long base, unsigned long length) argument 564 base, base + length - 1); 567 while (length > 0) { 568 bp = early_memremap(base, length); 571 (mpf->length [all...] |
/linux-master/fs/netfs/ |
H A D | misc.c | 173 * @length: Length of the invalidated region 178 void netfs_invalidate_folio(struct folio *folio, size_t offset, size_t length) argument 183 _enter("{%lx},%zx,%zx", folio->index, offset, length); 190 if (offset == 0 && length >= flen) 197 unsigned int end = offset + length; 222 finfo->dirty_len = offset + length - finfo->dirty_offset;
|
/linux-master/drivers/thunderbolt/ |
H A D | dma_port.c | 89 u32 port, u32 offset, u32 length, int timeout_msec) 98 .length = length, 115 req->response_size = 12 + 4 * length; 125 memcpy(buffer, &reply.data, 4 * length); 130 u32 port, u32 offset, u32 length, int timeout_msec) 139 .length = length, 146 memcpy(&request.data, buffer, length * 4); 155 req->request_size = 12 + 4 * length; 88 dma_port_read(struct tb_ctl *ctl, void *buffer, u64 route, u32 port, u32 offset, u32 length, int timeout_msec) argument 129 dma_port_write(struct tb_ctl *ctl, const void *buffer, u64 route, u32 port, u32 offset, u32 length, int timeout_msec) argument [all...] |
/linux-master/drivers/platform/x86/dell/ |
H A D | dell-smbios-wmi.c | 60 input.length = priv->req_buf_size - sizeof(u64); 80 memcpy(input.pointer, obj->buffer.pointer, obj->buffer.length); 126 static ssize_t dell_smbios_wmi_read(struct file *filp, char __user *buffer, size_t length, argument 131 return simple_read_from_buffer(buffer, length, offset, &priv->req_buf_size, 140 if (get_user(priv->buf->length, &arg->length)) 143 if (priv->buf->length < priv->req_buf_size) 147 if (priv->buf->length > priv->req_buf_size) 149 priv->buf->length, priv->req_buf_size); 255 /* add in the length objec [all...] |
/linux-master/arch/arm/mach-s3c/ |
H A D | s3c64xx.c | 102 .length = SZ_4K, 107 .length = SZ_4K, 112 .length = SZ_4K, 117 .length = SZ_16K, 122 .length = SZ_16K, 127 .length = SZ_16K, 132 .length = SZ_4K, 137 .length = SZ_4K, 142 .length = SZ_4K, 147 .length [all...] |
/linux-master/fs/btrfs/ |
H A D | zoned.h | 73 u64 length, u64 *bytes); 81 int btrfs_zoned_issue_zeroout(struct btrfs_device *device, u64 physical, u64 length); 88 u64 length); 95 u64 length); 177 u64 physical, u64 length, u64 *bytes) 213 u64 physical, u64 length) 242 u64 logical, u64 length) { } 257 u64 logical, u64 length) { } 351 u64 physical, u64 length) 359 if (!IS_ALIGNED(physical, zone_size) || !IS_ALIGNED(length, zone_siz 176 btrfs_reset_device_zone(struct btrfs_device *device, u64 physical, u64 length, u64 *bytes) argument 212 btrfs_zoned_issue_zeroout(struct btrfs_device *device, u64 physical, u64 length) argument 241 btrfs_zone_finish_endio(struct btrfs_fs_info *fs_info, u64 logical, u64 length) argument 256 btrfs_zoned_release_data_reloc_bg(struct btrfs_fs_info *fs_info, u64 logical, u64 length) argument 350 btrfs_can_zone_reset(struct btrfs_device *device, u64 physical, u64 length) argument [all...] |
/linux-master/drivers/iio/chemical/ |
H A D | pms7003.c | 68 u16 length; member in struct:pms7003_frame 197 (frame->length >> 8) + (u8)frame->length; 200 for (i = 0; i < frame->length - PMS7003_CHECKSUM_LENGTH; i++) 208 int offset = frame->length - PMS7003_CHECKSUM_LENGTH; 225 /* wait for SOF and data length */ 236 frame->length = 0; 242 num = min(size, (size_t)(frame->expected_length - frame->length)); 243 memcpy(frame->data + frame->length, buf, num); 244 frame->length [all...] |
/linux-master/drivers/hid/surface-hid/ |
H A D | surface_kbd.c | 45 rqst.length = sizeof(entry); 49 rsp.length = 0; 56 if (rsp.length != len) { 57 dev_err(shid->dev, "invalid descriptor length: got %zu, expected, %zu\n", 58 rsp.length, len); 75 rqst.length = sizeof(value_u8); 93 rqst.length = sizeof(payload); 97 rsp.length = 0; 104 if (rsp.length != len) { 105 dev_err(shid->dev, "invalid feature report length [all...] |
/linux-master/lib/lz4/ |
H A D | lz4hc_compress.c | 271 int length; local 274 /* Encode Literal length */ 275 length = (int)(*ip - *anchor); 279 && ((*op + (length>>8) 280 + length + (2 + 1 + LASTLITERALS)) > oend)) { 284 if (length >= (int)RUN_MASK) { 288 len = length - RUN_MASK; 293 *token = (BYTE)(length<<ML_BITS); 296 LZ4_wildCopy(*op, *anchor, (*op) + length); 297 *op += length; [all...] |
/linux-master/drivers/scsi/esas2r/ |
H A D | esas2r_int.c | 704 u16 target, u32 length) 707 u32 cplen = length; 753 u32 length = le32_to_cpu(rq->func_rsp.ae_rsp.length); local 756 + length); 759 esas2r_trace("length: %d", length); 761 if (length > sizeof(struct atto_vda_ae_data) 762 || (length & 3) != 0 763 || length 703 esas2r_lun_event(struct esas2r_adapter *a, union atto_vda_ae *ae, u16 target, u32 length) argument [all...] |
/linux-master/net/nfc/ |
H A D | llcp_commands.c | 81 u8 *tlv, length; local 88 length = llcp_tlv_length[type]; 89 if (length == 0 && value_length == 0) 91 else if (length == 0) 92 length = value_length; 94 *tlv_length = 2 + length; 95 tlv = kzalloc(2 + length, GFP_KERNEL); 100 tlv[1] = length; 101 memcpy(tlv + 2, value, length); 196 u8 type, length, offse local 246 u8 type, length, offset = 0; local [all...] |
/linux-master/drivers/pci/hotplug/ |
H A D | cpqphp_ctrl.c | 295 * sort_by_size - sort nodes on the list by their length, smallest first. 315 ((*head)->length > (*head)->next->length)) { 326 if (current_res->next->length > current_res->next->next->length) { 343 * sort_by_max_size - sort nodes on the list by their length, largest first. 363 ((*head)->length < (*head)->next->length)) { 374 if (current_res->next->length < current_res->next->next->length) { [all...] |
/linux-master/drivers/staging/vt6656/ |
H A D | usbpipe.c | 13 * vnt_control_out - Write variable length bytes to MEM/BB/MAC/EEPROM 14 * vnt_control_in - Read variable length bytes from MEM/BB/MAC/EEPROM 35 u16 index, u16 length, const u8 *buffer) 47 usb_buffer = kmemdup(buffer, length, GFP_KERNEL); 56 index, usb_buffer, length, USB_CTL_WAIT); 60 if (ret == (int)length) 78 u16 block, u8 reg, u16 length, const u8 *data) 82 for (i = 0; i < length; i += block) { 83 u16 len = min_t(int, length - i, block); 95 u16 index, u16 length, u 34 vnt_control_out(struct vnt_private *priv, u8 request, u16 value, u16 index, u16 length, const u8 *buffer) argument 77 vnt_control_out_blocks(struct vnt_private *priv, u16 block, u8 reg, u16 length, const u8 *data) argument 94 vnt_control_in(struct vnt_private *priv, u8 request, u16 value, u16 index, u16 length, u8 *buffer) argument [all...] |