/kernel/linux/linux-5.10/tools/cgroup/ |
H A D | iocost_coef_gen.py | 35 help='Raw block device to use for testing, ignores --testfile-size') 36 parser.add_argument('--testfile-size-gb', type=float, metavar='GIGABYTES', default=16, 37 help='Testfile size in gigabytes (default: %(default)s)') 41 help='Sequential test block size in megabytes (default: %(default)s)') 73 def create_testfile(path, size): 76 if os.path.isfile(path) and os.stat(path).st_size == size: 84 f'pv -s {size} -pr /dev/urandom {"-q" if args.quiet else ""} | ' 85 f'dd of={path} count={size} '
|
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | overflow.h | 206 * array_size() - Calculate size of 2-dimensional array. 211 * Calculates size of 2-dimensional array: @a * @b. 227 * array3_size() - Calculate size of 3-dimensional array. 233 * Calculates size of 3-dimensional array: @a * @b * @c. 250 static inline __must_check size_t __ab_c_size(size_t n, size_t size, size_t c) in __ab_c_size() argument 254 if (check_mul_overflow(n, size, &bytes)) in __ab_c_size() 263 * struct_size() - Calculate size of structure with trailing array. 268 * Calculates size of memory needed for structure @p followed by an
|
/kernel/linux/linux-5.10/fs/hpfs/ |
H A D | file.c | 14 #define BLOCKS(size) (((size) + 511) >> 9)
|
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | jfs_logmgr.h | 18 /* log page size */ 57 __le32 size; /* 4: size in number of LOGPSIZE blocks */ member 58 __le32 bsize; /* 4: logical block size in byte */ 125 #define LOGPHDRSIZE 8 /* log page header size */ 126 #define LOGPTLRSIZE 8 /* log page trailer size */ 142 * a descriptor of fixed size LOGRDSIZE bytes. 145 * the descriptor is of size of multiple of 4-bytes and aligned on a 221 __le16 l2linesize; /* 2: log2 of line size */ 363 int size; /* member [all...] |
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | wrapper.c | 42 * If @sector is not aligned to the bdev logical block size it will 58 * Align sector to hardware sector size and find offset. We in hfsplus_submit_bio() 128 sector_t *start, sector_t *size) in hfsplus_get_last_session() 134 *size = i_size_read(sb->s_bdev->bd_inode) >> 9; in hfsplus_get_last_session() 236 * Block size must be at least as large as a sector and a multiple of 2. in hfsplus_read_wrapper() 245 * Align block size to block offset. in hfsplus_read_wrapper() 127 hfsplus_get_last_session(struct super_block *sb, sector_t *start, sector_t *size) hfsplus_get_last_session() argument
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | nfs4super.c | 185 param.size = snprintf(param.string, len, "[%s]:/", hostname); in do_nfs4_mount() 187 param.size = snprintf(param.string, len, "%s:/", hostname); in do_nfs4_mount()
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | info.h | 18 unsigned int size; /* current size */ member 63 long size; member
|
/kernel/linux/linux-5.10/include/uapi/drm/ |
H A D | msm_drm.h | 38 * 2) Keep fields aligned to their size 105 __u64 size; /* in */ member 115 * required buffer size in 'len' 184 __u32 size; /* in, cmdstream size */ member
|
/kernel/linux/linux-5.10/include/uapi/linux/wimax/ |
H A D | i2400m.h | 141 __le32 size; /* in dwords */ member 259 I2400M_PL_ALIGN = 16, /* Payload data size alignment */ 294 * @size: used for management of the FIFO queue buffer; before 296 * indicates the real size of the TX message that starts at this 305 * it be of block-size aligned 312 __u32 size; /* same size type as barker!! */ member 316 __u32 offset; /* same size type as barker!! */
|
/kernel/linux/linux-5.10/lib/ |
H A D | generic-radix-tree.c | 26 * Returns size (of data, in bytes) that a tree of a given depth holds: 228 int __genradix_prealloc(struct __genradix *radix, size_t size, in __genradix_prealloc() argument 233 for (offset = 0; offset < size; offset += PAGE_SIZE) in __genradix_prealloc()
|
/kernel/linux/linux-5.10/mm/ |
H A D | zpool.c | 262 * @size: The amount of memory to allocate. 275 int zpool_malloc(struct zpool *zpool, size_t size, gfp_t gfp, in zpool_malloc() argument 278 return zpool->driver->malloc(zpool->pool, size, gfp, handle); in zpool_malloc() 301 * zpool_shrink() - Shrink the pool size 306 * This attempts to shrink the actual memory size of the pool 368 * zpool_get_total_size() - The total size of the pool 371 * This returns the total size in bytes of the pool. 373 * Returns: Total size of the zpool in bytes.
|
H A D | debug.c | 322 void page_init_poison(struct page *page, size_t size) in page_init_poison() argument 325 memset(page, PAGE_POISON_PATTERN, size); in page_init_poison()
|
/kernel/linux/linux-5.10/include/xen/interface/ |
H A D | xen-mca.h | 69 uint16_t size; /* size of this struct in bytes */ member 230 ((struct mcinfo_common *)((uint8_t *)(_mic) + (_mic)->size))
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_bmap.h | 37 xfs_extlen_t minlen; /* minimum allocation size (blocks) */ 188 int xfs_bmap_add_attrfork(struct xfs_inode *ip, int size, int rsvd); 189 int xfs_bmap_set_attrforkoff(struct xfs_inode *ip, int size, int *version);
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
H A D | nft_fib_ipv4.c | 153 .size = NFT_EXPR_SIZE(sizeof(struct nft_fib)), 162 .size = NFT_EXPR_SIZE(sizeof(struct nft_fib)),
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem.c | 45 const resource_size_t size = resource_size(&i915->dsm); in trash_stolen() local 53 for (page = 0; page < size; page += PAGE_SIZE) { in trash_stolen()
|
H A D | intel_uncore.c | 66 unsigned int size; in intel_shadow_table_check() member 78 for (i = 0, prev = -1; i < reg_lists[j].size; i++, reg++) { in intel_shadow_table_check()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/ |
H A D | dsi.h | 189 int dsi_tx_buf_alloc_6g(struct msm_dsi_host *msm_host, int size); 190 int dsi_tx_buf_alloc_v2(struct msm_dsi_host *msm_host, int size);
|
/kernel/linux/linux-5.10/drivers/gpu/host1x/hw/ |
H A D | debug_hw.c | 199 &pb->dma, pb->size / 4); in show_channel_gathers() 201 show_gather(o, pb->dma, pb->size / 4, cdma, pb->dma, pb->mapped); in show_channel_gathers()
|
/kernel/linux/linux-5.10/drivers/greybus/ |
H A D | bundle.c | 42 const char *buf, size_t size) in state_store() 54 return size; in state_store() 41 state_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) state_store() argument
|
H A D | hd.c | 24 int gb_hd_output(struct gb_host_device *hd, void *req, u16 size, u8 cmd, in gb_hd_output() argument 29 return hd->driver->output(hd, req, size, cmd, async); in gb_hd_output() 156 dev_warn(parent, "limiting buffer size to %u\n", in gb_hd_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
H A D | output.c | 98 int err, size; in tegra_output_probe() local 123 output->edid = of_get_property(output->of_node, "nvidia,edid", &size); in tegra_output_probe()
|
/kernel/linux/linux-5.10/drivers/memory/tegra/ |
H A D | tegra186-emc.c | 191 msg.tx.size = 0; in tegra186_emc_probe() 193 msg.rx.size = sizeof(response); in tegra186_emc_probe()
|
/kernel/linux/linux-5.10/drivers/media/usb/go7007/ |
H A D | go7007-i2c.c | 130 u8 command, int size, union i2c_smbus_data *data) in go7007_smbus_xfer() 134 if (size != I2C_SMBUS_BYTE_DATA) in go7007_smbus_xfer() 128 go7007_smbus_xfer(struct i2c_adapter *adapter, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) go7007_smbus_xfer() argument
|
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/ |
H A D | hva.h | 38 * @size: maximum size in bytes required for data 46 u32 size; member 71 * @gop_size: groupe of picture size 77 * @cpb_size: coded picture buffer size (in kB) 138 * @size: size of the buffer in bytes 147 unsigned int size; member 230 * @max_stream_size: maximum size in bytes required for stream data 244 * @frame_errors: number of frame errors (format, size, heade [all...] |