/linux-master/drivers/net/ethernet/intel/e1000e/ |
H A D | manage.c | 9 * @length: size of EEPROM to calculate a checksum for 11 * Calculates the checksum for some buffer on a specified length. The 14 static u8 e1000_calculate_checksum(u8 *buffer, u32 length) argument 22 for (i = 0; i < length; i++) 153 u16 i, length = sizeof(struct e1000_host_mng_command_header); local 157 hdr->checksum = e1000_calculate_checksum((u8 *)hdr, length); 159 length >>= 2; 161 for (i = 0; i < length; i++) { 173 * @length: size of the buffer 182 u16 length, u1 181 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length, u16 offset, u8 *sum) argument 249 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | mm.c | 38 node->offset, node->length, node->type); 43 node->offset, node->length, node->type); 57 prev->length += this->length; 64 next->length += this->length; 90 if (a->length == size) 98 b->length = size; 102 a->length -= size; 126 e = this->offset + this->length; 240 nvkm_mm_init(struct nvkm_mm *mm, u8 heap, u32 offset, u32 length, u32 block) argument [all...] |
/linux-master/drivers/infiniband/sw/rxe/ |
H A D | rxe_mr.c | 27 int mr_check_range(struct rxe_mr *mr, u64 iova, size_t length) argument 36 iova + length > mr->ibmr.iova + mr->ibmr.length) { 37 rxe_dbg_mr(mr, "iova/length out of range\n"); 129 int rxe_mr_init_user(struct rxe_dev *rxe, u64 start, u64 length, argument 139 umem = ib_umem_get(&rxe->ib_dev, start, length, access); 246 unsigned int length, enum rxe_mr_copy_dir dir) 254 while (length) { 259 bytes = min_t(unsigned int, length, 270 length 245 rxe_mr_copy_xarray(struct rxe_mr *mr, u64 iova, void *addr, unsigned int length, enum rxe_mr_copy_dir dir) argument 277 rxe_mr_copy_dma(struct rxe_mr *mr, u64 dma_addr, void *addr, unsigned int length, enum rxe_mr_copy_dir dir) argument 304 rxe_mr_copy(struct rxe_mr *mr, u64 iova, void *addr, unsigned int length, enum rxe_mr_copy_dir dir) argument 332 copy_data( struct rxe_pd *pd, int access, struct rxe_dma_info *dma, void *addr, int length, enum rxe_mr_copy_dir dir) argument 424 rxe_flush_pmem_iova(struct rxe_mr *mr, u64 iova, unsigned int length) argument 583 advance_dma_data(struct rxe_dma_info *dma, unsigned int length) argument [all...] |
/linux-master/security/selinux/ |
H A D | selinuxfs.c | 127 ssize_t length; local 129 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", 131 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length); 140 ssize_t length; local 155 length = -EINVAL; 163 length = avc_has_perm(current_sid(), SECINITSID_SECURITY, 166 if (length) 184 length = count; 187 return length; 203 ssize_t length; local 276 ssize_t length; local 315 ssize_t length; local 346 ssize_t length; local 576 ssize_t length; local 636 ssize_t length; local 669 ssize_t length; local 680 ssize_t length; local 860 ssize_t length; local 908 ssize_t length; local 1008 ssize_t length; local 1065 ssize_t length; local 1128 ssize_t length; local 1200 ssize_t length; local 1241 ssize_t length; local 1298 ssize_t length; local 1411 ssize_t length; local 1460 ssize_t length; local 1478 ssize_t length; local 1751 ssize_t length; local [all...] |
/linux-master/arch/s390/include/asm/ |
H A D | extmem.h | 24 int segment_load (char *name, int segtype, unsigned long *addr, unsigned long *length);
|
/linux-master/include/uapi/linux/ |
H A D | aspeed-p2a-ctrl.h | 40 __u32 length; member in struct:aspeed_p2a_ctrl_mapping 48 * starting address and length to be readable by the host, or 55 * This IOCTL is meant to read back to the user the base address and length of
|
H A D | blkpg.h | 30 long long length; /* length in bytes */ member in struct:blkpg_partition
|
/linux-master/arch/powerpc/include/asm/ |
H A D | nvram.h | 45 extern int nvram_write_error_log(char * buff, int length, 47 extern int nvram_read_error_log(char * buff, int length, 85 int length, unsigned int *err_type, 90 char *buff, int length,
|
/linux-master/sound/usb/line6/ |
H A D | midi.h | 45 int length);
|
H A D | capture.h | 21 int length);
|
/linux-master/arch/arm/crypto/ |
H A D | crct10dif-ce-glue.c | 33 unsigned int length) 37 if (length >= CRC_T10DIF_PMULL_CHUNK_SIZE && crypto_simd_usable()) { 39 *crc = crc_t10dif_pmull(*crc, data, length); 42 *crc = crc_t10dif_generic(*crc, data, length); 32 crct10dif_update(struct shash_desc *desc, const u8 *data, unsigned int length) argument
|
/linux-master/include/linux/ |
H A D | surface_acpi_notify.h | 23 * @length: Length of the event's payload data (in bytes). 31 u16 length; member in struct:san_dgpu_event
|
/linux-master/fs/squashfs/ |
H A D | id.c | 63 unsigned int length = SQUASHFS_ID_BLOCK_BYTES(no_ids); local 69 TRACE("In read_id_index_table, length %d\n", length); 78 * The computed size of the index table (length bytes) should exactly 81 if (length != (next_table - id_table_start)) 84 table = squashfs_read_table(sb, id_table_start, length);
|
/linux-master/sound/usb/usx2y/ |
H A D | usx2yhwdeppcm.h | 16 length; member in struct:snd_usx2y_hwdep_pcm_shm::__anon1033
|
/linux-master/fs/xfs/ |
H A D | xfs_icreate_item.h | 19 unsigned int inode_size, xfs_agblock_t length,
|
/linux-master/drivers/media/platform/st/sti/delta/ |
H A D | delta-mjpeg.h | 22 unsigned int length; member in struct:mjpeg_header
|
/linux-master/include/media/ |
H A D | videobuf2-memops.h | 37 unsigned long length,
|
/linux-master/drivers/acpi/acpica/ |
H A D | nsconvert.c | 58 if (original_object->buffer.length > 8) { 64 for (i = 0; i < original_object->buffer.length; i++) { 103 acpi_size length; local 138 length = 0; 139 while ((length < original_object->buffer.length) && 140 (original_object->buffer.pointer[length])) { 141 length++; 146 new_object = acpi_ut_create_string_object(length); 156 original_object->buffer.pointer, length); [all...] |
/linux-master/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixmap.c | 55 * length - How much memory to map 63 void *acpi_os_map_memory(acpi_physical_address where, acpi_size length) argument 81 /* Map the table header to get the length of the full table */ 83 mapped_memory = mmap(NULL, (length + offset), PROT_READ, MMAP_FLAGS, 100 * length - How much memory to unmap 109 void acpi_os_unmap_memory(void *where, acpi_size length) argument 116 munmap((u8 *)where - offset, (length + offset));
|
/linux-master/drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/generated/ |
H A D | g_os_nvoc.h | 34 NvU32 length; member in struct:PACKED_REGISTRY_ENTRY
|
/linux-master/arch/powerpc/include/uapi/asm/ |
H A D | papr-sysparm.h | 16 __u16 length; member in struct:papr_sysparm_io_block 26 * firmware. So the @length and @data of the incoming 30 * (but not required) to zero-initialize @length and @data in the 36 * 0: Success; @length is the length of valid data in @data, not to exceed @PAPR_SYSPARM_MAX_OUTPUT. 38 * -EINVAL: Incorrect data length or format. (-9999) 52 * -EINVAL: Incorrect data length or format. (-9999)
|
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | radix-sort.c | 23 /* Sort keys are pointers to immutable fixed-length arrays of bytes. */ 53 u16 length; member in struct:task 65 /* Compare a segment of two fixed-length keys starting at an offset. */ 66 static inline int compare(sort_key_t key1, sort_key_t key2, u16 offset, u16 length) argument 68 return memcmp(&key1[offset], &key2[offset], length); 79 (compare(unsorted, next[0], task.offset, task.length) < 0)) 100 u32 count, u16 offset, u16 length) 107 task->length = length; 168 * @length 99 push_task(struct task **stack_pointer, sort_key_t *first_key, u32 count, u16 offset, u16 length) argument 172 push_bins(struct task **stack, struct task *end_of_stack, struct task **list, sort_key_t *pile[], struct histogram *bins, sort_key_t *first_key, u16 offset, u16 length) argument 234 uds_radix_sort(struct radix_sorter *sorter, const unsigned char *keys[], unsigned int count, unsigned short length) argument [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_dir2_data.c | 155 if (!bf[0].length) { 160 if (!bf[1].length) { 165 if (!bf[2].length) { 171 if (be16_to_cpu(bf[0].length) < be16_to_cpu(bf[1].length)) 173 if (be16_to_cpu(bf[1].length) < be16_to_cpu(bf[2].length)) 192 if (offset + be16_to_cpu(dup->length) > end) 206 if (be16_to_cpu(dup->length) > 207 be16_to_cpu(bf[2].length)) [all...] |
/linux-master/arch/x86/kernel/ |
H A D | probe_roms.c | 190 static int __init romchecksum(const unsigned char *rom, unsigned long length) argument 194 for (sum = 0; length && get_kernel_nofault(c, rom++) == 0; length--) 196 return !length && !sum; 201 unsigned long start, length, upper; local 218 /* 0 < length <= 0x7f * 512, historically */ 219 length = c * 512; 221 /* if checksum okay, trust length byte */ 222 if (length && romchecksum(rom, length)) [all...] |
/linux-master/drivers/firmware/efi/ |
H A D | embedded-firmware.c | 52 for (i = 0; (i + desc->length) <= size; i += 8) { 56 sha256(map + i, desc->length, hash); 60 if ((i + desc->length) > size) { 73 fw->data = kmemdup(map + i, desc->length, GFP_KERNEL); 81 fw->length = desc->length; 143 *size = fw->length;
|