/freebsd/contrib/libarchive/libarchive/test/ |
H A D | read_open_memory.c | 44 size_t read_size; 56 size_t size, size_t read_size, int fullapi); 60 read_open_memory(struct archive *a, const void *buff, size_t size, size_t read_size) 62 return read_open_memory_internal(a, buff, size, read_size, 2); in read_open_memory() 70 read_open_memory_minimal(struct archive *a, const void *buff, size_t size, size_t read_size) 72 return read_open_memory_internal(a, buff, size, read_size, 1); in read_open_memory_minimal() 79 read_open_memory_seek(struct archive *a, const void *buff, size_t size, size_t read_size) 81 return read_open_memory_internal(a, buff, size, read_size, 3); in read_open_memory_seek() 86 size_t size, size_t read_size, int level) in read_open_memory_internal() 107 mine->read_size in read_open_memory_internal() 45 size_t read_size; global() member 61 read_open_memory(struct archive * a,const void * buff,size_t size,size_t read_size) read_open_memory() argument 71 read_open_memory_minimal(struct archive * a,const void * buff,size_t size,size_t read_size) read_open_memory_minimal() argument 80 read_open_memory_seek(struct archive * a,const void * buff,size_t size,size_t read_size) read_open_memory_seek() argument 87 read_open_memory_internal(struct archive * a,const void * buff,size_t size,size_t read_size,int level) read_open_memory_internal() argument [all...] |
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_open_memory.c | 46 ssize_t read_size; member 68 size_t size, size_t read_size) in archive_read_open_memory2() argument 79 mine->read_size = read_size; in archive_read_open_memory2() 116 if (size > mine->read_size) in memory_read() 117 size = mine->read_size; in memory_read() 136 skip /= mine->read_size; in memory_read_skip() 137 skip *= mine->read_size; in memory_read_skip()
|
H A D | archive.h | 548 size_t size, size_t read_size);
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_simple_attr.c | 89 * @read_size: number of bytes to be transferred 102 simple_attr_read(struct file *filp, char *buf, size_t read_size, loff_t *ppos) in simple_attr_read() argument 123 if (*ppos >= ret || read_size < 1) { in simple_attr_read() 128 read_size = min(ret - *ppos, read_size); in simple_attr_read() 129 ret = strscpy(buf, prebuf + *ppos, read_size); in simple_attr_read()
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | Memory.cpp | 221 size_t read_size = first_cache_line->GetByteSize() - cache_line_offset; in Read() local 222 if (read_size > bytes_left) in Read() 223 read_size = bytes_left; in Read() 226 first_cache_line->GetBytes() + cache_line_offset, read_size); in Read() 227 bytes_left -= read_size; in Read() 253 read_size = bytes_left; in Read() 254 if (read_size > second_cache_line->GetByteSize()) in Read() 255 read_size = second_cache_line->GetByteSize(); in Read() 258 read_size); in Read() 259 bytes_left -= read_size; in Read()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | fs.h | 343 * @read_size: number of bytes to be transferred 353 simple_read_from_buffer(void __user *dest, size_t read_size, loff_t *ppos, in simple_read_from_buffer() argument 362 if (read_size > buf_remain) in simple_read_from_buffer() 363 read_size = buf_remain; in simple_read_from_buffer() 372 p = memcpy(dest, read_pos, read_size); in simple_read_from_buffer() 374 *ppos += read_size; 376 return (read_size); 407 ssize_t simple_attr_read(struct file *filp, char *buf, size_t read_size, loff_t *ppos);
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | getifaddrs.c | 335 int result = 0, read_size; in nl_getmsg() local 345 result = read_size = nl_recvmsg(sd, request, seq, buff, bufsize, &msg_flags); in nl_getmsg() 346 if (read_size < 0 || (msg_flags & MSG_TRUNC)){ in nl_getmsg() 351 if (read_size == 0) break; in nl_getmsg() 354 NLMSG_OK(nh, read_size); in nl_getmsg() 355 nh = (struct nlmsghdr *)NLMSG_NEXT(nh, read_size)){ in nl_getmsg()
|
/freebsd/sys/dev/ixl/ |
H A D | i40e_nvm.c | 489 u16 read_size = *words; in i40e_read_nvm_buffer_aq() local 502 read_size = min(*words, in i40e_read_nvm_buffer_aq() 506 read_size = min((*words - words_read), in i40e_read_nvm_buffer_aq() 510 if ((words_read + read_size) >= *words) in i40e_read_nvm_buffer_aq() 513 ret_code = i40e_read_nvm_aq(hw, 0x0, offset, read_size, in i40e_read_nvm_buffer_aq() 521 words_read += read_size; in i40e_read_nvm_buffer_aq() 522 offset += read_size; in i40e_read_nvm_buffer_aq()
|
/freebsd/sys/dev/ice/ |
H A D | ice_nvm.c | 115 u32 read_size, sector_offset; in ice_read_flat_nvm() local 123 read_size = MIN_T(u32, ICE_AQ_MAX_BUF_LEN - sector_offset, in ice_read_flat_nvm() 126 last_cmd = !(bytes_read + read_size < inlen); in ice_read_flat_nvm() 128 /* ice_aq_read_nvm takes the length as a u16. Our read_size is in ice_read_flat_nvm() 133 offset, (u16)read_size, in ice_read_flat_nvm() 139 bytes_read += read_size; in ice_read_flat_nvm() 140 offset += read_size; in ice_read_flat_nvm()
|
/freebsd/sys/compat/lindebugfs/ |
H A D | lindebugfs.c | 611 fops_blob_read(struct file *filp, char __user *ubuf, size_t read_size, loff_t *ppos) 621 return (simple_read_from_buffer(ubuf, read_size, ppos, blob->data, blob->size)); in fops_blob_read() 613 fops_blob_read(struct file * filp,char __user * ubuf,size_t read_size,loff_t * ppos) fops_blob_read() argument
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_bufferevent.c | 1267 size_t read_size = evbuffer_get_length(input); in bufferevent_filter_data_stuck_readcb() local 1268 evbuffer_drain(input, read_size); in bufferevent_filter_data_stuck_readcb() 1269 filter_data->total_read += read_size; in bufferevent_filter_data_stuck_readcb()
|
/freebsd/contrib/libevent/test/ |
H A D | regress_bufferevent.c | 1267 size_t read_size = evbuffer_get_length(input); in bufferevent_filter_data_stuck_readcb() local 1268 evbuffer_drain(input, read_size); in bufferevent_filter_data_stuck_readcb() 1269 filter_data->total_read += read_size; in bufferevent_filter_data_stuck_readcb()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
H A D | ProcessMinidump.cpp | 88 const size_t read_size = std::min<size_t>( in HashElfTextSection() local 90 sect_sp->GetObjectFile()->GetData(sect_sp->GetFileOffset(), read_size, data); in HashElfTextSection()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_raidz.c | 4079 uint64_t read_size = in raidz_reflow_scratch_sync() local 4090 VERIFY3U(write_size, <=, read_size); in raidz_reflow_scratch_sync() 4098 abds[i] = abd_alloc_linear(read_size, B_FALSE); in raidz_reflow_scratch_sync() 4144 0, abds[i], read_size, ZIO_TYPE_READ, in raidz_reflow_scratch_sync()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ObjectFileELF.cpp | 3569 size_t read_size = in CalculateStrata() local 3575 llvm::StringRef loader_name(buffer, read_size - 1); in CalculateStrata()
|
/freebsd/sys/dev/bxe/ |
H A D | ecore_hsi.h | 12338 uint8_t read_size /* Amount of bytes to read */; member 12340 uint8_t read_size /* Amount of bytes to read */; member
|
/freebsd/sys/dev/mlx5/ |
H A D | mlx5_ifc.h | 11900 u8 read_size[0x18]; 11582 u8 read_size[0x18]; global() member
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | hsi_struct_def.h | 65426 uint16_t read_size; member
|