Home
last modified time | relevance | path

Searched refs:content_size (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/filesystems/fuse/
H A Dfuse_mnt.c20 static size_t content_size = 0; variable
36 st->st_size = content_size; in test_getattr()
70 if (!content || content_size == 0) in test_read()
73 if (offset >= content_size) in test_read()
76 if (offset + size > content_size) in test_read()
77 size = content_size - offset; in test_read()
92 if(offset > content_size) in test_write()
95 new_size = MAX(offset + size, content_size); in test_write()
97 if (new_size > content_size) in test_write()
100 content_size = new_size; in test_write()
[all …]
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_hal.c643 u32 content_size) in bl_write_header() argument
752 u32 content_size) in auto_fw_upgrade() argument
759 if (content_size > MAX_FLASH_FILE_SIZE) { in auto_fw_upgrade()
783 if ((flash_start_address + content_size) > adapter->flash_capacity) { in auto_fw_upgrade()
790 temp_content_size = content_size; in auto_fw_upgrade()
791 num_flash = content_size / FLASH_WRITE_CHUNK_SIZE; in auto_fw_upgrade()
794 content_size, num_flash); in auto_fw_upgrade()
799 content_size = FLASH_WRITE_CHUNK_SIZE; in auto_fw_upgrade()
801 content_size); in auto_fw_upgrade()
803 content_size = in auto_fw_upgrade()
[all …]