Home
last modified time | relevance | path

Searched refs:buffer (Results 1676 - 1700 of 5070) sorted by relevance

1...<<61626364656667686970>>...203

/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dmachine_kexec_file.c113 kbuf.buffer = headers; in load_other_segments()
136 kbuf.buffer = initrd; in load_other_segments()
167 kbuf.buffer = dtb; in load_other_segments()
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/crypto/
H A Docteon-sha1.c90 memcpy(sctx->buffer + partial, data, in __octeon_sha1_update()
92 src = sctx->buffer; in __octeon_sha1_update()
103 memcpy(sctx->buffer + partial, src, len - done); in __octeon_sha1_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/r128/
H A Dr128_ioc32.c104 u32 buffer; member
121 depth.buffer = compat_ptr(depth32.buffer); in compat_r128_depth()
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00usb.h82 * @buffer: Buffer where information will be read/written to by device
83 * @buffer_length: Size of &buffer
87 * the &buffer argument _must_ either be NULL or point to
88 * a buffer allocated by kmalloc. Failure to do so can lead
94 void *buffer, const u16 buffer_length,
103 * @buffer: Buffer where information will be read/written to by device
104 * @buffer_length: Size of &buffer
107 * to communicate with the device. The contents of the buffer pointer
116 const u16 offset, void *buffer,
125 * @buffer
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
H A Dhif-ops.h35 static inline int hif_write_async(struct ath6kl *ar, u32 address, u8 *buffer, in hif_write_async() argument
41 address, buffer, length, request); in hif_write_async()
43 return ar->hif_ops->write_async(ar, address, buffer, length, in hif_write_async()
/kernel/linux/linux-5.10/drivers/s390/scsi/
H A Dzfcp_diag.c51 hdr->buffer = &diag->port_data.data; in zfcp_diag_adapter_setup()
60 hdr->buffer = &diag->config_data.data; in zfcp_diag_adapter_setup()
123 * zfcp_diag_update_xdata() - Update a diagnostics buffer.
142 memcpy(hdr->buffer, data, hdr->buffer_size); in zfcp_diag_update_xdata()
157 * * 0 - Successfully retrieved new Diagnostics and Updated the buffer;
172 /* buffer-data was updated in zfcp_fsf_exchange_port_data_handler() */ in zfcp_diag_update_port_data_buffer()
187 * * 0 - Successfully retrieved new Diagnostics and Updated the buffer;
202 /* buffer-data was updated in zfcp_fsf_exchange_config_data_handler() */ in zfcp_diag_update_config_data_buffer()
262 * diagnostics buffer rate limited.
264 * @hdr: buffer
[all...]
/kernel/linux/linux-5.10/include/linux/mtd/
H A Donenand.h77 * @page_buf: [INTERN] page main data buffer
78 * @oob_buf: [INTERN] page oob data buffer
109 unsigned char *buffer, int offset, size_t count);
111 const unsigned char *buffer, int offset, size_t count);
235 unsigned char *buffer, int offset, size_t count);
/kernel/linux/linux-5.10/security/keys/
H A Duser_defined.c171 long user_read(const struct key *key, char *buffer, size_t buflen) in user_read() argument
180 if (buffer && buflen > 0) { in user_read()
184 memcpy(buffer, upayload->data, buflen); in user_read()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_xattr.c108 if (!context->buffer) in __xfs_xattr_put_listent()
117 offset = context->buffer + context->count; in __xfs_xattr_put_listent()
201 context.buffer = size ? data : NULL; in xfs_vn_listxattr()
/kernel/linux/linux-5.10/include/crypto/
H A Dkpp.h19 * @src_len: Size of the input buffer
20 * @dst_len: Size of the output buffer. It needs to be at least
51 * The implementation knows how to decode the buffer
60 * @max_size: Function returns the size of the output buffer
72 int (*set_secret)(struct crypto_kpp *tfm, const void *buffer,
217 * kpp_request_set_input() - Sets input buffer
234 * kpp_request_set_output() - Sets output buffer
257 * struct kpp_secret - small header for packing secret buffer
274 * @buffer: Buffer holding the packet representation of the private
279 * @len: Length of the packet private key buffer
283 crypto_kpp_set_secret(struct crypto_kpp *tfm, const void *buffer, unsigned int len) crypto_kpp_set_secret() argument
[all...]
/kernel/linux/linux-6.6/drivers/misc/mei/pxp/
H A Dmei_pxp.c28 * @message: a message buffer to send
55 * @buffer: a message buffer to contain the received message
56 * @size: size of the buffer
60 mei_pxp_receive_message(struct device *dev, void *buffer, size_t size) in mei_pxp_receive_message() argument
65 if (!dev || !buffer) in mei_pxp_receive_message()
70 byte = mei_cldev_recv(cldev, buffer, size); in mei_pxp_receive_message()
86 * @sg_in: scatter gather list containing addresses for rx message buffer
88 * @sg_out: scatter gather list containing addresses for tx message buffer
/kernel/linux/linux-6.6/include/crypto/
H A Dkpp.h23 * @src_len: Size of the input buffer
24 * @dst_len: Size of the output buffer. It needs to be at least
73 * The implementation knows how to decode the buffer
82 * @max_size: Function returns the size of the output buffer
93 int (*set_secret)(struct crypto_kpp *tfm, const void *buffer,
243 * kpp_request_set_input() - Sets input buffer
260 * kpp_request_set_output() - Sets output buffer
283 * struct kpp_secret - small header for packing secret buffer
320 * @buffer: Buffer holding the packet representation of the private
325 * @len: Length of the packet private key buffer
329 crypto_kpp_set_secret(struct crypto_kpp *tfm, const void *buffer, unsigned int len) crypto_kpp_set_secret() argument
[all...]
/kernel/linux/linux-6.6/include/linux/mtd/
H A Donenand.h77 * @page_buf: [INTERN] page main data buffer
78 * @oob_buf: [INTERN] page oob data buffer
109 unsigned char *buffer, int offset, size_t count);
111 const unsigned char *buffer, int offset, size_t count);
235 unsigned char *buffer, int offset, size_t count);
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/
H A Dhif-ops.h35 static inline int hif_write_async(struct ath6kl *ar, u32 address, u8 *buffer, in hif_write_async() argument
41 address, buffer, length, request); in hif_write_async()
43 return ar->hif_ops->write_async(ar, address, buffer, length, in hif_write_async()
/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00usb.h82 * @buffer: Buffer where information will be read/written to by device
83 * @buffer_length: Size of &buffer
87 * the &buffer argument _must_ either be NULL or point to
88 * a buffer allocated by kmalloc. Failure to do so can lead
94 void *buffer, const u16 buffer_length,
103 * @buffer: Buffer where information will be read/written to by device
104 * @buffer_length: Size of &buffer
107 * to communicate with the device. The contents of the buffer pointer
116 const u16 offset, void *buffer,
125 * @buffer
[all...]
/kernel/linux/linux-6.6/rust/macros/
H A Dmodule.rs28 buffer: String,
36 buffer: String::new(), in new()
55 &mut self.buffer, in emit_base()
297 modinfo = modinfo.buffer,
/kernel/linux/linux-6.6/security/keys/
H A Duser_defined.c171 long user_read(const struct key *key, char *buffer, size_t buflen) in user_read() argument
180 if (buffer && buflen > 0) { in user_read()
184 memcpy(buffer, upayload->data, buflen); in user_read()
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dkhugepaged.c353 char buffer[MAX_LINE_LENGTH]; in check_huge() local
369 if (!check_for_pattern(fp, addr_pattern, buffer)) in check_huge()
382 if (!check_for_pattern(fp, "AnonHugePages:", buffer)) in check_huge()
385 if (strncmp(buffer, addr_pattern, strlen(addr_pattern))) in check_huge()
400 char buffer[MAX_LINE_LENGTH]; in check_swap() local
416 if (!check_for_pattern(fp, addr_pattern, buffer)) in check_swap()
429 if (!check_for_pattern(fp, "Swap:", buffer)) in check_swap()
432 if (strncmp(buffer, addr_pattern, strlen(addr_pattern))) in check_swap()
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/
H A Ducd9000.c441 static int ucd9000_get_mfr_status(struct i2c_client *client, u8 *buffer) in ucd9000_get_mfr_status() argument
448 return i2c_smbus_read_block_data(client, UCD9000_MFR_STATUS, buffer); in ucd9000_get_mfr_status()
455 u8 buffer[I2C_SMBUS_BLOCK_MAX]; in ucd9000_debugfs_show_mfr_status_bit() local
458 ret = ucd9000_get_mfr_status(client, buffer); in ucd9000_debugfs_show_mfr_status_bit()
467 *val = !!(buffer[i] & BIT(entry->index % 8)); in ucd9000_debugfs_show_mfr_status_bit()
479 u8 buffer[I2C_SMBUS_BLOCK_MAX]; in ucd9000_debugfs_read_mfr_status() local
484 rc = ucd9000_get_mfr_status(client, buffer); in ucd9000_debugfs_read_mfr_status()
488 res = bin2hex(str, buffer, min(rc, I2C_SMBUS_BLOCK_MAX)); in ucd9000_debugfs_read_mfr_status()
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
H A Dttm_memory.c91 char *buffer) in ttm_mem_zone_show()
110 return snprintf(buffer, PAGE_SIZE, "%llu\n", in ttm_mem_zone_show()
118 const char *buffer, in ttm_mem_zone_store()
127 chars = sscanf(buffer, "%lu", &val); in ttm_mem_zone_store()
181 char *buffer) in ttm_mem_global_show()
192 return snprintf(buffer, PAGE_SIZE, "%llu\n", in ttm_mem_global_show()
198 const char *buffer, in ttm_mem_global_store()
207 chars = sscanf(buffer, "%lu", &val); in ttm_mem_global_store()
89 ttm_mem_zone_show(struct kobject *kobj, struct attribute *attr, char *buffer) ttm_mem_zone_show() argument
116 ttm_mem_zone_store(struct kobject *kobj, struct attribute *attr, const char *buffer, size_t size) ttm_mem_zone_store() argument
179 ttm_mem_global_show(struct kobject *kobj, struct attribute *attr, char *buffer) ttm_mem_global_show() argument
196 ttm_mem_global_store(struct kobject *kobj, struct attribute *attr, const char *buffer, size_t size) ttm_mem_global_store() argument
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi.c283 * @buffer: Where to put the result
285 * @len: The length of the buffer
292 static int scsi_vpd_inquiry(struct scsi_device *sdev, unsigned char *buffer, in scsi_vpd_inquiry() argument
312 result = scsi_execute_cmd(sdev, cmd, REQ_OP_DRV_IN, buffer, len, in scsi_vpd_inquiry()
321 if (buffer[1] != page) in scsi_vpd_inquiry()
324 result = get_unaligned_be16(&buffer[2]); in scsi_vpd_inquiry()
382 * @buf_len: number of bytes in the VPD buffer area
527 * @buffer: scratch buffer (must be at least 20 bytes long)
528 * @len: length of buffer
538 scsi_report_opcode(struct scsi_device *sdev, unsigned char *buffer, unsigned int len, unsigned char opcode, unsigned short sa) scsi_report_opcode() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/serial/
H A Dch341.c294 u8 buffer[2]; in ch341_get_status() local
298 r = ch341_control_in(dev, CH341_REQ_READ_REG, 0x0706, 0, buffer, size); in ch341_get_status()
303 priv->msr = (~(*buffer)) & CH341_BITS_MODEM_STAT; in ch341_get_status()
314 u8 buffer[2]; in ch341_configure() local
318 r = ch341_control_in(dev, CH341_REQ_READ_VERSION, 0, 0, buffer, size); in ch341_configure()
322 priv->version = buffer[0]; in ch341_configure()
346 u8 buffer[2]; in ch341_detect_quirks() local
357 CH341_REG_BREAK, 0, &buffer, size, in ch341_detect_quirks()
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/
H A Ducd9000.c441 static int ucd9000_get_mfr_status(struct i2c_client *client, u8 *buffer) in ucd9000_get_mfr_status() argument
448 return i2c_smbus_read_block_data(client, UCD9000_MFR_STATUS, buffer); in ucd9000_get_mfr_status()
455 u8 buffer[I2C_SMBUS_BLOCK_MAX]; in ucd9000_debugfs_show_mfr_status_bit() local
458 ret = ucd9000_get_mfr_status(client, buffer); in ucd9000_debugfs_show_mfr_status_bit()
467 *val = !!(buffer[i] & BIT(entry->index % 8)); in ucd9000_debugfs_show_mfr_status_bit()
479 u8 buffer[I2C_SMBUS_BLOCK_MAX]; in ucd9000_debugfs_read_mfr_status() local
484 rc = ucd9000_get_mfr_status(client, buffer); in ucd9000_debugfs_read_mfr_status()
488 res = bin2hex(str, buffer, min(rc, I2C_SMBUS_BLOCK_MAX)); in ucd9000_debugfs_read_mfr_status()
/kernel/linux/linux-6.6/drivers/iio/accel/
H A Dadxl355_core.c12 #include <linux/iio/buffer.h>
235 } buffer; member
637 * data->buffer is used both for triggered buffer support in adxl355_trigger_handler()
640 data->buffer.buf[0] = 0; in adxl355_trigger_handler()
644 * in 32 bits, hence, it is saved in the 2nd byte of the 4 byte buffer. in adxl355_trigger_handler()
650 &data->buffer.buf[1], 3); in adxl355_trigger_handler()
655 &data->buffer.buf[5], 3); in adxl355_trigger_handler()
660 &data->buffer.buf[9], 3); in adxl355_trigger_handler()
665 &data->buffer in adxl355_trigger_handler()
[all...]
/kernel/linux/linux-6.6/security/integrity/evm/
H A Devm_main.c322 * @buffer: buffer xattr names, lengths or values are copied to
323 * @buffer_size: size of buffer
328 * given dentry and return the total size of copied data. If buffer is NULL,
333 int evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer, in evm_read_protected_xattrs() argument
350 if (buffer) { in evm_read_protected_xattrs()
352 *(buffer + total_size - 1) = '|'; in evm_read_protected_xattrs()
354 memcpy(buffer + total_size, xattr->name, size); in evm_read_protected_xattrs()
359 if (buffer) { in evm_read_protected_xattrs()
363 *(u32 *)(buffer in evm_read_protected_xattrs()
[all...]

Completed in 32 milliseconds

1...<<61626364656667686970>>...203