/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_label.c | 166 return (offset + l * sizeof (vdev_label_t) + (l < VDEV_LABELS / 2 ? in vdev_label_offset() 176 int l; in vdev_label_number() local 183 return (l < VDEV_LABELS ? l : -1); in vdev_label_number() 759 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_read_config() local 1115 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_init() local 1206 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_read_bootenv_impl() local 1207 vdev_label_read(zio, vd, l, in vdev_label_read_bootenv_impl() 1356 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_label_write_bootenv() local 1466 for (int l = 0; l < VDEV_LABELS; l++) { in vdev_uberblock_load_impl() local 1569 for (int l = 0; l < VDEV_LABELS; l++) in vdev_uberblock_sync() local [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | config.c | 113 int l; 119 l = p - env; 120 if (l > sizeof nbuf - 1) 121 l = sizeof nbuf - 1; 122 memmove(nbuf, env, l); 123 nbuf[l] = '\0';
|
H A D | memstat.c | 258 size_t l; 268 l = strlen(resource); 269 if (l >= sizeof(buf)) 273 if (strncmp(buf, resource, l) == 0 && buf[l] == ':') 275 r = sscanf(buf + l + 1, "%ld", pvalue);
|
H A D | t-memstat.c | 45 int r, r2, i, l, slp, sz; local 49 l = 1; 57 l = strtol(optarg, NULL, 0); 80 for (i = 0; i < l; i++) 85 if (slp > 0 && i + 1 < l && 0 == r)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | pppd.h | 727 #define GETLONG(l, cp) { \ argument 728 (l) = *(cp)++ << 8; \ 729 (l) |= *(cp)++; (l) <<= 8; \ 730 (l) |= *(cp)++; (l) <<= 8; \ 731 (l) |= *(cp)++; \ 733 #define PUTLONG(l, cp) { \ argument 737 *(cp)++ = (u_char) (l); \ 743 #define GETNLONG(l, cp) { \ argument 751 #define PUTNLONG(l, cp) { \ argument 770 #define BCOPY(s, d, l) memcpy(d, s, l) argument [all …]
|
/illumos-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4macs.c | 49 wchar_t *l = arg(1); in dochcom() local 62 wchar_t *l = arg(1); in docq() local 69 if (c <= 1 && !*l) { in docq() 70 l = L"`"; in docq() 73 r = l; in docq() 564 char *l; in mkpid() local 575 while (l != as) { in mkpid() 576 if (*l == 'X') { in mkpid() 577 first_X = l; in mkpid() 578 l--; in mkpid() [all …]
|
/illumos-gate/usr/src/cmd/rmvolmgr/ |
H A D | rmvolmgr.c | 377 GSList *l; in volume_added() local 382 l = g_slist_find_custom(managed_volumes, udi, rmm_managed_compare_udi); in volume_added() 383 v = (l != NULL) ? l->data : NULL; in volume_added() 408 GSList *l; in volume_removed() local 413 l = g_slist_find_custom(managed_volumes, udi, rmm_managed_compare_udi); in volume_removed() 414 v = (l != NULL) ? l->data : NULL; in volume_removed() 424 managed_volumes = g_slist_delete_link(managed_volumes, l); in volume_removed() 451 GSList *l; in rmm_property_modified() local 460 l = g_slist_find_custom(managed_volumes, udi, rmm_managed_compare_udi); in rmm_property_modified() 461 v = (l != NULL) ? l->data : NULL; in rmm_property_modified() [all …]
|
/illumos-gate/usr/src/uts/common/net/ |
H A D | bridge_impl.h | 152 #define BRIDGE_VLAN_ISSET(l, v) ((l)->bl_vlans[(v) / NBBY] & \ argument 155 #define BRIDGE_VLAN_SET(l, v) ((l)->bl_vlans[(v) / NBBY] |= \ argument 158 #define BRIDGE_VLAN_CLR(l, v) ((l)->bl_vlans[(v) / NBBY] &= \ argument 161 #define BRIDGE_AF_ISSET(l, v) ((l)->bl_afs[(v) / NBBY] & \ argument
|
/illumos-gate/usr/src/uts/common/brand/sn1/ |
H A D | sn1_brand.c | 175 sn1_proc_exit(struct proc *p, klwp_t *l) in sn1_proc_exit() argument 177 brand_solaris_proc_exit(p, l, &sn1_brand); in sn1_proc_exit() 187 sn1_initlwp(klwp_t *l) in sn1_initlwp() argument 189 return (brand_solaris_initlwp(l, &sn1_brand)); in sn1_initlwp() 199 sn1_freelwp(klwp_t *l) in sn1_freelwp() argument 201 brand_solaris_freelwp(l, &sn1_brand); in sn1_freelwp() 205 sn1_lwpexit(klwp_t *l) in sn1_lwpexit() argument 207 brand_solaris_lwpexit(l, &sn1_brand); in sn1_lwpexit()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | init_color.c | 91 int h, s, l; in init_color() local 92 _rgb_to_hls((float)r, (float)g, (float)b, &h, &l, &s); in init_color() 93 (void) tputs(tparm_p4(initialize_color, color, h, l, s), in init_color() 125 float rc, gc, bc, h, l, s; in _rgb_to_hls() local 135 l = (max + min) / 2; in _rgb_to_hls() 143 if (l < 0.5) in _rgb_to_hls() 173 *ll = (int) (l * 100); in _rgb_to_hls()
|
H A D | tcsearch.c | 48 int l = 0, u = size - 1; in _tcsearch() local 51 while (l <= u) { in _tcsearch() 52 m = (l + u) / 2; in _tcsearch() 60 l = m + 1; in _tcsearch()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfputl.c | 27 int sfputl(reg Sfio_t* f, Sflong_t l) in sfputl() argument 29 int sfputl(f,l) in sfputl() 31 reg Sflong_t l; 34 return __sf_putl(f,l);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | util.c | 36 size_t l; variable 39 l = strlen(s); 40 SM_ASSERT(l + 1 > l); 1004 return putxline(l, strlen(l), mci, PXLF_MAPFROM); 1085 p = memchr(l, '\n', end - l); 1206 if (l < end && *l == '\n') 1208 if (*++l != ' ' && *l != '\t' && *l != '\0' && 2281 int l; 2289 l--; 2295 l--; [all …]
|
/illumos-gate/usr/src/uts/intel/promif/ |
H A D | prom_printf.c | 102 int64_t l; in _doprint() local 132 l = (int64_t)va_arg(adx, int); in _doprint() 134 l = (int64_t)va_arg(adx, long); in _doprint() 136 l = (int64_t)va_arg(adx, int64_t); in _doprint() 137 if (l < 0) { in _doprint() 140 ul = -l; in _doprint() 142 ul = l; in _doprint()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | space.c | 243 size_t l; in space_store() local 249 l = (size_t)strlen(key); in space_store() 250 if (l == 0) { in space_store() 255 l++; in space_store() 258 s = kmem_alloc(l, KM_SLEEP); in space_store() 259 bcopy(key, s, l); in space_store()
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | setlocale.c | 169 int u, l; in install_legacy() local 172 l = lct->lc_trans_lower[i]; in install_legacy() 175 if (l && l != i) in install_legacy() 176 __ctype[258+i] = l; in install_legacy() 180 __trans_lower[i] = l; in install_legacy()
|
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ecc_impl.h | 99 #define PORT_Memcpy(t, f, l) bcopy((f), (t), (l)) argument 102 #define PORT_Memcpy(t, f, l) memcpy((t), (f), (l)) 206 #define RNG_GenerateGlobalRandomBytes(p,l) ecc_knzero_random_generator((p), (l)) argument 208 #define RNG_GenerateGlobalRandomBytes(p,l) \ argument 209 (pkcs11_get_nzero_urandom((p), (l)) < 0 ? CKR_DEVICE_ERROR : CKR_OK)
|
/illumos-gate/usr/src/cmd/printf/ |
H A D | printf.c | 184 int l; in doformat() local 195 l = strspn(fmt, digits); in doformat() 196 if ((l > 0) && (fmt[l] == '$')) { in doformat() 206 fmt += l + 1; in doformat() 224 l = strspn(fmt, digits); in doformat() 225 if ((l > 0) && (fmt[l] == '$')) { in doformat() 236 fmt += l + 1; in doformat() 269 l = strspn(fmt, digits); in doformat() 270 if ((l > 0) && (fmt[l] == '$')) { in doformat() 282 fmt += l + 1; in doformat()
|
/illumos-gate/usr/src/uts/common/brand/solaris10/ |
H A D | s10_brand.c | 194 s10_amd64_correct_fsreg(klwp_t *l) in s10_amd64_correct_fsreg() argument 196 if (lwp_getdatamodel(l) == DATAMODEL_NATIVE) { in s10_amd64_correct_fsreg() 198 l->lwp_pcb.pcb_fs = LWPFS_SEL; in s10_amd64_correct_fsreg() 199 PCB_SET_UPDATE_SEGS(&l->lwp_pcb); in s10_amd64_correct_fsreg() 330 s10_proc_exit(struct proc *p, klwp_t *l) in s10_proc_exit() argument 332 brand_solaris_proc_exit(p, l, &s10_brand); in s10_proc_exit() 342 s10_initlwp(klwp_t *l) in s10_initlwp() argument 366 s10_freelwp(klwp_t *l) in s10_freelwp() argument 368 brand_solaris_freelwp(l, &s10_brand); in s10_freelwp() 372 s10_lwpexit(klwp_t *l) in s10_lwpexit() argument [all …]
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | make.rules.file | 120 .l: 122 $(LEX.l) $< > $*.c 125 .l~: 132 .l.c : 134 $(LEX.l) $< > $@ 135 .l~.c: 139 .l.ln: 144 .l~.ln: 147 $(LEX.l) $*.l > $*.c 150 .l.o: [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/ko/common/ |
H A D | UTF2_to_johap92.c | 150 register int h, i, j, l; in _icv_iconv() local 161 for (l = 0, h = MAX_U2J92_NUM; l < h; ) in _icv_iconv() 163 i = (l + h) / 2; in _icv_iconv() 166 else if (utf82johap92_tbl[l].utf8 == u) in _icv_iconv() 168 i = l; in _icv_iconv() 177 l = i + 1; in _icv_iconv()
|
H A D | UTF2_to_euc.c | 152 register int h, i, j, l; in _icv_iconv() local 163 for (l = 0, h = MAX_U2E_NUM; l < h; ) in _icv_iconv() 165 i = (l + h) / 2; in _icv_iconv() 168 else if (utf82euc_tbl[l].utf8 == utf) in _icv_iconv() 170 i = l; in _icv_iconv() 179 l = i + 1; in _icv_iconv()
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | c99-for-loop-decl.c | 22 for ( extern int l = 0; l < 10; l++) /* check-should-fail */ in c99() 23 r = l; in c99()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kiconv_sc.h | 53 #define KICONV_SC_GET_GB_LEN(v, l) \ argument 55 (l) = 4; \ 57 (l) = 2; \ 59 (l) = 1
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | mem_addr.c | 869 int k, l; in set_rank() local 877 for (l = 0; l < MAX_RIR_WAY; l++) { in set_rank() 889 for (l = 0; l < way; l++) { in set_rank() 900 int i, j, k, l, m; in mem_reg_init() local 985 for (l = 0; l < MAX_RIR_WAY; l++) { in mem_reg_init() 987 rir[i][j][k].way[l].offset = in mem_reg_init() 989 rir[i][j][k].way[l].soffset = in mem_reg_init() 991 rir[i][j][k].way[l].rank = in mem_reg_init() 993 rir[i][j][k].way[l].dimm = in mem_reg_init() 1013 for (l = 0; l < MAX_RIR_WAY; l++) { in mem_reg_init() [all …]
|