/linux-master/drivers/md/ |
H A D | dm-integrity.c | 3371 size_t sz = 0; local
|
H A D | dm-snap.c | 2318 unsigned int sz = 0; local 2360 sz += snap->store->type->status(snap->store, type, result + sz, 2361 maxlen - sz);
|
/linux-master/net/ipv4/ |
H A D | nexthop.c | 1004 size_t sz = sizeof(struct nexthop_grp) * nhg->num_nh; local 1005 size_t tot = nla_total_size(sz) + 1017 size_t sz; local 1022 sz = nla_total_size(4); /* NHA_OIF */ 1027 sz += nla_total_size(4); /* NHA_GATEWAY */ 1033 sz += nla_total_size(sizeof(const struct in6_addr)); 1038 sz += lwtunnel_get_encap_size(nhi->fib_nhc.nhc_lwtstate); 1039 sz += nla_total_size(2); /* NHA_ENCAP_TYPE */ 1042 return sz; 1047 size_t sz local 4014 size_t sz = sizeof(struct hlist_head) * NH_DEV_HASHSIZE; local [all...] |
/linux-master/lib/ |
H A D | overflow_kunit.c | 611 #define alloc010(alloc, arg, sz) alloc(sz, alloc_GFP) 612 #define alloc011(alloc, arg, sz) alloc(sz, alloc_GFP, NUMA_NO_NODE) 613 #define alloc000(alloc, arg, sz) alloc(sz) 614 #define alloc001(alloc, arg, sz) alloc(sz, NUMA_NO_NODE) 615 #define alloc110(alloc, arg, sz) alloc(arg, sz, alloc_GF [all...] |
/linux-master/fs/ubifs/ |
H A D | super.c | 1261 size_t sz; local 1368 sz = ALIGN(c->max_idx_node_sz, c->min_io_size) * 2; 1369 c->cbuf = kmalloc(sz, GFP_NOFS);
|
H A D | journal.c | 1685 int err, dlen, len, lnum, offs, bit, sz, sync = IS_SYNC(inode); local 1704 sz = UBIFS_TRUN_NODE_SZ + UBIFS_INO_NODE_SZ + 1707 ino = kmalloc(sz, GFP_NOFS); 1787 sz = offs + UBIFS_INO_NODE_SZ + UBIFS_TRUN_NODE_SZ; 1788 err = ubifs_tnc_add(c, &key, lnum, sz, dlen, hash_dn);
|
/linux-master/fs/smb/client/ |
H A D | sess.c | 999 int sz = base_size + ses->auth_key.len local 1003 sz += sizeof(__le16) * strnlen(ses->domainName, CIFS_MAX_DOMAINNAME_LEN); 1005 sz += sizeof(__le16); 1008 sz += sizeof(__le16) * strnlen(ses->user_name, CIFS_MAX_USERNAME_LEN); 1010 sz += sizeof(__le16); 1013 sz += sizeof(__le16) * strnlen(ses->workstation_name, 1016 sz += sizeof(__le16); 1018 return sz;
|
/linux-master/fs/kernfs/ |
H A D | dir.c | 263 int sz; local 267 sz = kernfs_path_from_node(kn, NULL, kernfs_pr_cont_buf, 269 if (sz < 0) { 270 if (sz == -E2BIG)
|
/linux-master/drivers/staging/rtl8723bs/core/ |
H A D | rtw_mlme.c | 2130 int sz = 0; local 2168 sz = rtw_generate_ie(pregistrypriv); 2170 pdev_network->ie_length = sz; 2175 /* pdev_network->ie_length = cpu_to_le32(sz); */
|
H A D | rtw_ieee80211.c | 287 int sz = 0, rateLen; local 292 sz += 8; 293 ie += sz; 297 sz += 2; 311 sz += 2; 315 ie = rtw_set_ie(ie, WLAN_EID_SSID, pdev_network->ssid.ssid_length, pdev_network->ssid.ssid, &sz); 325 ie = rtw_set_ie(ie, WLAN_EID_SUPP_RATES, 8, pdev_network->supported_rates, &sz); 326 /* ie = rtw_set_ie(ie, WLAN_EID_EXT_SUPP_RATES, (rateLen - 8), (pdev_network->supported_rates + 8), &sz); */ 328 ie = rtw_set_ie(ie, WLAN_EID_SUPP_RATES, rateLen, pdev_network->supported_rates, &sz); 332 ie = rtw_set_ie(ie, WLAN_EID_DS_PARAMS, 1, (u8 *)&(pdev_network->configuration.ds_config), &sz); [all...] |
/linux-master/drivers/scsi/ |
H A D | scsi_debug.c | 7397 unsigned long sz; local 7529 sz = (unsigned long)sdebug_dev_size_mb * 1048576; 7530 sdebug_store_sectors = sz / sdebug_sector_size; 7707 unsigned long sz = (unsigned long)sdebug_dev_size_mb * 1048576; local 7729 sip->storep = vzalloc(sz); 7735 sdebug_build_parts(sip->storep, sz);
|
/linux-master/drivers/rpmsg/ |
H A D | rpmsg_core.c | 419 const char *buf, size_t sz) \ 425 new = kstrndup(buf, sz, GFP_KERNEL); \ 442 return sz; \
|
/linux-master/drivers/nvmem/ |
H A D | mtk-efuse.c | 51 size_t sz = strlen(cell->name); local 59 strncmp(cell->name, "gpu-speedbin", min(sz, strlen("gpu-speedbin"))) == 0)
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_common.c | 528 size_t sz; local 530 sz = SKB_DATA_ALIGN(pool->rbsize); 531 sz = ALIGN(sz, OTX2_ALIGN); 533 page = page_pool_alloc_frag(pool->page_pool, &offset, sz, GFP_ATOMIC);
|
/linux-master/include/linux/ |
H A D | of.h | 346 const char **out_strs, size_t sz, int index); 733 const char **out_strs, size_t sz, int index) 1184 * @sz: number of array elements to read. 1193 size_t sz) 1195 return of_property_read_string_helper(np, propname, out_strs, sz, 0); 1282 * @sz: number of array elements to read 1298 u8 *out_values, size_t sz) 1301 sz, 0); 1314 * @sz: number of array elements to read 1330 u16 *out_values, size_t sz) 731 of_property_read_string_helper(const struct device_node *np, const char *propname, const char **out_strs, size_t sz, int index) argument 1191 of_property_read_string_array(const struct device_node *np, const char *propname, const char **out_strs, size_t sz) argument 1296 of_property_read_u8_array(const struct device_node *np, const char *propname, u8 *out_values, size_t sz) argument 1328 of_property_read_u16_array(const struct device_node *np, const char *propname, u16 *out_values, size_t sz) argument 1358 of_property_read_u32_array(const struct device_node *np, const char *propname, u32 *out_values, size_t sz) argument 1388 of_property_read_u64_array(const struct device_node *np, const char *propname, u64 *out_values, size_t sz) argument [all...] |
/linux-master/drivers/vdpa/vdpa_user/ |
H A D | iova_domain.c | 142 unsigned int sz = 0; local 145 sz = min_t(size_t, PAGE_SIZE - offset, size); 149 memcpy_from_page(addr, page, offset, sz); 151 memcpy_to_page(page, offset, addr, sz); 153 size -= sz; 155 addr += sz; 167 size_t sz; local 175 sz = min_t(size_t, PAGE_SIZE - offset, size); 182 do_bounce(map->orig_phys + offset, addr + offset, sz, dir); 184 size -= sz; [all...] |
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | sparsebit.c | 1552 size_t sz; local 1565 sz = snprintf(NULL, 0, fmt_str, low, high); 1567 sz = fprintf(stream, fmt_str, low, high); 1569 return sz; 1590 size_t sz; local 1623 sz = display_range(NULL, low, high, 1631 if (current_line_len + sz > DUMP_LINE_MAX) { 1638 sz = display_range(stream, low, high, 1640 current_line_len += sz; 1657 sz [all...] |
/linux-master/include/linux/mtd/ |
H A D | mtd.h | 575 static inline uint32_t mtd_div_by_eb(uint64_t sz, struct mtd_info *mtd) argument 578 return sz >> mtd->erasesize_shift; 579 do_div(sz, mtd->erasesize); 580 return sz; 583 static inline uint32_t mtd_mod_by_eb(uint64_t sz, struct mtd_info *mtd) argument 586 return sz & mtd->erasesize_mask; 587 return do_div(sz, mtd->erasesize); 618 static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd) argument 621 return sz >> mtd->writesize_shift; 622 do_div(sz, mt 626 mtd_mod_by_ws(uint64_t sz, struct mtd_info *mtd) argument [all...] |
/linux-master/drivers/soc/fsl/qbman/ |
H A D | qman_ccsr.c | 456 static int zero_priv_mem(phys_addr_t addr, size_t sz) argument 459 void __iomem *tmpp = ioremap_cache(addr, sz); 464 memset_io(tmpp, 0, sz); 466 (unsigned long)tmpp + sz);
|
/linux-master/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_ctl.c | 265 u32 sz; local 283 sz = min_t(u32, SCSI_SENSE_BUFFERSIZE, 287 memcpy(ioc->ctl_cmds.sense, sense_data, sz); 297 sz = min_t(u32, NVME_ERROR_RESPONSE_SIZE, 300 memcpy(ioc->ctl_cmds.sense, sense_data, sz); 348 u32 sz, event_data_sz; local 365 sz = min_t(u32, event_data_sz, MPT3_EVENT_DATA_SIZE); 367 memcpy(event_log[i].data, mpi_reply->EventData, sz); 587 u32 sz; local 640 sz 672 u32 sz, sz_arg; local 3276 int sz; local 3681 ssize_t sz; local 3756 ssize_t sz; local 3830 ssize_t sz; local [all...] |
H A D | mpt3sas_base.h | 705 * @stripe_exponent: X where 2powX is the stripe sz in blocks 706 * @block_exponent: X where 2powX is the block sz in bytes 1781 u8 status, void *mpi_request, int sz); 1782 #define mpt3sas_check_cmd_timeout(ioc, status, mpi_request, sz, issue_reset) \ 1785 status, mpi_request, sz); } while (0) 1865 u16 sz); 1903 u16 sz); 1906 u16 sz); 1910 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage3_t *config_page, u16 sz); 1917 u16 sz); [all...] |
/linux-master/drivers/scsi/fcoe/ |
H A D | fcoe_sysfs.c | 137 #define fcoe_ctlr_show_function(field, format_string, sz, cast) \ 145 return snprintf(buf, sz, format_string, \ 149 #define fcoe_fcf_show_function(field, format_string, sz, cast) \ 158 return snprintf(buf, sz, format_string, \ 162 #define fcoe_ctlr_private_show_function(field, format_string, sz, cast) \ 168 return snprintf(buf, sz, format_string, cast fcoe_ctlr_##field(ctlr)); \ 171 #define fcoe_fcf_private_show_function(field, format_string, sz, cast) \ 177 return snprintf(buf, sz, format_string, cast fcoe_fcf_##field(fcf)); \ 180 #define fcoe_ctlr_private_rd_attr(field, format_string, sz) \ 181 fcoe_ctlr_private_show_function(field, format_string, sz, ) \ [all...] |
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_ioc.c | 2036 * @param[in] sz size of smem in bytes 2039 bfa_ioc_smem_read(struct bfa_ioc_s *ioc, void *tbuf, u32 soff, u32 sz) argument 2050 bfa_trc(ioc, sz); 2062 len = sz/sizeof(u32); 2095 * @param[in] sz size of smem in bytes 2098 bfa_ioc_smem_clr(struct bfa_ioc_s *ioc, u32 soff, u32 sz) argument 2107 bfa_trc(ioc, sz); 2119 len = sz/sizeof(u32); /* len in words */ 5295 bfa_phy_ntoh32(u32 *obuf, u32 *ibuf, int sz) argument 5297 int i, m = sz >> 5363 int i, sz; local 5782 int i, sz = len >> 1; local [all...] |
/linux-master/drivers/of/ |
H A D | fdt.c | 132 u32 sz; local 134 val = fdt_getprop_by_offset(blob, cur, &pname, &sz); 173 pp->length = sz;
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | meson_nand.c | 204 #define MESON_ECC_DATA(b, s, sz) { .bch = (b), .strength = (s), .size = (sz) }
|