Home
last modified time | relevance | path

Searched refs:rl (Results 1 – 25 of 130) sorted by relevance

123456

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_rlock.c107 rl_t *rl; in zfs_range_lock_writer() local
158 rl = avl_find(tree, new, &where); in zfs_range_lock_writer()
159 if (rl) in zfs_range_lock_writer()
162 rl = (rl_t *)avl_nearest(tree, where, AVL_AFTER); in zfs_range_lock_writer()
163 if (rl && (rl->r_off < new->r_off + new->r_len)) in zfs_range_lock_writer()
166 rl = (rl_t *)avl_nearest(tree, where, AVL_BEFORE); in zfs_range_lock_writer()
167 if (rl && rl->r_off + rl->r_len > new->r_off) in zfs_range_lock_writer()
174 if (!rl->r_write_wanted) { in zfs_range_lock_writer()
175 cv_init(&rl->r_wr_cv, NULL, CV_DEFAULT, NULL); in zfs_range_lock_writer()
176 rl->r_write_wanted = B_TRUE; in zfs_range_lock_writer()
[all …]
/titanic_41/usr/src/lib/libc/port/locale/
H A Drune.c57 _RuneLocale *rl; in _Read_RuneMagi() local
155 rl = (_RuneLocale *)(void *)data; in _Read_RuneMagi()
156 rl->__variable = rl + 1; in _Read_RuneMagi()
158 (void) memcpy(rl->__magic, _RUNE_MAGIC_1, sizeof (rl->__magic)); in _Read_RuneMagi()
159 (void) memcpy(rl->__encoding, frl->encoding, sizeof (rl->__encoding)); in _Read_RuneMagi()
161 rl->__variable_len = frl->variable_len; in _Read_RuneMagi()
162 rl->__runetype_ext.__nranges = frl->runetype_ext_nranges; in _Read_RuneMagi()
163 rl->__maplower_ext.__nranges = frl->maplower_ext_nranges; in _Read_RuneMagi()
164 rl->__mapupper_ext.__nranges = frl->mapupper_ext_nranges; in _Read_RuneMagi()
167 rl->__runetype[x] = frl->runetype[x]; in _Read_RuneMagi()
[all …]
H A Dsetrunelocale.c101 _RuneLocale *rl; in __lc_ctype_load() local
115 if ((rl = _Read_RuneMagi(path)) == NULL) { in __lc_ctype_load()
120 ldata->l_data[1] = rl; in __lc_ctype_load()
127 lct->lc_ctype_mask = rl->__runetype; in __lc_ctype_load()
128 lct->lc_trans_upper = rl->__mapupper; in __lc_ctype_load()
129 lct->lc_trans_lower = rl->__maplower; in __lc_ctype_load()
134 if ((strncmp(rl->__encoding, encodings[i].e_name, l) == 0) && in __lc_ctype_load()
135 (rl->__encoding[l] == '\0' || rl->__encoding[l] == '@')) { in __lc_ctype_load()
H A Dnextwctype.c45 const _RuneLocale *rl; in nextwctype_l() local
50 rl = loc->runelocale; in nextwctype_l()
51 rr = &rl->__runetype_ext; in nextwctype_l()
57 if (rl->__runetype[wc] & wct) in nextwctype_l()
H A Dtowlower.c50 const _RuneLocale *rl; in change_case_ext() local
58 rl = loc->runelocale; in change_case_ext()
59 rr = lower ? &rl->__maplower_ext : &rl->__mapupper_ext; in change_case_ext()
H A Dwcwidth.c56 const _RuneLocale *rl = loc->runelocale; in wcwidth_l() local
61 x = ((wc < 0 || wc >= _CACHED_RUNES) ? __runetype(rl, wc) : in wcwidth_l()
62 rl->__runetype[wc]) & (_CTYPE_SWM|_CTYPE_R); in wcwidth_l()
/titanic_41/usr/src/lib/libilb/common/
H A Dilb_rules.c100 ilb_rule_info_t *rl; in ilb_create_rule() local
107 rl = (ilb_rule_info_t *)&ic->ic_data; in ilb_create_rule()
114 (void) strlcpy(rl->rl_name, rd->r_name, sizeof (rl->rl_name)); in ilb_create_rule()
115 (void) strlcpy(rl->rl_sgname, rd->r_sgname, sizeof (rl->rl_sgname)); in ilb_create_rule()
116 (void) strlcpy(rl->rl_hcname, rd->r_hcname, sizeof (rl->rl_hcname)); in ilb_create_rule()
117 rl->rl_flags = rd->r_flags; in ilb_create_rule()
118 rl->rl_proto = rd->r_proto; in ilb_create_rule()
119 rl->rl_ipversion = rd->r_vip.ia_af; in ilb_create_rule()
120 rl->rl_minport = rd->r_minport; in ilb_create_rule()
122 rl->rl_maxport = rd->r_minport; in ilb_create_rule()
[all …]
/titanic_41/usr/src/lib/libc/port/stdio/
H A Dflockf.c57 rmutex_t *rl = IOB_LCK(iop); in _flockget() local
59 if (rl != NULL) in _flockget()
60 cancel_safe_mutex_lock(rl); in _flockget()
61 return (rl); in _flockget()
67 rmutex_t *rl = IOB_LCK(iop); in ftrylockfile() local
69 if (rl != NULL) in ftrylockfile()
70 return (mutex_trylock(rl)); in ftrylockfile()
77 rmutex_t *rl = IOB_LCK(iop); in flockfile() local
79 if (rl != NULL) in flockfile()
80 (void) mutex_lock(rl); in flockfile()
[all …]
/titanic_41/usr/src/cmd/rpcbind/
H A Drpcb_stat.c178 rpcbs_rmtcalllist *rl; in rpcbs_rmtcall() local
189 for (s = rl = inf[rtype].rmtinfo; rl; rl = rl->next) { in rpcbs_rmtcall()
190 if ((rl->prog == prog) && (rl->vers == vers) && in rpcbs_rmtcall()
191 (rl->proc == proc) && (strcmp(rl->netid, netid) == 0)) { in rpcbs_rmtcall()
195 atomic_add_int((uint_t *)&rl->failure, 1); in rpcbs_rmtcall()
197 atomic_add_int((uint_t *)&rl->success, 1); in rpcbs_rmtcall()
199 atomic_add_int((uint_t *)&rl->indirect, 1); in rpcbs_rmtcall()
215 rl = (rpcbs_rmtcalllist *) malloc(sizeof (rpcbs_rmtcalllist)); in rpcbs_rmtcall()
216 if (rl == NULL) { in rpcbs_rmtcall()
220 rl->prog = prog; in rpcbs_rmtcall()
[all …]
/titanic_41/usr/src/cmd/localedef/
H A Dctype.c260 _FileRuneLocale rl; in dump_ctype() local
267 (void) memset(&rl, 0, sizeof (rl)); in dump_ctype()
275 (void) memcpy(rl.magic, _FILE_RUNE_MAGIC_1, 8); in dump_ctype()
276 (void) strncpy(rl.encoding, get_wide_encoding(), sizeof (rl.encoding)); in dump_ctype()
282 rl.maplower[wc] = wc; in dump_ctype()
283 rl.mapupper[wc] = wc; in dump_ctype()
368 rl.runetype[wc] = ctn->ctype; in dump_ctype()
370 rl.maplower[wc] = ctn->tolower; in dump_ctype()
372 rl.mapupper[wc] = ctn->toupper; in dump_ctype()
377 ct[rl.runetype_ext_nranges-1].max = wc; in dump_ctype()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_rules.c134 ilbd_rule_t *rl; in i_check_srv2rules() local
145 for (rl = list_head(rlist); rl != NULL; rl = list_next(rlist, rl)) { in i_check_srv2rules()
146 r_minport = ntohs(rl->irl_minport); in i_check_srv2rules()
147 r_maxport = ntohs(rl->irl_maxport); in i_check_srv2rules()
151 if (rl->irl_topo == ILB_TOPO_DSR) { in i_check_srv2rules()
166 if (rl->irl_hcpflag == ILB_HCI_PROBE_FIX && in i_check_srv2rules()
167 rl->irl_hcport != srv_minport) { in i_check_srv2rules()
173 if ((rl->irl_topo == ILB_TOPO_DSR) && in i_check_srv2rules()
186 } else if ((rl->irl_topo == ILB_TOPO_DSR) && in i_check_srv2rules()
195 } else if (((rl->irl_topo == ILB_TOPO_NAT) || in i_check_srv2rules()
[all …]
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_utils.c70 RLEAF *rl; local
99 rl = GETRLEAF(e->page, e->index);
100 if (rl->flags & P_BIGDATA) {
101 if (__ovfl_get(t, rl->bytes,
107 if (rl->dsize + 1 > t->bt_rdata.size) {
109 malloc(rl->dsize + 1) :
110 realloc(t->bt_rdata.data, rl->dsize + 1));
114 t->bt_rdata.size = rl->dsize + 1;
116 memmove(t->bt_rdata.data, rl->bytes, rl->dsize);
117 data->size = rl->dsize;
[all …]
H A Drec_delete.c161 RLEAF *rl; local
177 to = rl = GETRLEAF(h, idx);
178 if (rl->flags & P_BIGDATA && __ovfl_delete(t, rl->bytes) == RET_ERROR)
180 nbytes = NRLEAF(rl);
/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dldap.c654 SM_LDAP_RECURSE_ENTRY *rl; local
716 rl = sm_ldap_add_recurse(&recurse, dn,
720 if (rl == NULL)
727 else if (rl->lr_done)
1067 rl->lr_done = true;
1068 if (rl->lr_ludp != NULL)
1070 ldap_free_urldesc(rl->lr_ludp);
1071 rl->lr_ludp = NULL;
1073 if (rl->lr_attrs != NULL)
1075 free(rl->lr_attrs);
[all …]
H A Drpool.c387 SM_RLIST_T *rl, *rnext; local
400 rl = rpool->sm_rlists;
401 if (rl != NULL)
406 for (r = rl->sm_rvec; r < rmax; ++r)
411 rnext = rl->sm_rnext;
412 sm_free(rl);
415 rl = rnext;
416 rmax = &rl->sm_rvec[SM_RLIST_MAX];
478 SM_RLIST_T *rl; local
485 rl = sm_malloc_x(sizeof(SM_RLIST_T));
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ospf6.c321 struct rla6link *rl; in interpret_ospf6_lsa() local
348 rl = lsa->lsa_un.un_rla.rla_link; in interpret_ospf6_lsa()
349 if (TRUNC(rl)) in interpret_ospf6_lsa()
352 while (rl + sizeof (*rl) <= (struct rla6link *)ls_end) { in interpret_ospf6_lsa()
353 if (TRUNC((uchar_t *)rl + sizeof (*rl))) in interpret_ospf6_lsa()
359 switch (rl->link_type) { in interpret_ospf6_lsa()
373 print_ipaddr(rl->link_nrtid)); in interpret_ospf6_lsa()
376 print_ipaddr(rl->link_nifid)); in interpret_ospf6_lsa()
379 print_ipaddr(rl->link_ifid)); in interpret_ospf6_lsa()
385 print_ipaddr(rl->link_nrtid)); in interpret_ospf6_lsa()
[all …]
H A Dsnoop_ospf.c330 struct rlalink *rl; in interpret_ospf_lsa() local
360 rl = lsa->lsa_un.un_rla.rla_link; in interpret_ospf_lsa()
361 if (TRUNC(rl)) in interpret_ospf_lsa()
365 if (TRUNC((uchar_t *)rl + sizeof (*rl))) in interpret_ospf_lsa()
367 switch (rl->link_type) { in interpret_ospf_lsa()
378 inet_ntoa(rl->link_id)); in interpret_ospf_lsa()
381 inet_ntoa(rl->link_data)); in interpret_ospf_lsa()
389 inet_ntoa(rl->link_id)); in interpret_ospf_lsa()
392 inet_ntoa(rl->link_data)); in interpret_ospf_lsa()
399 inet_ntoa(rl->link_id)); in interpret_ospf_lsa()
[all …]
/titanic_41/usr/src/lib/libcurses/screen/
H A Dmvcur.c93 rl, /* cost relative */ in mvcur() local
115 rl = hd = hu = LARGECOST; in mvcur()
132 rl = _mvleft(curx, newx, FALSE); in mvcur()
134 rl = _mvright(curx, newx, FALSE); in mvcur()
135 if (rl < cm) { in mvcur()
137 rl = _mvleft(curx, newx, TRUE); in mvcur()
139 rl = _mvright(curx, newx, TRUE); in mvcur()
146 if (rl >= LARGECOST && cury >= 0 && cury < curscr->_maxy && in mvcur()
148 rl = _mvrel(cury, curx, newy, newx, FALSE); in mvcur()
159 if (cm >= LARGECOST && rl >= LARGECOST && hu >= LARGECOST && in mvcur()
[all …]
/titanic_41/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_zvol.c156 rl_t *rl; in sbd_zvol_alloc_read_bufs() local
172 rl = zfs_range_lock(sl->sl_zvol_rl_hdl, offset, len, RL_READER); in sbd_zvol_alloc_read_bufs()
177 zfs_range_unlock(rl); in sbd_zvol_alloc_read_bufs()
338 rl_t *rl; in sbd_zvol_rele_write_bufs() local
346 rl = zfs_range_lock(sl->sl_zvol_rl_hdl, offset, len, RL_WRITER); in sbd_zvol_rele_write_bufs()
354 zfs_range_unlock(rl); in sbd_zvol_rele_write_bufs()
377 zfs_range_unlock(rl); in sbd_zvol_rele_write_bufs()
394 rl_t *rl; in sbd_zvol_copy_read() local
404 rl = zfs_range_lock(sl->sl_zvol_rl_hdl, offset, len, RL_READER); in sbd_zvol_copy_read()
408 zfs_range_unlock(rl); in sbd_zvol_copy_read()
[all …]
/titanic_41/usr/src/cmd/fm/eversholt/files/sparc/sun4u/
H A Dpsycho.esc139 event error.io.psy.pbm.rl@hostbridge/pcibus/pcidev/pcifn;
140 event error.io.psy.pbm.rl@pcibus/pcidev/pcifn;
141 event error.io.psy.pbm.rl@pcibus/pcidev/pcifn/pcibus/pcidev/pcifn;
142 event error.io.psy.pbm.target-rl@pcibus/pcidev/pcifn;
143 event error.io.psy.pbm.target-rl@pcibus/pcidev/pcifn/pcibus/pcidev/pcifn;
154 event ereport.io.psy.pbm.rl@hostbridge/pcibus/pcidev/pcifn{within(5s)};
155 event ereport.io.psy.pbm.s-rl@hostbridge/pcibus/pcidev/pcifn{within(5s)};
159 event ereport.io.psy.pbm.target-rl@pcibus/pcidev/pcifn{within(5s)};
166 * - rl: it to retry a transaction beyond the specified limit.
169 * For rl, there may be a target-rl ereport on a child device. There may also be
[all …]
/titanic_41/usr/src/cmd/sendmail/db/db/
H A Ddb_region.c37 RLAYOUT *rlp, rl; local
242 __os_read(infop->fd, &rl, sizeof(rl), &nr)) != 0)
244 if (rl.valid != DB_REGIONMAGIC)
248 size = rl.size;
249 infop->segid = rl.segid;
250 if (F_ISSET(&rl, REGION_ANONYMOUS))
588 RLAYOUT rl, *rlp; local
649 if ((ret = __os_read(fd, &rl, sizeof(rl), &nr)) != 0)
651 if (rl.valid != DB_REGIONMAGIC) {
659 infop->size = rl.size;
[all …]
/titanic_41/usr/src/cmd/rpcsvc/
H A Drwall.c84 struct rlimit rl; in main() local
89 if (getrlimit(RLIMIT_NOFILE, &rl) == 0) { in main()
90 rl.rlim_cur = (rl.rlim_max < MAX_THREADS ? in main()
91 rl.rlim_max : MAX_THREADS); in main()
92 (void) setrlimit(RLIMIT_NOFILE, &rl); in main()
/titanic_41/usr/src/cmd/sgs/librtld_db/i386/
H A Dplt32_resolution.c52 rli_func(const rd_loadobj_t *rl, void *data) in rli_func() argument
70 if (ps_pread(rap->rd_psp, rl->rl_base, (char *)&ehdr, in rli_func()
74 EC_ADDR(rl->rl_base))); in rli_func()
80 baseaddr = rl->rl_base; in rli_func()
82 off = rl->rl_base + ehdr.e_phoff; in rli_func()
88 EC_ADDR(rl->rl_base))); in rli_func()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dclosefrom.c59 struct rlimit rl; in fdwalk() local
92 if (getrlimit(RLIMIT_NOFILE, &rl) == 0) in fdwalk()
93 max_fds = (rl.rlim_max == RLIM_INFINITY)? in fdwalk()
94 INT_MAX : rl.rlim_max; in fdwalk()
/titanic_41/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c280 struct replica *rl; in showquotas() local
309 rl = parse_replica(mnt.mnt_special, &count); in showquotas()
311 if (rl == NULL) { in showquotas()
344 free_replica(rl, count); in showquotas()
353 if (strcmp(rl[0].host, "nfs") == 0 && in showquotas()
354 strncmp(rl[0].path, "//", 2) == 0) { in showquotas()
355 free_replica(rl, count); in showquotas()
365 size_t len = strlen(rl[0].host); in showquotas()
369 if (strncasecmp(rl[0].host, in showquotas()
376 free_replica(rl, count); in showquotas()
[all …]

123456