/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_windows.cpp | 26 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { argument
|
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_safe_c_api.h | 63 static inline void __kmp_strncpy_truncate(char *buffer, size_t buf_size, argument 65 if (src_size >= buf_size) { 66 src_size = buf_size - 1; 67 KMP_STRNCPY_S(buffer, buf_size, src, src_size); 68 buffer[buf_size - 1] = '\0'; 70 KMP_STRNCPY_S(buffer, buf_size, src, src_size);
|
/freebsd-11-stable/sbin/dhclient/ |
H A D | tree.h | 55 int buf_size; member in struct:tree_cache
|
/freebsd-11-stable/sys/geom/virstor/ |
H A D | binstream.c | 127 * Read a null-terminated string from stream into a buffer; buf_size is size 132 bs_read_str(bin_stream_t * bs, char *buf, unsigned buf_size) argument 136 if (buf == NULL || buf_size < 1) 140 } while (len++ < buf_size - 1 && *(work_buf++) != '\0'); 141 *(buf + buf_size - 1) = '\0'; 149 bs_read_buf(bin_stream_t * bs, char *buf, unsigned buf_size) argument 152 for (i = 0; i < buf_size; i++) 154 bs->pos += buf_size;
|
H A D | binstream.h | 72 * Read a null-terminated string from stream into a buffer; buf_size is size 76 char *bs_read_str(bin_stream_t * bs, char *buf, unsigned buf_size); 79 void bs_read_buf(bin_stream_t * bs, char *buf, unsigned buf_size);
|
/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | wpa_helpers.h | 22 const char *event, char *buf, size_t buf_size); 25 char *buf, size_t buf_size);
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | build_auth.c | 45 size_t buf_size; local 53 ASN1_MALLOC_ENCODE(EtypeList, buf, buf_size, &etypes, &len, ret); 58 if(buf_size != len) 73 ASN1_MALLOC_ENCODE(AD_IF_RELEVANT, buf, buf_size, &ad, &len, ret); 78 if(buf_size != len) 115 size_t buf_size; local 173 ASN1_MALLOC_ENCODE(Authenticator, buf, buf_size, &auth, &len, ret); 176 if(buf_size != len)
|
H A D | mk_safe.c | 46 size_t buf_size; local 102 ASN1_MALLOC_ENCODE(KRB_SAFE, buf, buf_size, &s, &len, ret); 105 if(buf_size != len) 126 ASN1_MALLOC_ENCODE(KRB_SAFE, buf, buf_size, &s, &len, ret); 130 if(buf_size != len)
|
H A D | mk_priv.c | 47 size_t buf_size; local 98 ASN1_MALLOC_ENCODE(EncKrbPrivPart, buf, buf_size, &part, &len, ret); 101 if (buf_size != len) 117 buf + buf_size - len, 128 ASN1_MALLOC_ENCODE(KRB_PRIV, buf, buf_size, &s, &len, ret); 131 if (buf_size != len) 136 ret = krb5_data_copy(outbuf, buf + buf_size - len, len);
|
H A D | mk_rep.c | 45 size_t buf_size; local 94 ASN1_MALLOC_ENCODE(EncAPRepPart, buf, buf_size, &body, &len, ret); 98 if (buf_size != len) 109 buf + buf_size - len,
|
H A D | rd_safe.c | 43 size_t buf_size; local 54 ASN1_MALLOC_ENCODE(KRB_SAFE, buf, buf_size, safe, &len, ret); 57 if(buf_size != len) 73 buf + buf_size - len,
|
/freebsd-11-stable/bin/ps/ |
H A D | fmt.c | 61 static size_t buf_size; local 71 buf_size = 4 * arg_max + 1; 72 if ((buf = malloc(buf_size)) == NULL) 84 len = (buf_size - 1 - (dst - buf)) / 4; 89 if ((buf_size - 1 - (dst - buf)) / 4 > 0)
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | octeon-pci-console.c | 150 uint32_t console_buffer_size = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, buf_size)); 177 int octeon_pci_console_host_read(uint64_t console_desc_addr, unsigned int console_num, char * buffer, int buf_size, uint32_t flags) argument 191 uint32_t console_buffer_size = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, buf_size)); 208 bytes_to_read = MIN(bytes_to_read, buf_size); 237 uint32_t console_buffer_size = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, buf_size)); 265 uint32_t console_buffer_size = octeon_read_mem32(console_addr + offsetof(octeon_pci_console_t, buf_size)); 326 bytes_available = octeon_pci_console_buffer_free_bytes(cons_ptr->buf_size, cons_ptr->output_write_index, cons_ptr->output_read_index); 332 if (cons_ptr->output_write_index + write_size >= cons_ptr->buf_size) 333 write_size = cons_ptr->buf_size - cons_ptr->output_write_index; 337 cons_ptr->output_write_index = (cons_ptr->output_write_index + write_size)%cons_ptr->buf_size; [all...] |
H A D | octeon-pci-console.h | 75 uint32_t buf_size; member in struct:__anon8842 139 int octeon_pci_console_host_read(uint64_t console_desc_addr, unsigned int console_num, char * buffer, int buf_size, uint32_t flags);
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | fad-gifc.c | 149 unsigned buf_size; local 175 buf_size = 8192; 180 if (buf_size > INT_MAX) { 187 buf = malloc(buf_size); 195 ifc.ifc_len = buf_size; 197 memset(buf, 0, buf_size); 206 if (ifc.ifc_len < (int)buf_size && 207 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN) 210 buf_size *= 2;
|
H A D | fad-glifc.c | 86 unsigned buf_size; local 133 buf_size = ifn.lifn_count * sizeof (struct lifreq); 134 buf = malloc(buf_size); 146 ifc.lifc_len = buf_size; 150 memset(buf, 0, buf_size);
|
/freebsd-11-stable/sys/dev/smartpqi/ |
H A D | smartpqi_ioctl.c | 242 if (iocommand->buf_size < 1 && 258 if (iocommand->buf_size > 0) { 261 ioctl_dma_buf.size = iocommand->buf_size; 277 iocommand->buf_size, mode)) != 0) { 308 if (iocommand->buf_size > 0) { 309 request.buffer_length = iocommand->buf_size; 311 request.sg_descriptors[0].len = iocommand->buf_size; 370 if (rcb->status == REQUEST_SUCCESS && iocommand->buf_size > 0 && 374 (void*)drv_buf, iocommand->buf_size, mode)) != 0) { 382 if (iocommand->buf_size > [all...] |
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_dbg_fw_funcs.h | 515 * @param buf_size - OUT: the required size (in dwords) of the buffer for 527 u32 *buf_size); 583 * @param buf_size - OUT: required buffer size (in dwords) for GRC Dump data. 591 u32 *buf_size); 619 * @param buf_size - OUT: required buffer size (in dwords) for idle check data. 627 u32 *buf_size); 656 * @param buf_size - OUT: required buffer size (in dwords) for mcp trace data. 667 u32 *buf_size); 700 * @param buf_size - OUT: required buffer size (in dwords) for reg fifo data. 708 u32 *buf_size); [all...] |
/freebsd-11-stable/sys/dev/qlxgbe/ |
H A D | ql_inline.h | 129 uint32_t handle, bus_addr_t paddr, uint32_t buf_size) 138 rcv_desc->buf_size = buf_size; 128 qla_set_hw_rcv_desc(qla_host_t *ha, uint32_t r_idx, uint32_t index, uint32_t handle, bus_addr_t paddr, uint32_t buf_size) argument
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_cq.c | 71 cq->buf_size = cq->size * mdev->dev->caps.cqe_size; 92 cq->buf_size, 2 * PAGE_SIZE); 106 mlx4_free_hwq_res(mdev->dev, &cq->wqres, cq->buf_size); 126 memset(cq->buf, 0, cq->buf_size); 190 mlx4_free_hwq_res(mdev->dev, &cq->wqres, cq->buf_size); 195 cq->buf_size = 0;
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
H A D | ProcessMonitor.h | 124 bool ReadGPR(lldb::tid_t tid, void *buf, size_t buf_size); 127 bool ReadFPR(lldb::tid_t tid, void *buf, size_t buf_size); 132 bool ReadRegisterSet(lldb::tid_t tid, void *buf, size_t buf_size, 136 bool WriteGPR(lldb::tid_t tid, void *buf, size_t buf_size); 139 bool WriteFPR(lldb::tid_t tid, void *buf, size_t buf_size); 144 bool WriteRegisterSet(lldb::tid_t tid, void *buf, size_t buf_size,
|
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_helper.c | 573 static ib_api_status_t dbg_do_line(IN char **pp_local, IN uint32_t buf_size, argument 584 if (*p_total_len + sizeof('\0') > buf_size) 592 static void dbg_get_capabilities_str(IN char *p_buf, IN uint32_t buf_size, argument 603 if (dbg_do_line(&p_local, buf_size, p_prefix_str, 609 if (dbg_do_line(&p_local, buf_size, p_prefix_str, 615 if (dbg_do_line(&p_local, buf_size, p_prefix_str, 621 if (dbg_do_line(&p_local, buf_size, p_prefix_str, 627 if (dbg_do_line(&p_local, buf_size, p_prefix_str, 633 if (dbg_do_line(&p_local, buf_size, p_prefix_str, 639 if (dbg_do_line(&p_local, buf_size, p_prefix_st 796 dbg_get_capabilities2_str(IN char *p_buf, IN uint32_t buf_size, IN const char *p_prefix_str, IN const ib_port_info_t * p_pi) argument 2661 osm_dump_dr_smp_to_buf(IN const ib_smp_t * p_smp, OUT char * buf, IN size_t buf_size) argument 2863 osm_dump_dr_path_to_buf(IN const osm_dr_path_t * p_path, OUT char * buf, IN size_t buf_size) argument 2903 osm_dump_smp_dr_path_to_buf(IN const ib_smp_t * p_smp, OUT char * buf, IN size_t buf_size) argument [all...] |
/freebsd-11-stable/stand/libsa/ |
H A D | ufs.c | 454 size_t buf_size; local 462 rc = buf_read_file(f, &buf, &buf_size); 467 edp = (struct direct *)(buf + buf_size); 486 fp->f_seekp += buf_size; 507 size_t buf_size; local 528 (char *)fs, &buf_size); 534 buf_size == SBLOCKSIZE && 645 size_t buf_size; local 658 fs->fs_bsize, buf, &buf_size); 735 size_t buf_size; local 859 size_t buf_size; local [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | scm-valprint.c | 225 int buf_size; local 231 for (; done < len; done += buf_size) 233 buf_size = min (len - done, 64); 234 read_memory (addr + done, buffer, buf_size); 236 for (i = 0; i < buf_size; ++i)
|
/freebsd-11-stable/sys/dev/vnic/ |
H A D | thunder_bgx_fdt.c | 132 size_t buf_size; local 136 buf_size = sizeof(*node_name) * FDT_NAME_MAXLEN; 137 if (len > buf_size) { 145 node_name = malloc(buf_size, M_BGX, M_WAITOK); 148 memset(node_name, 0, buf_size);
|