/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zap.c | 144 l->l_dbuf = db; in fzap_upgrade() 438 l->l_blkid << FZAP_BLOCK_SHIFT(zap), NULL, &l->l_dbuf, in zap_create_leaf() 448 return (l); in zap_create_leaf() 491 l = winner; in zap_open_leaf() 513 (uintptr_t)zap_leaf_phys(l), ==, l->l_dbuf->db_size); in zap_open_leaf() 515 return (l); in zap_open_leaf() 556 *lp = l; in zap_get_leaf_byblk() 661 *lp = l; in zap_expand_leaf() 699 *lp = l; in zap_expand_leaf() 845 err = zap_expand_leaf(zn, l, tag, tx, &l); in fzap_add_cd() [all …]
|
/illumos-gate/usr/src/common/tsol/ |
H A D | ltos.c | 57 #define malloc(l) kmem_alloc(l, KM_NOSLEEP) argument 58 #define freeit(a, l) kmem_free(a, l) argument 60 #define freeit(a, l) free(a) argument 72 #define HEX(h, i, l, s) \ argument 78 __hex(char **s, const m_label_t *l) in __hex() argument 145 if (!(_MTYPE(l, SUN_MAC_ID) || _MTYPE(l, SUN_UCLR_ID))) { in l_to_str_internal() 165 return (__hex(s, l)); in l_to_str_internal() 206 lscall.label = *l; in label_to_str() 254 return (l_to_str_internal(l, s)); in label_to_str() 262 ccall.label = *l; in label_to_str() [all …]
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_init.c | 271 int l; in add_lib() local 286 tlm_enable_barcode(l); in add_lib() 317 if (l <= 0 || !dp) { in make_virtual_slot() 346 if (!slink || l <= 0) { in make_stand_alone_drive() 407 int l, d; in add_drv() local 437 l = *vlp; in add_drv() 497 int l, d; in inaccbl_drv_warn() local 500 for (l = start; l < max; l++) { in inaccbl_drv_warn() 534 int l, vlibs, d; in tlm_init() local 569 for (l = 1; l <= tlm_library_count(); l++) { in tlm_init() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lstrlib.c | 61 size_t l; in str_len() local 77 size_t l; in str_sub() local 82 if (end > l) end = l; in str_sub() 103 size_t l; in str_lower() local 116 size_t l; in str_upper() local 137 else if (l + lsep < l || l + lsep >= MAXSIZE / n) /* may overflow? */ in str_rep() 144 memcpy(p, s, l * sizeof(char)); p += l; in str_rep() 157 size_t l; in str_byte() local 163 if (pose > l) pose = l; in str_byte() 251 if (l < 0 || l >= ms->level || ms->capture[l].len == CAP_UNFINISHED) in check_capture() [all …]
|
H A D | lfunc.c | 32 c->l.p = NULL; in luaF_newLclosure() 33 c->l.nupvalues = cast_byte(n); in luaF_newLclosure() 34 while (n--) c->l.upvals[n] = NULL; in luaF_newLclosure() 66 uv->u.l.prev = &g->uvhead; /* double link it in `uvhead' list */ in luaF_findupval() 67 uv->u.l.next = g->uvhead.u.l.next; in luaF_findupval() 68 uv->u.l.next->u.l.prev = uv; in luaF_findupval() 69 g->uvhead.u.l.next = uv; in luaF_findupval() 70 lua_assert(uv->u.l.next->u.l.prev == uv && uv->u.l.prev->u.l.next == uv); in luaF_findupval() 76 lua_assert(uv->u.l.next->u.l.prev == uv && uv->u.l.prev->u.l.next == uv); in unlinkupval() 77 uv->u.l.next->u.l.prev = uv->u.l.prev; /* remove from `uvhead' list */ in unlinkupval() [all …]
|
H A D | lvm.c | 10 #define strcoll(l,r) (strcmp((l),(r))) argument 53 int l = lua_number2str(s, n); in luaV_tostring() local 81 L->oldpc = ci->u.l.savedpc; in traceexec() 317 tl += l; in luaV_concat() 325 tl += l; in luaV_concat() 467 ncl->l.p = p; in pushclosure() 591 #define vmcase(l,b) case l: {b} break; argument 592 #define vmcasenb(l,b) case l: {b} /* nb = no break */ argument 603 base = ci->u.l.base; in luaV_execute() 806 oci->u.l.base = ofunc + (nci->u.l.base - nfunc); /* correct base */ in luaV_execute() [all …]
|
H A D | lobject.c | 63 int l = 0; in luaO_ceillog2() local 65 while (x >= 256) { l += 8; x >>= 8; } in luaO_ceillog2() 66 return l + log_2[x]; in luaO_ceillog2() 206 pushstr(L, buff, l); in luaO_pushvfstring() 246 #define addstr(a,b,l) ( memcpy(a,b,(l) * sizeof(char)), a += (l) ) argument 249 size_t l = strlen(source); in luaO_chunkid() local 251 if (l <= bufflen) /* small enough? */ in luaO_chunkid() 259 if (l <= bufflen) /* small enough? */ in luaO_chunkid() 272 addstr(out, source, l); /* keep it */ in luaO_chunkid() 276 if (l > bufflen) l = bufflen; in luaO_chunkid() [all …]
|
H A D | lstring.c | 52 unsigned int h = seed ^ cast(unsigned int, l); in luaS_hash() 54 size_t step = (l >> LUAI_HASHLIMIT) + 1; in luaS_hash() 55 for (l1 = l; l1 >= step; l1 -= step) in luaS_hash() 104 ts->tsv.len = l; in createstrobj() 107 memcpy(ts+1, str, l*sizeof(char)); in createstrobj() 108 ((char *)(ts+1))[l] = '\0'; /* ending 0 */ in createstrobj() 124 s = createstrobj(L, str, l, LUA_TSHRSTR, h, list); in newshrstr() 136 unsigned int h = luaS_hash(str, l, g->seed); in internshrstr() 142 l == ts->tsv.len && in internshrstr() 157 if (l <= LUAI_MAXSHORTLEN) /* short string? */ in luaS_newlstr() [all …]
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_utoq.c | 55 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_uitoq() 64 Z.l.msw = ((unsigned) x >> (e - 16)) & 0xffff; in _Qp_uitoq() 65 Z.l.frac2 = (unsigned) x << (48 - e); in _Qp_uitoq() 67 Z.l.msw = ((unsigned) x << (16 - e)) & 0xffff; in _Qp_uitoq() 68 Z.l.frac2 = 0; in _Qp_uitoq() 70 Z.l.frac3 = Z.l.frac4 = 0; in _Qp_uitoq() 71 Z.l.msw |= ((e + 0x3fff) << 16); in _Qp_uitoq()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | sort.c | 71 while (l->nr == 0) { in verify_seq_sorted() 72 l = l->next; in verify_seq_sorted() 75 assert (l != head); in verify_seq_sorted() 78 a = l->list[0]; in verify_seq_sorted() 83 l = l->next; in verify_seq_sorted() 88 b = l->list[i]; in verify_seq_sorted() 197 l->next = b1; in merge_block_seqs() 199 l->next->prev = l; in merge_block_seqs() 200 l->prev->next = l; in merge_block_seqs() 204 newhead = l; in merge_block_seqs() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | psiginfo.c | 54 size_t l = 0; in psiginfo() local 61 l = snprintf(buf, sizeof (buf), _libc_gettext("%s : "), s); in psiginfo() 62 if (l > sizeof (buf)) in psiginfo() 63 l = sizeof (buf); in psiginfo() 68 (void) snprintf(buf + l, sizeof (buf) - l, in psiginfo() 79 (void) snprintf(buf + l, sizeof (buf) - l, in psiginfo() 85 (void) snprintf(buf + l, sizeof (buf) - l, in psiginfo() 91 (void) snprintf(buf + l, sizeof (buf) - l, in psiginfo()
|
H A D | flock.c | 28 struct flock64 l; in flock() local 32 l.l_whence = SEEK_SET; in flock() 33 l.l_start = 0; in flock() 34 l.l_len = 0; in flock() 35 l.l_sysid = 0; in flock() 36 l.l_pid = 0; in flock() 44 l.l_type = F_UNLCK; in flock() 45 rv = fcntl(fildes, F_FLOCK, &l); in flock() 49 l.l_type = ((operation & ~LOCK_NB) == LOCK_EX) ? in flock() 52 rv = fcntl(fildes, op, &l); in flock()
|
/illumos-gate/usr/src/cmd/sort/ |
H A D | internal.c | 119 le = l = 1; in tqs_algorithm() 127 l++; in tqs_algorithm() 137 if (l > r) in tqs_algorithm() 154 p = l - le; in tqs_algorithm() 217 le = l = 1; in rqs_algorithm() 226 X[l] = t; in rqs_algorithm() 229 (l)++; in rqs_algorithm() 243 if (l > r) in rqs_algorithm() 246 t = X[l]; in rqs_algorithm() 249 (l)++; in rqs_algorithm() [all …]
|
/illumos-gate/usr/src/lib/crypt_modules/bsdbf/ |
H A D | blowfish.c | 553 uint32_t l, r; in blf_ecb_encrypt() local 562 data[2] = l >> 8 & 0xff; in blf_ecb_encrypt() 563 data[3] = l & 0xff; in blf_ecb_encrypt() 575 uint32_t l, r; in blf_ecb_decrypt() local 585 data[3] = l & 0xff; in blf_ecb_decrypt() 597 uint32_t l, r; in blf_cbc_encrypt() local 609 data[3] = l & 0xff; in blf_cbc_encrypt() 622 uint32_t l, r; in blf_cbc_decrypt() local 635 data[3] = l & 0xff; in blf_cbc_decrypt() 650 data[2] = l >> 8 & 0xff; in blf_cbc_decrypt() [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/utf-8/utils/ |
H A D | utf8_to_cp720_generator.c | 40 unsigned int l, k; in main() local 89 tbl[k].u8 = l; in main() 90 if (l < 0x80) in main() 92 else if (l < 0x800) in main() 94 else if (l < 0x10000) in main() 96 else if (l < 0x200000) in main() 98 else if (l < 0x4000000) in main() 107 l = tbl[i].u8; in main() 109 l = 0xc080 | in main() 113 l = 0xe08080 | in main() [all …]
|
H A D | utf8_to_sb_generator.c | 45 unsigned int l, k; in main() local 93 tbl[k].u8 = l; in main() 94 if (l < 0x80) in main() 96 else if (l < 0x800) in main() 98 else if (l < 0x10000) in main() 100 else if (l < 0x200000) in main() 102 else if (l < 0x4000000) in main() 110 l = tbl[i].u8; in main() 112 l = 0xc080 | in main() 116 l = 0xe08080 | in main() [all …]
|
H A D | cp720_to_utf8_generator.c | 40 unsigned int l, k; in main() local 90 tbl[k].u8 = l; in main() 91 if (l < 0x80) in main() 93 else if (l < 0x800) in main() 95 else if (l < 0x10000) in main() 97 else if (l < 0x200000) in main() 99 else if (l < 0x4000000) in main() 107 l = tbl[i].u8; in main() 109 l = 0xc080 | in main() 113 l = 0xe08080 | in main() [all …]
|
H A D | sb_to_utf8_generator.c | 40 unsigned int l, k; in main() local 89 tbl[k].u8 = l; in main() 90 if (l < 0x80) in main() 92 else if (l < 0x800) in main() 94 else if (l < 0x10000) in main() 96 else if (l < 0x200000) in main() 98 else if (l < 0x4000000) in main() 106 l = tbl[i].u8; in main() 108 l = 0xc080 | in main() 112 l = 0xe08080 | in main() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | util.c | 38 int l; variable 47 for (h = s, l = 1; *h != '\0'; h++, l++) 51 ++l; 56 l += 3; 62 if (l > len) 64 char *nbuf = sm_pmalloc_x(l); 68 len = l; 71 for (h = buf; *s != '\0' && l > 0; s++, l--) 81 --l; 97 SM_ASSERT(l >= 2); [all …]
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | adr.c | 96 uint32_t l; /* value for shifting */ in adr_int32() local 99 for (i = 0, l = *(uint32_t *)lp; i < 4; i++) { in adr_int32() 101 (char)((uint32_t)(l & 0xff000000) >> 24); in adr_int32() 102 l <<= 8; in adr_int32() 115 uid_t l; /* value for shifting */ in adr_uid() local 118 for (i = 0, l = *(uint32_t *)up; i < 4; i++) { in adr_uid() 120 (char)((uint32_t)(l & 0xff000000) >> 24); in adr_uid() 121 l <<= 8; in adr_uid() 133 uint64_t l; /* value for shifting */ in adr_int64() local 136 for (i = 0, l = *(uint64_t *)lp; i < 8; i++) { in adr_int64() [all …]
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_hout.c | 165 decl_list *l; in pargdef() local 176 for (l = plist->args.decls; l != NULL; l = l->next) in pargdef() 190 decl_list *l; in pstructdef() local 194 for (l = def->def.st.decls; l != NULL; l = l->next) in pstructdef() 203 case_list *l; in puniondef() local 214 for (l = def->def.un.cases; l != NULL; l = l->next) { in puniondef() 411 enumval_list *l; in penumdef() local 416 for (l = def->def.en.vals; l != NULL; l = l->next) { in penumdef() 428 if (l->next) in penumdef() 541 list *l; in undefined2() local [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/dis/risc-v/ |
H A D | 64.rv64f.s | 26 fcvt.l.s t0, ft1 27 fcvt.l.s t1, ft2, rne 28 fcvt.l.s t2, ft3, rtz 29 fcvt.l.s t3, ft4, rdn 30 fcvt.l.s t4, ft5, rup 31 fcvt.l.s t5, ft6, rmm 40 fcvt.s.l ft1, t0 41 fcvt.s.l ft2, t1, rne 42 fcvt.s.l ft3, t2, rtz 43 fcvt.s.l ft4, t3, rdn [all …]
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | base.c | 332 unsigned long l; in read_baseline() local 427 level = l; in read_baseline() 468 ip->f_mode = l; in read_baseline() 475 ip->f_uid = l; in read_baseline() 482 ip->f_gid = l; in read_baseline() 496 fp->f_s_maj = l; in read_baseline() 503 fp->f_s_min = l; in read_baseline() 531 fp->f_d_maj = l; in read_baseline() 619 ap->a_type = l; in read_baseline() 627 ap->a_id = l; in read_baseline() [all …]
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg.h | 215 #define SEGOP_UNMAP(s, a, l) (*(s)->s_ops->unmap)((s), (a), (l)) argument 217 #define SEGOP_FAULT(h, s, a, l, t, rw) \ argument 220 #define SEGOP_SETPROT(s, a, l, p) (*(s)->s_ops->setprot)((s), (a), (l), (p)) argument 221 #define SEGOP_CHECKPROT(s, a, l, p) (*(s)->s_ops->checkprot)((s), (a), (l), (p)) argument 224 #define SEGOP_SYNC(s, a, l, atr, f) \ argument 226 #define SEGOP_INCORE(s, a, l, v) (*(s)->s_ops->incore)((s), (a), (l), (v)) argument 229 #define SEGOP_GETPROT(s, a, l, p) (*(s)->s_ops->getprot)((s), (a), (l), (p)) argument 233 #define SEGOP_ADVISE(s, a, l, b) (*(s)->s_ops->advise)((s), (a), (l), (b)) argument 235 #define SEGOP_PAGELOCK(s, a, l, p, t, rw) \ argument 237 #define SEGOP_SETPAGESIZE(s, a, l, szc) \ argument [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_iso9660.c | 134 fsmax = PRIMDESC->volume_space_size.l; in iso9660_mount() 169 size = idr->size.l; in iso9660_dir() 170 extent = idr->extent.l; in iso9660_dir() 182 for (; idr->length.l > 0; in iso9660_dir() 205 rr_len = (idr->length.l - idr->name_len.l in iso9660_dir() 271 switch (slp->flags.l) in iso9660_dir() 289 slp->flags.l); in iso9660_dir() 294 prevflag = slp->flags.l; in iso9660_dir() 342 rr_len = ce_ptr->u.ce.size.l; in iso9660_dir() 378 INODE->file_start = idr->extent.l; in iso9660_dir() [all …]
|