/openbmc/u-boot/disk/ |
H A D | part_amiga.c | 29 static unsigned char block_buffer[DEFAULT_SECTOR_SIZE]; variable 142 ulong res = blk_dread(dev_desc, i, 1, (ulong *)block_buffer); in get_rdisk() 145 struct rigid_disk_block *trdb = (struct rigid_disk_block *)block_buffer; in get_rdisk() 149 if (sum_block((struct block_header *)block_buffer) == 0) in get_rdisk() 184 ulong res = blk_dread(dev_desc, i, 1, (ulong *)block_buffer); in get_bootcode() 187 struct bootcode_block *boot = (struct bootcode_block *)block_buffer; in get_bootcode() 191 if (sum_block((struct block_header *)block_buffer) == 0) in get_bootcode() 260 ulong res = blk_dread(dev_desc, block, 1, (ulong *)block_buffer); in find_partition() 263 p = (struct partition_block *)block_buffer; in find_partition() 286 return (struct partition_block *)block_buffer; in find_partition() [all …]
|
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | ucd9200.c | 76 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in ucd9200_probe() local 88 block_buffer); in ucd9200_probe() 93 block_buffer[ret] = '\0'; in ucd9200_probe() 94 dev_info(&client->dev, "Device ID %s\n", block_buffer); in ucd9200_probe() 97 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9200_probe() 121 block_buffer); in ucd9200_probe() 135 if (!block_buffer[i]) in ucd9200_probe()
|
H A D | ltc4286.c | 71 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in ltc4286_probe() local 76 ret = i2c_smbus_read_block_data(client, PMBUS_MFR_ID, block_buffer); in ltc4286_probe() 87 strncmp(block_buffer, "LTC", LTC4286_MFR_ID_SIZE)) { in ltc4286_probe() 92 ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, block_buffer); in ltc4286_probe() 99 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ltc4286_probe()
|
H A D | ucd9000.c | 560 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in ucd9000_probe() local 573 block_buffer); in ucd9000_probe() 578 block_buffer[ret] = '\0'; in ucd9000_probe() 579 dev_info(&client->dev, "Device ID %s\n", block_buffer); in ucd9000_probe() 582 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9000_probe() 623 block_buffer); in ucd9000_probe() 629 int page = UCD9000_MON_PAGE(block_buffer[i]); in ucd9000_probe() 634 switch (UCD9000_MON_TYPE(block_buffer[i])) { in ucd9000_probe()
|
H A D | adm1275.c | 511 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in adm1275_probe() local 528 ret = i2c_smbus_read_block_data(client, PMBUS_MFR_ID, block_buffer); in adm1275_probe() 533 if (ret != 3 || strncmp(block_buffer, "ADI", 3)) { in adm1275_probe() 538 ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, block_buffer); in adm1275_probe() 544 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in adm1275_probe()
|
/openbmc/linux/fs/verity/ |
H A D | enable.c | 15 struct block_buffer { struct 24 struct block_buffer *cur) in hash_one_block() argument 26 struct block_buffer *next = cur + 1; in hash_one_block() 79 struct block_buffer _buffers[1 + FS_VERITY_MAX_LEVELS + 1] = {}; in build_merkle_tree() 80 struct block_buffer *buffers = &_buffers[1]; in build_merkle_tree()
|
/openbmc/u-boot/fs/ext4/ |
H A D | ext4_common.c | 634 char *block_buffer = NULL; in search_dir() local 643 block_buffer = zalloc(fs->blksz); in search_dir() 644 if (!block_buffer) in search_dir() 655 0, fs->blksz, (char *)block_buffer); in search_dir() 666 dir = (struct ext2_dirent *)(block_buffer + offset); in search_dir() 684 free(block_buffer); in search_dir() 690 free(block_buffer); in search_dir() 867 char *block_buffer = NULL; in unlink_filename() local 874 block_buffer = zalloc(fs->blksz); in unlink_filename() 875 if (!block_buffer) in unlink_filename() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | lineage-pem.c | 133 u8 block_buffer[I2C_SMBUS_BLOCK_MAX]; in pem_read_block() local 136 result = i2c_smbus_read_block_data(client, command, block_buffer); in pem_read_block() 143 memcpy(data, block_buffer, data_len); in pem_read_block()
|
/openbmc/linux/include/trace/events/ |
H A D | block.h | 16 DECLARE_EVENT_CLASS(block_buffer, 46 DEFINE_EVENT(block_buffer, block_touch_buffer, 59 DEFINE_EVENT(block_buffer, block_dirty_buffer,
|
/openbmc/linux/drivers/memstick/core/ |
H A D | ms_block.h | 191 unsigned char *block_buffer; member
|
H A D | ms_block.c | 982 sg_init_one(&sg, msb->block_buffer, msb->block_size); in msb_verify_block() 994 msb->block_buffer, msb->block_size)) in msb_verify_block() 1745 msb->block_buffer = kzalloc(msb->block_size, GFP_KERNEL); in msb_init_card() 1746 if (!msb->block_buffer) in msb_init_card()
|
/openbmc/linux/drivers/power/supply/ |
H A D | sbs-battery.c | 362 u8 block_buffer[I2C_SMBUS_BLOCK_MAX + 1]; in sbs_read_string_data_fallback() local 405 block_length + 1, block_buffer); in sbs_read_string_data_fallback() 419 memcpy(values, block_buffer + 1, block_length); in sbs_read_string_data_fallback()
|