/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | shdr.c | 64 dbg_isec_name_buf_t buf; local 74 dbg_fmt_isec_name2(name, ndx, buf, &alloc_mem), obj);
|
H A D | unused.c | 45 dbg_isec_name_buf_t buf; local 69 dbg_fmt_isec_name(isp, buf, &alloc_mem),
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | mnt.c | 81 struct stat buf; local 85 if (stat(MNTTAB, &buf) == 0) { 86 if (buf.st_mtime != mtime) { 97 mtime = buf.st_mtime;
|
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | ldma_log.c | 61 ldma_timestamp(char *buf, size_t buflen) argument 66 if ((buf == NULL) || (buflen == 0)) 69 buf[0] = '\0'; 83 if (strftime(buf, buflen, "%b %e %T ", <ime) == 0) { 91 buf[0] = '\0';
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | tipout.c | 96 char buf[BUFSIZ]; local 124 cnt = read(FD, buf, BUFSIZ); 150 for (cp = buf; cp < buf + cnt; cp++) 153 (void) write(1, buf, cnt); 156 (void) fwrite(buf, 1, cnt, fscript); 158 for (cp = buf; cp < buf + cnt; cp++)
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmautobaud.c | 137 static char buf[5]; local 138 register char *cp = buf; 161 cp = &buf[1]; 163 strncpy(cp, peek_ptr->buf, k=peek_ptr->len); 170 buf[0] = (char)k; 173 if (buf[i] != tp->a_pattern[i]) 175 if (i == buf[0]) {
|
H A D | tmpeek.c | 74 for(j=0; j<peek_ptr->len; j++) peek_ptr->buf[j] &= 0x7F; 120 struct strbuf *ptr) /* ptr that holds data in ptr->buf */ 126 if (ptr->buf[i] == '\0') { 129 } else if ((ptr->buf[i] == '\n') || (ptr->buf[i] == '\r')) { 149 * - return a ptr to the buf that contains the data 160 static char buf[BUFSIZ]; local 170 peekp->ctlbuf.buf = buf; 172 peekp->databuf.buf [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_byteswap.c | 50 zfs_ace_byteswap(void *buf, size_t size, boolean_t zfs_layout) argument 60 end = (caddr_t)buf + size; 61 ptr = buf; 137 zfs_oldacl_byteswap(void *buf, size_t size) argument 148 zfs_oldace_byteswap((ace_t *)buf, cnt); 153 zfs_acl_byteswap(void *buf, size_t size) argument 155 zfs_ace_byteswap(buf, size, B_TRUE); 159 zfs_znode_byteswap(void *buf, size_t size) argument 161 znode_phys_t *zp = buf;
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_mem.c | 77 * au_buff_t *buf; start of the record chain 80 au_free_rec(au_buff_t *buf) argument 93 softcall(audit_async_discard_backend, buf); 96 while (buf != NULL) { 97 next = buf->next_buf; 98 kmem_cache_free(au_buf_cache, buf); 99 buf = next; 119 * au_buff_t *buf; buffer to append 123 au_append_rec(au_buff_t *rec, au_buff_t *buf, int pack) argument 130 if (((int)(rec->len + buf 150 au_append_buf(const char *data, int len, au_buff_t *buf) argument [all...] |
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_driver.c | 74 char buf[CPR_BUFSIZE]; local 82 devi_string(dip, buf)); 113 devi_string(dip, buf)); 115 devi_string(dip, buf)); 149 char buf[CPR_BUFSIZE]; local 191 devi_string(dip, buf)); 201 devi_string(dip, buf)); 204 devi_string(dip, buf)); 222 devi_string(dip, buf)); 224 devi_string(dip, buf)); 238 devi_string(dev_info_t *devi, char *buf) argument [all...] |
/illumos-gate/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_log.c | 57 char buf[128]; local 61 (void) vsnprintf(buf, sizeof (buf), fmt, args); 62 cmn_err(prtdata.level, prtdata.fmt, prtdata.ifname, buf);
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | LinkEvent.h | 46 wwn(myWwn), buf(myBuf), size(mySize), type(myType) { } 48 void* getBuf() { return (buf); } 54 void *buf; member in class:LinkEvent
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_io.c | 95 prom_read(ihandle_t fd, caddr_t buf, size_t len, uint_t startblk, char devtype) argument 102 if ((uintptr_t)buf > (uint32_t)-1) { 103 obuf = buf; 104 buf = promplat_alloc(len); 105 if (buf == NULL) 117 ci[4] = p1275_ptr2cell(buf); /* Arg2: buffer address */ 128 promplat_bcopy(buf, obuf, len); 129 promplat_free(buf, len); 143 prom_write(ihandle_t fd, caddr_t buf, size_t len, uint_t startblk, char devtype) argument 153 ASSERT(buf); [all...] |
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_fio.c | 154 prom_fread(ihandle_t fsih, int fd, caddr_t buf, size_t len) argument 160 if ((uintptr_t)buf > (uint32_t)-1) { 161 obuf = buf; 162 buf = promplat_alloc(len); 163 if (buf == NULL) 177 ci[7] = p1275_ptr2cell(buf); /* Arg5: buffer address */ 185 promplat_bcopy(buf, obuf, len); 186 promplat_free(buf, len);
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/ |
H A D | prom_serengeti.c | 158 prom_serengeti_get_ecacheunum(int cpuid, unsigned long long physaddr, char *buf, argument 180 ci[6] = p1275_ptr2cell(buf); /* Arg4: buf */
|
/illumos-gate/usr/src/psm/stand/bootlst/common/ |
H A D | sasubr.c | 84 cons_gets(char *buf, int n) argument 90 lp = buf; 91 limit = &buf[n - 1]; 98 return (buf); 100 if (lp > buf) 104 lp = buf;
|
/illumos-gate/usr/src/stand/lib/fs/common/ |
H A D | promfs.c | 42 static ssize_t promfs_read(int fd, caddr_t buf, size_t size); 92 promfs_read(int fd, caddr_t buf, size_t size) argument 94 return (prom_fread(fsih, fd, buf, size));
|
/illumos-gate/usr/src/test/zfs-tests/cmd/dir_rd_update/ |
H A D | dir_rd_update.c | 88 char buf[16]; local 94 rdret = read(fd, buf, 16);
|
/illumos-gate/usr/src/test/zfs-tests/cmd/rm_lnkcnt_zero_file/ |
H A D | rm_lnkcnt_zero_file.c | 63 char buf[256]; local 70 (void) snprintf(buf, len, "%s.%03d", filebase, idx); 71 ret = rename(filebase, buf); 83 char buf[256]; local 90 (void) snprintf(buf, len, "%s.%03d", filebase, idx); 91 ret = remove(buf);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sctp_crc32.c | 95 sctp_crc_byte(uint32_t *crcptr, const uint8_t *buf, int len) argument 103 crc = (crc << 8) ^ crctab[3][buf[i] ^ (crc >> 24)]; 105 crc = (crc >> 8) ^ crctab[0][buf[i] ^ (crc & 0xff)]; 112 sctp_crc_word(uint32_t *crcptr, const uint32_t *buf, int len) argument 119 w = crc ^ buf[i]; 127 sctp_crc32(uint32_t crc32, const uint8_t *buf, int len) argument 131 rem = 4 - ((uintptr_t)buf) & 3; 136 sctp_crc_byte(&crc32, buf, rem); 137 buf = buf [all...] |
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | auth_none.c | 71 authnone_init(void *buf, void *cdrarg, int kmflags) argument 73 AUTH *auth = (AUTH *)buf;
|
/illumos-gate/usr/src/uts/common/sys/usb/hubd/ |
H A D | hubd_impl.h | 66 caddr_t buf; /* data buffer */ member in struct:hubd_ioctl_data 76 caddr32_t buf; /* data buffer */ member in struct:hubd_ioctl_data_32
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | getdents.c | 71 getdents32(int fd, void *buf, size_t count) argument 171 if ((error = copyout(obuf, buf, osize)) < 0) 189 getdents64(int fd, void *buf, size_t count) argument 218 aiov.iov_base = buf;
|
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kalloc.c | 89 * 'buf' and 'maxlen' fields of each. 141 p.udata->udata.buf = NULL; 171 _alloc_buf(struct netbuf *buf, t_scalar_t n) argument 175 buf->buf = kmem_zalloc(1024, KM_SLEEP); 176 buf->maxlen = 1024; 177 buf->len = 0; 182 buf->buf = NULL; 183 buf [all...] |
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | regexp.c | 37 char* buf; member in struct:__anon2609 47 if (data || (size = roundof(size, ALIGN_BOUND2)) > (env->buf + env->size - env->cur)) 62 env->buf = env->cur = (char*)env + sizeof(Env_t);
|