Searched refs:sz (Results 151 - 175 of 742) sorted by last modified time

1234567891011>>

/linux-master/arch/arm64/kvm/
H A Darm.c422 size_t sz = sizeof(struct kvm);
425 return kzalloc(sz, GFP_KERNEL_ACCOUNT);
427 return __vmalloc(sz, GFP_KERNEL_ACCOUNT | __GFP_HIGHMEM | __GFP_ZERO);
343 size_t sz = sizeof(struct kvm); local
/linux-master/arch/x86/mm/
H A Dmem_encrypt_amd.c57 static inline void __init snp_memcpy(void *dst, void *src, size_t sz, argument
60 unsigned long npages = PAGE_ALIGN(sz) >> PAGE_SHIFT;
69 memcpy(dst, src, sz);
78 memcpy(dst, src, sz);
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_mbx.c6848 u16 sz; local
6851 sz = SFP_BLOCK_SIZE;
6853 sz = count - c;
6855 memcpy(buf, sfp_data, sz);
6857 c += sz;
H A Dqla_iocb.c3723 int i, sz; local
3727 sz = min(ARRAY_SIZE(mbx->mb), ARRAY_SIZE(sp->u.iocb_cmd.u.mbx.out_mb));
3729 for (i = 0; i < sz; i++)
H A Dqla_init.c5615 u32 *bp, sz; local
5619 sz = min_t(int, sizeof(struct fc_els_flogi), ha->init_cb_size);
5621 ha->init_cb, sz);
5630 cpu_to_be32_array(q, bp, sz / 4);
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c2958 unsigned long sz; local
2990 i = kstrtoul(pbuf, 0, &sz);
2993 phba->nvmeio_trc_size = (uint32_t)sz;
2997 while (sz > 1) {
2998 sz = sz >> 1;
3001 sz = (1 << i);
3002 if (phba->nvmeio_trc_size != sz)
3005 sz);
3006 phba->nvmeio_trc_size = (uint32_t)sz;
[all...]
/linux-master/drivers/md/
H A Ddm-integrity.c3371 size_t sz = 0; local
H A Ddm-snap.c2318 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 Dnexthop.c1004 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/sound/soc/sof/amd/
H A Dacp.h285 void *p, size_t sz);
/linux-master/lib/
H A Doverflow_kunit.c611 #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/kernel/
H A Dksysfs.c174 unsigned int sz = crash_get_elfcorehdr_size(); local
176 return sysfs_emit(buf, "%u\n", sz);
/linux-master/include/linux/
H A Dcrash_core.h63 void **addr, unsigned long *sz);
H A Dof.h346 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/fs/ubifs/
H A Dsuper.c1261 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 Djournal.c1685 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 Dsess.c999 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 Ddir.c263 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 Drtw_mlme.c2130 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 Drtw_ieee80211.c287 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 Dscsi_debug.c7397 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 Drpmsg_core.c419 const char *buf, size_t sz) \
425 new = kstrndup(buf, sz, GFP_KERNEL); \
442 return sz; \
/linux-master/drivers/nvmem/
H A Dmtk-efuse.c51 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 Dotx2_common.c528 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/fs/smb/server/
H A Dsmb2pdu.h430 void init_smb2_max_read_size(unsigned int sz);
431 void init_smb2_max_write_size(unsigned int sz);
432 void init_smb2_max_trans_size(unsigned int sz);
433 void init_smb2_max_credits(unsigned int sz);

Completed in 389 milliseconds

1234567891011>>