/linux-master/drivers/firewire/ |
H A D | nosy.c | 50 } buffer[13]; member in struct:pcl 107 struct packet_buffer buffer; member in struct:client 115 packet_buffer_init(struct packet_buffer *buffer, size_t capacity) argument 117 buffer->data = kmalloc(capacity, GFP_KERNEL); 118 if (buffer->data == NULL) 120 buffer->head = (struct packet *) buffer->data; 121 buffer->tail = (struct packet *) buffer->data; 122 buffer 131 packet_buffer_destroy(struct packet_buffer *buffer) argument 139 struct packet_buffer *buffer = &client->buffer; local 183 packet_buffer_put(struct packet_buffer *buffer, void *data, size_t length) argument 338 nosy_read(struct file *file, char __user *buffer, size_t count, loff_t *offset) argument [all...] |
/linux-master/tools/testing/selftests/powerpc/ |
H A D | utils.c | 51 /* Overflow if there are still more bytes after filling the buffer */ 72 char *buffer = NULL; local 82 * report 0 file size. Instead just dynamically grow the buffer 92 next_buffer = realloc(buffer, buffer_len); 97 buffer = next_buffer; 100 rc = read(fd, buffer + read_offset, buffer_len - read_offset); 112 *buf = buffer; 121 free(buffer); 186 static int validate_int_parse(const char *buffer, size_t count, char *end) argument 191 if (end == buffer) { 212 parse_bounded_int(const char *buffer, size_t count, intmax_t *result, int base, intmax_t min, intmax_t max) argument 236 parse_bounded_uint(const char *buffer, size_t count, uintmax_t *result, int base, uintmax_t max) argument 260 parse_intmax(const char *buffer, size_t count, intmax_t *result, int base) argument 265 parse_uintmax(const char *buffer, size_t count, uintmax_t *result, int base) argument 270 parse_int(const char *buffer, size_t count, int *result, int base) argument 279 parse_uint(const char *buffer, size_t count, unsigned int *result, int base) argument 288 parse_long(const char *buffer, size_t count, long *result, int base) argument 297 parse_ulong(const char *buffer, size_t count, unsigned long *result, int base) argument 309 char buffer[32] = {0}; local 321 char buffer[32] = {0}; local 334 char buffer[32]; local 359 char buffer[32]; local [all...] |
/linux-master/drivers/md/dm-vdo/ |
H A D | errors.c | 143 char *buffer = buf; local 157 buffer = vdo_append_to_buffer(buffer, buf_end, "%s: %s", 160 buffer = vdo_append_to_buffer(buffer, buf_end, "Unknown %s %d", 164 buffer = vdo_append_to_buffer(buffer, buf_end, "%s", info->message); 166 const char *tmp = system_string_error(errnum, buffer, buf_end - buffer); 168 if (tmp != buffer) 180 char *buffer = buf; local [all...] |
H A D | string-utils.h | 19 /* Append a formatted string to the end of a buffer. */ 20 char *vdo_append_to_buffer(char *buffer, char *buf_end, const char *fmt, ...)
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_svm.c | 70 } buffer[]; member in struct:nouveau_svm 454 struct nouveau_svm_fault_buffer *buffer, u32 offset) 456 struct nvif_object *memory = &buffer->object; 477 if (!buffer->fault[buffer->fault_nr]) { 483 buffer->fault[buffer->fault_nr] = fault; 486 fault = buffer->fault[buffer->fault_nr++]; 715 struct nouveau_svm_fault_buffer *buffer local 453 nouveau_svm_fault_cache(struct nouveau_svm *svm, struct nouveau_svm_fault_buffer *buffer, u32 offset) argument 885 struct nouveau_svm_fault_buffer *buffer = container_of(event, typeof(*buffer), notify); local 941 struct nouveau_svm_fault_buffer *buffer = &svm->buffer[id]; local 950 struct nouveau_svm_fault_buffer *buffer = &svm->buffer[id]; local 963 struct nouveau_svm_fault_buffer *buffer = &svm->buffer[id]; local 984 struct nouveau_svm_fault_buffer *buffer = &svm->buffer[id]; local [all...] |
/linux-master/include/media/i2c/ |
H A D | saa6588.h | 20 unsigned char __user *buffer; member in struct:saa6588_command
|
/linux-master/include/crypto/ |
H A D | ghash.h | 20 u8 buffer[GHASH_BLOCK_SIZE]; member in struct:ghash_desc_ctx
|
/linux-master/fs/reiserfs/ |
H A D | xattr_user.c | 12 struct inode *inode, const char *name, void *buffer, size_t size) 17 buffer, size); 23 struct inode *inode, const char *name, const void *buffer, 30 buffer, size, flags); 11 user_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument 21 user_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument
|
/linux-master/fs/jffs2/ |
H A D | xattr_trusted.c | 21 const char *name, void *buffer, size_t size) 24 name, buffer, size); 30 const char *name, const void *buffer, 34 name, buffer, size, flags); 19 jffs2_trusted_getxattr(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument 27 jffs2_trusted_setxattr(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument
|
H A D | xattr_user.c | 21 const char *name, void *buffer, size_t size) 24 name, buffer, size); 30 const char *name, const void *buffer, 34 name, buffer, size, flags); 19 jffs2_user_getxattr(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument 27 jffs2_user_setxattr(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tx_common.h | 20 struct efx_tx_buffer *buffer, 25 static inline bool efx_tx_buffer_in_use(struct efx_tx_buffer *buffer) argument 27 return buffer->len || (buffer->flags & EFX_TX_BUF_OPTION);
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | auxtrace.c | 57 char buffer[64]; local 62 ret = get_cpuid(buffer, sizeof(buffer)); 68 if (!strncmp(buffer, "GenuineIntel,", 13))
|
/linux-master/tools/perf/arch/powerpc/util/ |
H A D | header.c | 15 get_cpuid(char *buffer, size_t sz) argument 22 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr)); 25 if (strchr(buffer, '$')) { 26 buffer[nb-1] = '\0';
|
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | index-page-map.c | 116 u8 *buffer; local 121 result = vdo_allocate(saved_size, u8, "page map data", &buffer); 125 memcpy(buffer, PAGE_MAP_MAGIC, PAGE_MAP_MAGIC_LENGTH); 127 encode_u64_le(buffer, &offset, map->last_update); 129 encode_u16_le(buffer, &offset, map->entries[i]); 131 result = uds_write_to_buffered_writer(writer, buffer, offset); 132 vdo_free(buffer); 143 u8 *buffer; local 148 result = vdo_allocate(saved_size, u8, "page map data", &buffer); 152 result = uds_read_from_buffered_reader(reader, buffer, saved_siz [all...] |
/linux-master/include/linux/iio/ |
H A D | buffer-dmaengine.h | 15 void iio_dmaengine_buffer_free(struct iio_buffer *buffer);
|
H A D | buffer-dma.h | 35 * struct iio_dma_buffer_block - IIO buffer block 41 * @queue: Parent DMA buffer queue 69 * struct iio_dma_buffer_queue_fileio - FileIO state for the DMA buffer 86 * struct iio_dma_buffer_queue - DMA buffer base structure 87 * @buffer: IIO buffer base structure 89 * @ops: DMA buffer callbacks 97 * @active: Whether the buffer is currently active 101 struct iio_buffer buffer; member in struct:iio_dma_buffer_queue 115 * struct iio_dma_buffer_ops - DMA buffer callbac [all...] |
/linux-master/drivers/s390/net/ |
H A D | qeth_core_mpc.h | 18 #define QETH_IPA_PDU_LEN_TOTAL(buffer) (buffer + 0x0e) 19 #define QETH_IPA_PDU_LEN_PDU1(buffer) (buffer + 0x26) 20 #define QETH_IPA_PDU_LEN_PDU2(buffer) (buffer + 0x29) 21 #define QETH_IPA_PDU_LEN_PDU3(buffer) (buffer + 0x3a) 23 #define QETH_IPA_CMD_DEST_ADDR(buffer) (buffer 523 char *buffer; member in struct:qeth_qoat_priv [all...] |
/linux-master/drivers/platform/x86/dell/ |
H A D | dell-smbios-smm.c | 24 static struct calling_interface_buffer *buffer; variable in typeref:struct:calling_interface_buffer 65 memcpy(buffer, input, size); 67 memcpy(input, buffer, size); 86 buffer->cmd_class = CLASS_TOKEN_READ; 87 buffer->cmd_select = SELECT_TOKEN_STD; 88 memset(buffer, 0, sizeof(struct calling_interface_buffer)); 89 buffer->input[0] = wsmt->location; 90 buffer->output[0] = 99; 91 dell_smbios_smm_call(buffer); 92 if (buffer [all...] |
/linux-master/sound/firewire/motu/ |
H A D | motu-proc.c | 27 struct snd_info_buffer *buffer) 39 snd_iprintf(buffer, "Rate:\t%d\n", rate); 40 snd_iprintf(buffer, "Source:\t%s\n", clock_names[source]); 44 struct snd_info_buffer *buffer) 54 snd_iprintf(buffer, "tx:\tmsg\tfixed\ttotal\n"); 59 snd_iprintf(buffer, 67 snd_iprintf(buffer, "rx:\tmsg\tfixed\ttotal\n"); 72 snd_iprintf(buffer, 26 proc_read_clock(struct snd_info_entry *entry, struct snd_info_buffer *buffer) argument 43 proc_read_format(struct snd_info_entry *entry, struct snd_info_buffer *buffer) argument
|
/linux-master/include/linux/ |
H A D | crc64.h | 15 u64 crc64_rocksoft(const unsigned char *buffer, size_t len); 16 u64 crc64_rocksoft_update(u64 crc, const unsigned char *buffer, size_t len);
|
H A D | logic_pio.h | 34 u32 (*ins)(void *hostdata, unsigned long addr, void *buffer, 36 void (*outs)(void *hostdata, unsigned long addr, const void *buffer, 47 void logic_insb(unsigned long addr, void *buffer, unsigned int count); 48 void logic_insl(unsigned long addr, void *buffer, unsigned int count); 49 void logic_insw(unsigned long addr, void *buffer, unsigned int count); 50 void logic_outsb(unsigned long addr, const void *buffer, unsigned int count); 51 void logic_outsw(unsigned long addr, const void *buffer, unsigned int count); 52 void logic_outsl(unsigned long addr, const void *buffer, unsigned int count);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_parse_tcp_hdr_opt_dynptr.c | 34 __u8 buffer[sizeof(kind) + sizeof(hdr_len) + sizeof(*server_id)]; local 37 __builtin_memset(buffer, 0, sizeof(buffer)); 39 data = bpf_dynptr_slice(ptr, *off, buffer, sizeof(buffer)); 77 __u8 buffer[sizeof(struct tcphdr)] = {}; local 90 tcp_hdr = bpf_dynptr_slice(&ptr, off, buffer, sizeof(buffer));
|
/linux-master/arch/x86/boot/compressed/ |
H A D | cmdline.c | 25 int cmdline_find_option(const char *option, char *buffer, int bufsize) argument 27 return __cmdline_find_option(get_cmd_line_ptr(), option, buffer, bufsize);
|
/linux-master/crypto/asymmetric_keys/ |
H A D | mscode_parser.c | 44 char buffer[50]; local 46 sprint_oid(value, vlen, buffer, sizeof(buffer)); 47 pr_err("Unknown OID: %s\n", buffer); 73 char buffer[50]; local 101 sprint_oid(value, vlen, buffer, sizeof(buffer)); 102 pr_err("Unknown OID: %s\n", buffer);
|
/linux-master/kernel/gcov/ |
H A D | base.c | 53 * store_gcov_u32 - store 32 bit number in gcov format to buffer 54 * @buffer: target buffer or NULL 55 * @off: offset into the buffer 60 * file. Returns the number of bytes stored. If @buffer is %NULL, doesn't 63 size_t store_gcov_u32(void *buffer, size_t off, u32 v) argument 67 if (buffer) { 68 data = buffer + off; 76 * store_gcov_u64 - store 64 bit number in gcov format to buffer 77 * @buffer 87 store_gcov_u64(void *buffer, size_t off, u64 v) argument [all...] |