/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | regerror.c | 59 regerror(int code, const regex_t* p, char* buf, size_t size) argument 70 if (size) 72 strncpy(buf, s, size); 73 buf[size - 1] = 0;
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | mc.h | 90 int xfer_size; /* Data transfer size in CPU cache line */ 94 uint64_t size; /* size of physical memory */ member in struct:mc_memory 103 uint64_t size; /* in bytes */ member in struct:mc_segment 113 uint64_t size; /* memory size per logical bank */ member in struct:mc_bank 130 uint64_t size; /* memory size per physical dimm group */ member in struct:mc_devgrp
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | ds_pri.h | 44 #define DSPRI_GETINFO (DSPRIIOC | 1) /* Get PRI size */ 53 uint64_t size; member in struct:dspri_info
|
H A D | ds_snmp.h | 44 #define DSSNMP_GETINFO (DSSNMPIOC | 1) /* Get SNMP size */ 52 uint64_t size; member in struct:dssnmp_info
|
/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--;
|
/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/lib/libast/common/misc/ |
H A D | recfmt.c | 25 * determine record format by sampling data in <buf,size> 26 * total is the total file size, <=0 if not available 43 recfmt(const void* buf, size_t size, off_t total) argument 65 t = s + size; 72 if (!k || size > 2 * k) 81 if ((t = (unsigned char*)memchr((void*)s, k = terminators[i], size / 2)) && (n = t - s + 1) > 1 && (total <= 0 || !(total % n))) 83 for (j = n - 1; j < size; j += n) 100 for (i = 0; i < size; i++) 121 for (j = i; j < size - i; j += i) 136 for (i = 0; i < size; 151 size_t size; local [all...] |
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | mwrite.c | 89 short size; local 105 size = stoh(msgbuf); 115 if (_mwrite(md, msgbuf, size) == 0) 128 || (p->dat->buf = (char *)Malloc(size)) == NULL) 133 (void) memcpy(p->dat->buf, msgbuf, size); 134 p->dat->len = size; 163 int _mwrite ( MESG * md, char * msgbuf , int size ) 174 if (size <= 0 || size > MSGMAX) 183 dat.maxlen = dat.len = size; [all...] |
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_diskmgt.h | 46 uint64_t size; member in struct:dmgt_slice 53 uint64_t size; member in struct:dmgt_disk
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | zfs_fletcher.c | 30 fletcher_2_native(const void *buf, uint64_t size, zio_cksum_t *zcp) argument 33 const uint64_t *ipend = ip + (size / sizeof (uint64_t)); 47 fletcher_2_byteswap(const void *buf, uint64_t size, zio_cksum_t *zcp) argument 50 const uint64_t *ipend = ip + (size / sizeof (uint64_t)); 64 fletcher_4_native(const void *buf, uint64_t size, zio_cksum_t *zcp) argument 67 const uint32_t *ipend = ip + (size / sizeof (uint32_t)); 81 fletcher_4_byteswap(const void *buf, uint64_t size, zio_cksum_t *zcp) argument 84 const uint32_t *ipend = ip + (size / sizeof (uint32_t));
|
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | growfs.sh | 40 size="" 75 s) size=$OPTARG ;; 91 if [ ! "$size" ]; then 92 size=`devinfo -p $raw_special | awk '{ print $5 }'` 93 if [ $? -ne 0 -o ! "$size" ]; then 94 echo "$myname: cannot get partition size" 99 cmd="$UFS_MKFS $mkfs_opts $mkfs_subopts $raw_special $size" 108 while [ "$newsize" -lt "$size" ]; do 109 cmd="$UFS_MKFS $mkfs_opts $mkfs_subopts -P $raw_special $size" 115 echo "$myname: cannot probe the possible file system size" [all...] |
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_as.c | 50 av1394_as_alloc(av1394_as_t *as, size_t size) argument 55 as->as_end += size;
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | LinkEventListener.h | 52 void *buf, uint32_t size); 57 uint32_t size; member in class:LinkEventListener
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/include/ |
H A D | dapl_ring_buffer_util.h | 55 DAT_COUNT size); 59 DAT_COUNT size);
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj_stubs.c | 79 kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off) argument 98 kobj_read(intptr_t descr, char *buf, unsigned size, unsigned offset) argument 117 kobj_get_filesize(struct _buf *file, uint64_t *size) argument 138 kobj_getelfsym(char *name, void *mp, int *size) argument 189 kobj_alloc(size_t size, int flag) argument 196 kobj_zalloc(size_t size, int flag) argument 203 kobj_free(void *address, size_t size) argument 218 kobj_sync_instruction_memory(caddr_t addr, size_t size) argument
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | Sys_malloc.c | 67 size_t size, 72 _Malloc (size, file, line) 73 size_t size; 78 alloc_type ret = malloc(size); 92 size_t size, 97 _Realloc (ptr, size, file, line) 99 size_t size; 104 alloc_type ret = realloc(ptr, size); 66 _Malloc( size_t size, const char * file, int line ) argument 90 _Realloc( void * ptr, size_t size, const char * file, int line ) argument
|
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootiic/ |
H A D | env_vars.c | 83 int i, size = MAX_ENV_SIZE_BYTES, copySize; local 91 size -= copySize + 1; 93 if (size < 0) { 172 int index, j, size; local 179 size = MAX_ENV_SIZE_BYTES; 181 for (index = 0; (index < MAX_BOOT_COMMANDS) && size; ++index) { 182 for (j = 0; (j < MAX_INPUT_SIZE) && size; ++j) { 183 size--;
|
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/ |
H A D | spi_flash.h | 37 void SPI_ReadFlash(unsigned flash_addr, char *dest_addr, unsigned size); 38 void SPI_WriteFlash(unsigned flash_addr, char *dest_addr, unsigned size);
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | md.c | 44 #error Image size must be a multiple of 512. 50 * the size looking at the start and end markers (strings), 87 md_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf, argument 99 if (size % MD_BLOCK_SIZE) 103 if ((ofs + size) > MD_IMAGE_SIZE) 104 size = MD_IMAGE_SIZE - ofs; 107 *rsize = size; 111 bcopy(md_image.start + ofs, buf, size); 114 bcopy(buf, md_image.start + ofs, size);
|
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/ |
H A D | cubieboard2.dts | 38 #size-cells = <1>;
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | fletcher.c | 27 fletcher_2_native(const void *buf, uint64_t size, argument 31 const uint64_t *ipend = ip + (size / sizeof (uint64_t)); 45 fletcher_2_byteswap(const void *buf, uint64_t size, argument 49 const uint64_t *ipend = ip + (size / sizeof (uint64_t)); 63 fletcher_4_native(const void *buf, uint64_t size, argument 67 const uint32_t *ipend = ip + (size / sizeof (uint32_t)); 81 fletcher_4_byteswap(const void *buf, uint64_t size, argument 85 const uint32_t *ipend = ip + (size / sizeof (uint32_t));
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_resync.c | 43 daddr_t size, 62 return (meta_raid_resync(sp, np, size, ep)); 64 return (meta_mirror_resync(sp, np, size, ep, cmd)); 77 daddr_t size, 103 if (meta_mirror_resync_all(sp, size, ep) != 0) 105 if (meta_raid_resync_all(sp, size, ep) != 0) 40 meta_resync_byname( mdsetname_t *sp, mdname_t *np, daddr_t size, md_error_t *ep, md_resync_cmd_t cmd ) argument 75 meta_resync_all( mdsetname_t *sp, daddr_t size, md_error_t *ep ) argument
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | mallint.h | 67 uint size; member in struct:freehdr 86 uint size; /* Size of the block */ member in struct:dblk 95 uint size; /* Size of the block */ member in struct:dblk 102 * weight(x) is the size of a block, in bytes; or 0 if and only if x 108 #define weight(x) ((x) == NIL? 0: (x->size)) 110 #define nextblk(p, size) ((Dblk) ((char *) (p) + (size)))
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | tsdalloc.c | 41 size_t size; member in struct:__anon3001 59 lfree(p, loc[i].size); 67 tsdalloc(__tsd_item_t n, size_t size, pfrv_t destructor) argument 100 loc[n].buf = p = lmalloc(size); 101 loc[n].size = size;
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | fgets.c | 44 /* read size-max line from stream, including '\n' */ 46 fgets(char *buf, int size, FILE *iop) argument 73 size--; /* room for '\0' */ 74 while (size > 0) { 86 n = (int)(size < iop->_cnt ? size : iop->_cnt); 97 size -= n;
|