/linux-master/drivers/acpi/acpica/ |
H A D | exstorob.c | 33 u32 length; local 47 length = source_desc->buffer.length; 50 * If target is a buffer of length zero or is a static buffer, 51 * allocate a new buffer of the proper length 53 if ((target_desc->buffer.length == 0) || 55 target_desc->buffer.pointer = ACPI_ALLOCATE(length); 60 target_desc->buffer.length = length; 65 if (length < 130 u32 length; local [all...] |
H A D | utcksum.c | 24 * length - Length of entire table 35 acpi_status acpi_ut_verify_checksum(struct acpi_table_header *table, u32 length) argument 50 length = table->length; 52 acpi_ut_generate_checksum(ACPI_CAST_PTR(u8, table), length, 77 * length - Length of entire table 87 acpi_ut_verify_cdat_checksum(struct acpi_table_cdat *cdat_table, u32 length) argument 94 cdat_table->length, 120 * length - Length of the table 129 u8 acpi_ut_generate_checksum(void *table, u32 length, u argument 160 acpi_ut_checksum(u8 *buffer, u32 length) argument [all...] |
H A D | exoparg3.c | 132 acpi_size length; local 153 length = (acpi_size)operand[2]->integer.value; 156 * If the index is beyond the length of the String/Buffer, or if the 157 * requested length is zero, return a zero-length String/Buffer 159 if (index >= operand[0]->string.length) { 160 length = 0; 165 else if ((index + length) > operand[0]->string.length) { 166 length [all...] |
H A D | tbprint.c | 19 static void acpi_tb_fix_string(char *string, acpi_size length); 30 * length - Maximum length 39 static void acpi_tb_fix_string(char *string, acpi_size length) argument 42 while (length && *string) { 48 length--; 100 /* FACS only has signature and length fields */ 104 header->length)); 120 header)->length : 20, 132 local_header.length, local_heade [all...] |
/linux-master/lib/ |
H A D | check_signature.c | 9 * @length: length of signature 17 const unsigned char *signature, int length) 19 while (length--) { 16 check_signature(const volatile void __iomem *io_addr, const unsigned char *signature, int length) argument
|
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_vic.c | 25 vp->length = htonl(sizeof(vp->num_tlvs)); 35 int vic_provinfo_add_tlv(struct vic_provinfo *vp, u16 type, u16 length, argument 43 if (ntohl(vp->length) + offsetof(struct vic_provinfo_tlv, value) + 44 length > VIC_PROVINFO_MAX_TLV_DATA) 48 ntohl(vp->length) - sizeof(vp->num_tlvs)); 51 tlv->length = htons(length); 52 unsafe_memcpy(tlv->value, value, length, 56 vp->length = htonl(ntohl(vp->length) [all...] |
/linux-master/tools/testing/selftests/mm/ |
H A D | map_hugetlb.c | 38 static void write_bytes(char *addr, size_t length) argument 42 for (i = 0; i < length; i++) 46 static void read_bytes(char *addr, size_t length) argument 51 for (i = 0; i < length; i++) 62 size_t length = LENGTH; local 67 /* munmap with fail if the length is not page aligned */ 68 if (hugepage_size > length) 69 length = hugepage_size; 75 length = atol(argv[1]) << 20; 86 ksft_print_msg("Mapping %lu Mbytes\n", (unsigned long)length >> 2 [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ctrl.c | 23 unsigned int length, unsigned int offset, 30 if (length < 32) { 33 length, offset); 58 unsigned int length, offset; local 61 length = FIELD_GET(NFP_NET_CFG_TLV_HEADER_LENGTH, hdr); 67 if (length % NFP_NET_CFG_TLV_LENGTH_INC) { 69 NFP_NET_CFG_TLV_LENGTH_INC, offset, length); 72 if (data + length > end) { 74 offset, length); 85 if (!length) 21 nfp_net_tls_parse_crypto_ops(struct device *dev, struct nfp_net_tlv_caps *caps, u8 __iomem *ctrl_mem, u8 __iomem *data, unsigned int length, unsigned int offset, bool rx_stream_scan) argument [all...] |
/linux-master/tools/usb/usbip/libsrc/ |
H A D | sysfs_utils.c | 14 int length; local 22 length = write(fd, new_value, len); 23 if (length < 0) {
|
/linux-master/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_pagelist.h | 12 u32 length; member in struct:pagelist
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_dsd.h | 9 __le32 length; member in struct:dsd32 15 put_unaligned_le32(sg_dma_len(sg), &(*dsd)->length); 22 __le32 length; member in struct:dsd64 28 put_unaligned_le32(sg_dma_len(sg), &(*dsd)->length);
|
/linux-master/net/sunrpc/auth_gss/ |
H A D | gss_generic_token.c | 59 (constructed, definite-length) 60 <length> possible multiple bytes, need to parse/generate 69 the sequence tag and length octets, the mech OID DER encoding, and the 76 der_length_size( int length) argument 78 if (length < (1<<7)) 80 else if (length < (1<<8)) 86 else if (length < (1<<16)) 88 else if (length < (1<<24)) 96 der_write_length(unsigned char **buf, int length) argument 98 if (length < ( [all...] |
/linux-master/certs/ |
H A D | check-blacklist-hashes.awk | 29 if (length(part3[1]) > 128) { 33 if (length(part3[1]) % 2 == 1) {
|
/linux-master/sound/usb/line6/ |
H A D | midibuf.c | 20 static const int length[] = { 3, 3, 3, 3, 2, 2, 3 }; local 22 message_length = length[(code >> 4) - 8]; 24 static const int length[] = { -1, 2, 2, 2, -1, -1, 1, 1, 1, -1, local 27 message_length = length[code & 0x0f]; 81 int length) 87 if (midibuf_is_full(this) || (length <= 0)) 91 if (data[length - 1] == 0xfe) { 92 --length; 98 if (length > bytes_free) 99 length 80 line6_midibuf_write(struct midi_buffer *this, unsigned char *data, int length) argument 123 line6_midibuf_read(struct midi_buffer *this, unsigned char *data, int length, int read_type) argument 241 line6_midibuf_ignore(struct midi_buffer *this, int length) argument [all...] |
/linux-master/include/linux/ |
H A D | crc32c.h | 7 extern u32 crc32c(u32 crc, const void *address, unsigned int length);
|
H A D | relay.h | 174 size_t length); 180 * @length: number of bytes to write 191 size_t length) 198 if (unlikely(buf->offset + length > chan->subbuf_size)) 199 length = relay_switch_subbuf(buf, length); 200 memcpy(buf->data + buf->offset, data, length); 201 buf->offset += length; 209 * @length: number of bytes to write 219 size_t length) 189 relay_write(struct rchan *chan, const void *data, size_t length) argument 217 __relay_write(struct rchan *chan, const void *data, size_t length) argument 242 relay_reserve(struct rchan *chan, size_t length) argument 268 subbuf_start_reserve(struct rchan_buf *buf, size_t length) argument [all...] |
H A D | iova_bitmap.h | 15 unsigned long iova, size_t length, 19 struct iova_bitmap *iova_bitmap_alloc(unsigned long iova, size_t length, 26 unsigned long iova, size_t length); 29 size_t length, 47 unsigned long iova, size_t length) 28 iova_bitmap_alloc(unsigned long iova, size_t length, unsigned long page_size, u64 __user *data) argument 46 iova_bitmap_set(struct iova_bitmap *bitmap, unsigned long iova, size_t length) argument
|
H A D | xxhash.h | 88 * @length: The length of the data to hash. 95 uint32_t xxh32(const void *input, size_t length, uint32_t seed); 101 * @length: The length of the data to hash. 108 uint64_t xxh64(const void *input, size_t length, uint64_t seed); 113 * @length: The length of the data to hash. 123 static inline unsigned long xxhash(const void *input, size_t length, argument 127 return xxh64(input, length, see [all...] |
/linux-master/drivers/net/arcnet/ |
H A D | arc-rawmode.c | 40 struct archdr *pkthdr, int length) 47 arc_printk(D_DURING, dev, "it's a raw packet (length=%d)\n", length); 49 if (length > MTU) 50 ofs = 512 - length; 52 ofs = 256 - length; 54 skb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); 59 skb_put(skb, length + ARC_HDR_SIZE); 69 if (length > sizeof(pkt->soft)) 72 length 39 rx(struct net_device *dev, int bufnum, struct archdr *pkthdr, int length) argument 113 prepare_tx(struct net_device *dev, struct archdr *pkt, int length, int bufnum) argument [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_cksum.h | 14 xfs_start_cksum_safe(char *buffer, size_t length, unsigned long cksum_offset) argument 27 length - (cksum_offset + sizeof(__be32))); 35 xfs_start_cksum_update(char *buffer, size_t length, unsigned long cksum_offset) argument 41 return crc32c(XFS_CRC_SEED, buffer, length); 64 xfs_update_cksum(char *buffer, size_t length, unsigned long cksum_offset) argument 66 uint32_t crc = xfs_start_cksum_update(buffer, length, cksum_offset); 75 xfs_verify_cksum(char *buffer, size_t length, unsigned long cksum_offset) argument 77 uint32_t crc = xfs_start_cksum_safe(buffer, length, cksum_offset);
|
/linux-master/fs/smb/server/ |
H A D | asn1.h | 13 int ksmbd_decode_negTokenInit(unsigned char *security_blob, int length, 15 int ksmbd_decode_negTokenTarg(unsigned char *security_blob, int length,
|
/linux-master/arch/m68k/mac/ |
H A D | mac.h | 15 void mac_mksound(unsigned int freq, unsigned int length);
|
/linux-master/arch/parisc/math-emu/ |
H A D | fpbits.h | 40 #define Bitfield_extract(start, length, object) \ 41 ((object) >> (HOSTWDSZ - (start) - (length)) & \ 42 ((unsigned)-1 >> (HOSTWDSZ - (length)))) 44 #define Bitfield_signed_extract(start, length, object) \ 45 ((int)((object) << start) >> (HOSTWDSZ - (length)))
|
/linux-master/include/rdma/ |
H A D | rdmavt_mr.h | 21 size_t length; member in struct:rvt_seg 35 size_t length; member in struct:rvt_mregion 70 u32 sge_length; /* length of the SGE */ 71 u32 length; /* remaining length of the segment */ member in struct:rvt_sge 102 static inline u32 rvt_get_sge_length(struct rvt_sge *sge, u32 length) argument 104 u32 len = sge->length; 106 if (len > length) 107 len = length; 114 static inline void rvt_update_sge(struct rvt_sge_state *ss, u32 length, argument 138 rvt_skip_sge(struct rvt_sge_state *ss, u32 length, bool release) argument [all...] |
/linux-master/fs/verity/ |
H A D | read_metadata.c | 17 void __user *buf, u64 offset, int length) 26 end_offset = min(offset + length, vi->tree_params.tree_size); 81 static int fsverity_read_buffer(void __user *dst, u64 offset, int length, argument 89 length = min_t(size_t, length, src_length); 91 if (copy_to_user(dst, src, length)) 94 return length; 98 void __user *buf, u64 offset, int length) 112 res = fsverity_read_buffer(buf, offset, length, desc, desc_size); 119 void __user *buf, u64 offset, int length) 15 fsverity_read_merkle_tree(struct inode *inode, const struct fsverity_info *vi, void __user *buf, u64 offset, int length) argument 97 fsverity_read_descriptor(struct inode *inode, void __user *buf, u64 offset, int length) argument 118 fsverity_read_signature(struct inode *inode, void __user *buf, u64 offset, int length) argument 156 int length; local [all...] |