/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_inet.c | 102 smb_inet_ntop(smb_inaddr_t *addr, char *buf, int size) argument 106 size_t sz = (size_t)size; 108 int sz = size; 121 (void) snprintf(buf, size, "%d.%d.%d.%d",
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | makectxt.c | 81 size_t size; local 85 size = sizeof (long) * (argc + 1); 88 ucp->uc_stack.ss_size - size) & ~(STACK_ALIGN - 1));
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | memalign.c | 37 #define _nextblk(p, size) ((TREE *)((uintptr_t)(p) + (size))) 43 * Returns a block of specified size on a specified alignment boundary. 66 size_t blksize; /* Current (shrinking) block size */ 69 size_t frag_size; /* size of fragments fore and aft */ 78 * check for valid size and alignment parameters 91 * fragment of minimum size cannot be created. In order to 93 * alignment to be at least as large as the minimum frag size 97 /* check for size that could overflow calculations */ 124 * get size o 193 aligned_alloc(size_t align, size_t size) argument [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_nvram.c | 163 size_t size; local 164 if ((rc = efx_nvram_size(enp, type, &size)) != 0) 166 snip->sni_size = (uint32_t)size;
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | compat_ohash.h | 41 unsigned int size; member in struct:ohash
|
H A D | mandoc_aux.c | 50 mandoc_calloc(size_t num, size_t size) argument 54 ptr = calloc(num, size); 61 mandoc_malloc(size_t size) argument 65 ptr = malloc(size); 72 mandoc_realloc(void *ptr, size_t size) argument 75 ptr = realloc(ptr, size); 82 mandoc_reallocarray(void *ptr, size_t num, size_t size) argument 85 ptr = reallocarray(ptr, num, size);
|
/illumos-gate/usr/src/common/ficl/ficlplatform/ |
H A D | unix.c | 19 ficlMalloc(size_t size) argument 21 return (malloc(size)); 25 ficlRealloc(void *p, size_t size) argument 27 return (realloc(p, size)); 54 ficlFileTruncate(ficlFile *ff, ficlUnsigned size) argument 56 return (ftruncate(fileno(ff->f), size));
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | gets.c | 86 fgetstr(char *buf, int size, int fd) argument 91 size--; /* leave space for terminator */ 93 while (size != 0) { 106 size--;
|
H A D | nullfs.c | 81 int null_read (struct open_file *f, void *buf, size_t size, size_t *resid) argument 86 int null_write (struct open_file *f, void *buf, size_t size, size_t *resid) argument
|
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | zopen.c | 15 xgzread(void *cookie, char *data, int size) argument 17 return gzread(cookie, data, size); 21 xgzwrite(void *cookie, const char *data, int size) argument 23 return gzwrite(cookie, (void*)data, size);
|
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootspi/ |
H A D | ee.c | 86 * void ReadEEPROM(unsigned ee_addr, char *data_addr, unsigned size) 88 * to data_addr for size bytes. Assume the TWI has been initialized. 93 EERead(unsigned ee_off, char *data_addr, unsigned size) argument 98 if ((ee_off & ~0xff) != ((ee_off + size) & ~0xff)) { 99 printf("Crosses page boundary: 0x%x 0x%x\n", ee_off, size); 109 while (size-- > 1) { 124 * void WriteEEPROM(unsigned ee_off, char *data_addr, unsigned size) 126 * from data_addr for size bytes. Assume the TWI has been initialized. 133 EEWrite(unsigned ee_off, const char *data_addr, unsigned size) argument 139 while (size [all...] |
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/ |
H A D | eeprom.c | 79 * void ReadEEPROM(unsigned ee_addr, char *data_addr, unsigned size) 81 * to data_addr for size bytes. Assume the TWI has been initialized. 86 ReadEEPROM(unsigned ee_off, unsigned char *data_addr, unsigned size) argument 107 while (size-- > 1){ 135 * void WriteEEPROM(unsigned ee_off, char *data_addr, unsigned size) 137 * from data_addr for size bytes. Assume the TWI has been initialized. 144 WriteEEPROM(unsigned ee_off, char *data_addr, unsigned size) argument 150 while (size--) {
|
/illumos-gate/usr/src/boot/sys/boot/i386/loader/ |
H A D | chain.c | 45 int fd, len, size = SECTOR_SIZE; local 73 size = st.st_size; 87 if (archsw.arch_readin(fd, mem, size) != size) { 102 uintptr[2] = size;
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | libofw.h | 80 cell_t size; member in struct:ofw_reg 87 cell_t size; member in struct:ofw_reg2
|
/illumos-gate/usr/src/boot/sys/boot/usb/ |
H A D | bsd_usbloader_test.c | 42 usb_malloc(size_t size) argument 44 return (malloc(size));
|
/illumos-gate/usr/src/boot/sys/boot/zfs/ |
H A D | libzfs.h | 52 uint32_t size; member in struct:zfs_boot_args
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.h | 67 /* size of binary data */ 68 size_t size; member in struct:ks_obj
|
/illumos-gate/usr/src/lib/krb5/dyn/ |
H A D | dyn.h | 38 int el_size, num_el, size, inc; member in struct:_DynObject
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_date.c | 113 datepart(const char *buf, int size, int min, int max, int *errp) { argument 117 for (i = 0; i < size; i++) {
|
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | fruraw.h | 51 size_t size; member in struct:raw_list
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | link_addr.c | 42 * Converts a "size" bytes long mac address to its string representation. 48 _link_ntoa(const unsigned char *macaddr, char *str, int size, int mactype) argument 54 ((buf = malloc(3 * size)) == NULL)) 57 for (i = 0; i < (size - 1); i++)
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | direader.c | 77 int buffer_dim; /* The allocated size of buffer[] */ 189 size_t size; local 197 _err_record_msg(dr->err, "Unable to deduce readdir() buffer size.", 207 size = sizeof(struct dirent) + name_max; 211 if(size > dr->buffer_dim || !dr->buffer) { 213 realloc(dr->buffer, size) : 214 malloc(size)); 226 dr->buffer_dim = size;
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | getpcstack.c | 62 size_t size = 0; local 86 size = st.ss_size; 89 * If size == 0, then ss_sp is the *top* of the stack. 96 size = (uintptr_t)st.ss_sp; 110 size = umem_max_stack - umem_min_stack; 114 * shorten size so that fr_savfp and fr_savpc will be within the stack 117 if (size >= UMEM_FRAMESIZE - 1) 118 size -= (UMEM_FRAMESIZE - 1); 120 size = 0; 131 if (((uintptr_t)fp - base) >= size) [all...] |
H A D | vmem_mmap.c | 46 vmem_mmap_alloc(vmem_t *src, size_t size, int vmflags) argument 51 ret = vmem_alloc(src, size, vmflags); 53 mmap(ret, size, ALLOC_PROT, ALLOC_FLAGS | MAP_FIXED, -1, 0) == 55 vmem_free(src, ret, size); 68 vmem_mmap_free(vmem_t *src, void *addr, size_t size) argument 71 (void) mmap(addr, size, FREE_PROT, FREE_FLAGS | MAP_FIXED, -1, 0); 72 vmem_free(src, addr, size); 77 vmem_mmap_top_alloc(vmem_t *src, size_t size, int vmflags) argument 83 ret = vmem_alloc(src, size, VM_NOSLEEP); 92 buf = mmap((void *)CHUNKSIZE, size, FREE_PRO [all...] |
/illumos-gate/usr/src/lib/libwrap/ |
H A D | socket.c | 252 int size = sizeof(sin); local 259 (void) recvfrom(fd, buf, sizeof(buf), 0, (struct sockaddr *) & sin, &size);
|