/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-tegra-bpmp.c | 23 * Serialized I2C message header size is 6 bytes and includes address, flags 154 size_t size = response->xfer.data_size, len = 0, pos = 0; in tegra_bpmp_i2c_deserialize() local 162 if (len != size) in tegra_bpmp_i2c_deserialize() 211 msg.tx.size = sizeof(*request); in tegra_bpmp_i2c_msg_xfer() 213 msg.rx.size = sizeof(*response); in tegra_bpmp_i2c_msg_xfer()
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
H A D | hid-sensor-als.c | 62 int channel, int size) in als_adjust_channel_bit_mask() 66 channels[channel].scan_type.realbits = size * 8; in als_adjust_channel_bit_mask() 67 /* Maximum size of a sample to capture is u32 */ in als_adjust_channel_bit_mask() 236 st->als_illum.size); in als_parse_report() 238 st->als_illum.size); in als_parse_report() 61 als_adjust_channel_bit_mask(struct iio_chan_spec *channels, int channel, int size) als_adjust_channel_bit_mask() argument
|
/kernel/linux/linux-5.10/drivers/net/fjes/ |
H A D | fjes_hw.h | 68 #define FJES_MTU_DEFINE(size) \ 69 ((size) - sizeof(struct esmem_frame) - \ 249 size_t size; member 311 u64 size; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_entity.h | 27 u16 size[CIM_NUM_IBQ + CIM_NUM_OBQ_T5]; member 79 u32 size; member 83 u32 size; member 136 int size; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
H A D | fw.c | 144 fw_err = validate_fw(hdr, fw_entry->size); in orinoco_dl_firmware() 162 end = fw_entry->data + fw_entry->size; in orinoco_dl_firmware() 304 fw_entry->data + fw_entry->size, 0); in symbol_dl_firmware() 323 fw_entry->data + fw_entry->size, 1); in symbol_dl_firmware()
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
H A D | lapbether.c | 204 int size = skb->len; in lapbeth_data_transmit() local 208 *ptr++ = size % 256; in lapbeth_data_transmit() 209 *ptr++ = size / 256; in lapbeth_data_transmit() 212 ndev->stats.tx_bytes += size; in lapbeth_data_transmit()
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
H A D | mdt_loader.c | 35 * qcom_mdt_get_size() - acquire size of the memory region needed to load mdt 38 * Returns size of the loaded firmware blob, or -EINVAL on failure. 115 if (ehdr_size + hash_size == fw->size) in qcom_mdt_read_metadata() 243 if (phdr->p_filesz && phdr->p_offset < fw->size) { in __qcom_mdt_load() 245 if (phdr->p_offset + phdr->p_filesz > fw->size) { in __qcom_mdt_load() 264 if (seg_fw->size != phdr->p_filesz) { in __qcom_mdt_load() 297 * @mem_size: size of the allocated memory region 320 * @mem_size: size of the allocated memory region
|
/kernel/linux/linux-5.10/net/sctp/ |
H A D | tsnmap.c | 32 static int sctp_tsnmap_grow(struct sctp_tsnmap *map, u16 size); 208 /* If our gap is larger then the map size, just in sctp_tsnmap_skip() 213 /* If the gap is smaller than the map size, in sctp_tsnmap_skip() 341 static int sctp_tsnmap_grow(struct sctp_tsnmap *map, u16 size) in sctp_tsnmap_grow() argument 347 if (size > SCTP_TSN_MAP_SIZE) in sctp_tsnmap_grow() 350 inc = ALIGN((size - map->len), BITS_PER_LONG) + SCTP_TSN_MAP_INCREMENT; in sctp_tsnmap_grow()
|
/kernel/linux/linux-5.10/net/xdp/ |
H A D | xskmap.c | 79 u64 size; in xsk_map_alloc() local 90 size = struct_size(m, xsk_map, attr->max_entries); in xsk_map_alloc() 92 err = bpf_map_charge_init(&mem, size); in xsk_map_alloc() 96 m = bpf_map_area_alloc(size, numa_node); in xsk_map_alloc()
|
/kernel/linux/linux-5.10/sound/drivers/opl4/ |
H A D | opl4_lib.c | 48 void snd_opl4_read_memory(struct snd_opl4 *opl4, char *buf, int offset, int size) in snd_opl4_read_memory() argument 65 insb(opl4->pcm_port + 1, buf, size); in snd_opl4_read_memory() 74 void snd_opl4_write_memory(struct snd_opl4 *opl4, const char *buf, int offset, int size) in snd_opl4_write_memory() argument 91 outsb(opl4->pcm_port + 1, buf, size); in snd_opl4_write_memory()
|
/kernel/linux/linux-5.10/sound/soc/intel/atom/ |
H A D | sst-mfld-dsp.h | 220 u32 data:14; /* Ack/Info for msg, size of msg in Mailbox */ 286 u32 iram_size; /* slot size in IRAM */ 287 u32 dram_size; /* slot size in DRAM */ 294 __u32 size; member 355 u16 block_align; /* packet size */ 369 /* Address and size info of a frame buffer */ 372 u32 size; /* Size of the buffer */ member 466 u8 size; member 494 u32 size; /* size o member [all...] |
/kernel/linux/linux-5.10/tools/lib/perf/include/perf/ |
H A D | event.h | 11 #define event_contains(obj, mem) ((obj).header.size > offsetof(typeof(obj), mem)) 203 __u32 size; member 215 __u8 size; member 245 __u64 size; member
|
/kernel/linux/linux-5.10/tools/bpf/ |
H A D | bpf_jit_disasm.c | 35 static void get_exec_path(char *tpath, size_t size) in get_exec_path() argument 40 snprintf(tpath, size, "/proc/%d/exe", (int) getpid()); in get_exec_path() 41 tpath[size - 1] = 0; in get_exec_path() 46 len = readlink(path, tpath, size); in get_exec_path()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | unwind-libdw.c | 136 ssize_t size; in access_dso_mem() local 146 size = dso__data_read_addr(al.map->dso, al.map, ui->machine, in access_dso_mem() 149 return !(size == sizeof(*data)); in access_dso_mem() 165 end = start + stack->size; in memory_read()
|
H A D | symbol.h | 89 static inline int __symbol__join_symfs(char *bf, size_t size, const char *path) in __symbol__join_symfs() argument 91 return path__join(bf, size, symbol_conf.symfs, path); in __symbol__join_symfs() 152 u64 start, u64 size)); 154 size_t size);
|
/kernel/linux/linux-5.10/fs/hostfs/ |
H A D | hostfs_user.c | 28 p->size = buf->st_size; in stat64_to_hostfs() 337 int hostfs_do_readlink(char *file, char *buf, int size) in hostfs_do_readlink() argument 341 n = readlink(file, buf, size); in hostfs_do_readlink() 344 if (n < size) in hostfs_do_readlink()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | hmdfs_dentryfile.h | 124 loff_t size = i_size_read(inode); in get_dentry_group_cnt() local 126 return size >= DENTRYGROUP_HEADER ? in get_dentry_group_cnt() 127 (size - DENTRYGROUP_HEADER) / DENTRYGROUP_SIZE : in get_dentry_group_cnt() 291 void *buffer, int size, int bidx);
|
/kernel/linux/linux-5.10/fs/jffs2/ |
H A D | read.c | 178 frag->ofs + frag->size <= offset)) { in jffs2_read_inode_range() 192 uint32_t holeend = min(end, frag->ofs + frag->size); in jffs2_read_inode_range() 195 frag->ofs + frag->size); in jffs2_read_inode_range() 206 readlen = min(frag->size - fragofs, end - offset); in jffs2_read_inode_range()
|
/kernel/linux/linux-5.10/fs/adfs/ |
H A D | map.c | 16 * log2bpmb. This may be larger or smaller than the sector size, but 17 * the overall size it describes will always be a round number of 307 * and the last zone must be limited to the size of the filesystem. 313 u64 size; in adfs_map_layout() local 329 size = adfs_disc_size(dr) >> dr->log2bpmb; in adfs_map_layout() 330 size -= (nzones - 1) * zone_size - ADFS_DR_SIZE_BITS; in adfs_map_layout() 331 dm[nzones - 1].dm_endbit = 32 + size; in adfs_map_layout()
|
/kernel/linux/linux-5.10/fs/crypto/ |
H A D | keysetup_v1.c | 121 payload->size < 1 || payload->size > FSCRYPT_MAX_KEY_SIZE) { in find_and_lock_process_key() 128 if (payload->size < min_keysize) { in find_and_lock_process_key() 131 key->description, payload->size, min_keysize); in find_and_lock_process_key()
|
/kernel/linux/linux-5.10/drivers/w1/slaves/ |
H A D | w1_ds28e04.c | 57 * Check the file size bounds and adjusts count as needed. 58 * This would not be needed if the file size didn't reset to 0 after a write. 60 static inline size_t w1_f1C_fix_count(loff_t off, size_t count, size_t size) in w1_f1C_fix_count() argument 62 if (off > size) in w1_f1C_fix_count() 65 if ((off + count) > size) in w1_f1C_fix_count() 66 return size - off; in w1_f1C_fix_count()
|
/kernel/linux/linux-5.10/lib/ |
H A D | ubsan.c | 110 static void val_to_string(char *str, size_t size, struct type_descriptor *type, in val_to_string() argument 118 scnprintf(str, size, "0x%08x%08x%08x%08x", in val_to_string() 127 scnprintf(str, size, "%lld", in val_to_string() 130 scnprintf(str, size, "%llu", in val_to_string() 283 ubsan_prologue(data->location, "object-size-mismatch"); in handle_object_size_mismatch()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_conntrack_proto_icmp.c | 308 static unsigned int size __read_mostly; in icmp_nlattr_tuple_size() 310 if (!size) in icmp_nlattr_tuple_size() 311 size = nla_policy_len(icmp_nla_policy, CTA_PROTO_MAX + 1); in icmp_nlattr_tuple_size() 313 return size; in icmp_nlattr_tuple_size()
|
H A D | nf_conntrack_proto_icmpv6.c | 284 static unsigned int size __read_mostly; in icmpv6_nlattr_tuple_size() 286 if (!size) in icmpv6_nlattr_tuple_size() 287 size = nla_policy_len(icmpv6_nla_policy, CTA_PROTO_MAX + 1); in icmpv6_nlattr_tuple_size() 289 return size; in icmpv6_nlattr_tuple_size()
|
H A D | nf_tables_trace.c | 188 unsigned int size; in nft_trace_notify() local 194 size = nlmsg_total_size(sizeof(struct nfgenmsg)) + in nft_trace_notify() 214 size += nla_total_size(strlen(info->verdict->chain->name)); /* jump target */ in nft_trace_notify() 216 skb = nlmsg_new(size, GFP_ATOMIC); in nft_trace_notify()
|