HomeSort by: relevance | last modified time | path
    Searched defs:rl (Results 1 - 25 of 50) sorted by relevancy

1 2

  /src/lib/libc/db/recno/
rec_utils.c 66 RLEAF *rl; local in function:__rec_ret
93 rl = GETRLEAF(e->page, e->index);
94 if (rl->flags & P_BIGDATA) {
95 if (__ovfl_get(t, rl->bytes,
101 if (rl->dsize + 1 > t->bt_rdata.size) {
102 p = realloc(t->bt_rdata.data, rl->dsize + 1);
106 t->bt_rdata.size = rl->dsize + 1;
108 memmove(t->bt_rdata.data, rl->bytes, rl->dsize);
109 data->size = rl->dsize
    [all...]
rec_delete.c 154 RLEAF *rl; local in function:__rec_dleaf
171 to = rl = GETRLEAF(h, idx);
172 if (rl->flags & P_BIGDATA && __ovfl_delete(t, rl->bytes) == RET_ERROR)
174 nbytes = NRLEAF(rl);
  /src/tests/lib/libc/sys/
t_wait.c 146 static const struct rlimit rl = { RLIM_INFINITY, RLIM_INFINITY }; local in function:ATF_TC_BODY
150 ATF_REQUIRE(setrlimit(RLIMIT_CORE, &rl) == 0);
183 static const struct rlimit rl = { 0, 0 }; local in function:ATF_TC_BODY
185 ATF_REQUIRE(setrlimit(RLIMIT_CORE, &rl) == 0);
249 static const struct rlimit rl = { 0, 0 }; local in function:ATF_TC_BODY
252 ATF_REQUIRE(setrlimit(RLIMIT_CORE, &rl) == 0);
t_pipe2.c 127 struct rlimit rl; local in function:ATF_TC_BODY
134 err = getrlimit(RLIMIT_NOFILE, &rl);
141 old = rl.rlim_cur;
142 rl.rlim_cur = 4;
143 err = setrlimit(RLIMIT_NOFILE, &rl);
148 rl.rlim_cur = old;
149 err = setrlimit(RLIMIT_NOFILE, &rl);
t_clone.c 231 struct rlimit rl; local in function:ATF_TC_BODY
234 ATF_REQUIRE_ERRNO(errno, getrlimit(RLIMIT_NPROC, &rl) != -1);
236 rl.rlim_cur = 0;
237 rl.rlim_max = 0;
239 ATF_REQUIRE_ERRNO(errno, setrlimit(RLIMIT_NPROC, &rl) != -1);
243 CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|SIGCHLD, (void *)&rl);
  /src/lib/libc/gen/
sysconf.c 77 struct rlimit rl; local in function:__weak_alias
99 return (getrlimit(RLIMIT_NPROC, &rl) ? -1 : (long)rl.rlim_cur);
131 return (getrlimit(RLIMIT_NOFILE, &rl) ? -1
132 : (long)rl.rlim_cur);
  /src/sys/compat/linux32/common/
linux32_resource.c 103 struct rlimit rl; local in function:linux32_sys_setrlimit
115 linux32_to_bsd_rlimit(&rl, &orl);
117 return dosetrlimit(l, l->l_proc, which, &rl);
135 struct rlimit rl, nrl, orl; local in function:linux32_sys_prlimit64
161 linux_to_bsd_rlimit(&rl, &nrl);
162 return dosetrlimit(l, l->l_proc, which, &rl);
  /src/tests/lib/libpthread/dlopen/
t_dso_pthread_create.c 69 struct rlimit rl; local in function:ATF_TC_BODY
74 rl.rlim_max = rl.rlim_cur = 0;
75 ATF_REQUIRE_EQ(setrlimit(RLIMIT_CORE, &rl), 0);
  /src/usr.sbin/rpcbind/
rpcb_stat.c 150 rpcbs_rmtcalllist *rl; local in function:rpcbs_rmtcall
155 for (rl = inf[rtype].rmtinfo; rl; rl = rl->next) {
157 if(rl->netid == NULL)
160 if ((rl->prog == prog) && (rl->vers == vers) &&
161 (rl->proc == proc) &&
162 (strcmp(rl->netid, netid) == 0))
    [all...]
  /src/tests/lib/libc/stdio/
t_printf.c 144 struct rlimit rl; local in function:ATF_TC_BODY
146 rl.rlim_cur = rl.rlim_max = 1 * 1024 * 1024;
147 ATF_CHECK(setrlimit(RLIMIT_AS, &rl) != -1);
148 rl.rlim_cur = rl.rlim_max = 1 * 1024 * 1024;
149 ATF_CHECK(setrlimit(RLIMIT_DATA, &rl) != -1);
  /src/sys/miscfs/procfs/
procfs_limit.c 92 struct rlimit rl[RLIM_NLIMITS]; local in function:procfs_dolimit
99 memcpy(rl, p->p_rlimit, sizeof(rl));
105 bufsize = (64 * 3) * __arraycount(rl);
108 for (i = 0; i < __arraycount(rl); i++) {
111 pos += prl(buffer + pos, bufsize - pos, rl[i].rlim_cur, ' ');
112 pos += prl(buffer + pos, bufsize - pos, rl[i].rlim_max, '\n');
135 struct rlimit rl, rlimits[RLIM_NLIMITS]; local in function:procfs_dolimits
158 rl.rlim_cur = RLIM_INFINITY;
162 rl.rlim_cur = rl.rlim_max = msginfo.msgmnb
    [all...]
  /src/lib/libc/locale/
iswctype_mb.c 57 _RuneLocale const *rl; \
60 rl = _RUNE_LOCALE(loc); \
61 te = &rl->rl_wctype[index]; \
62 return _iswctype_priv(rl, wc, te); \
87 _RuneLocale const *rl; \
90 rl = _RUNE_LOCALE(loc); \
91 te = &rl->rl_wctrans[index]; \
105 _RuneLocale const *rl; local in function:_ISWCTYPE_FUNC
108 rl = _RUNE_LOCALE(loc);
110 if (!strcmp(rl->rl_wctype[i].te_name, charclass)
125 _RuneLocale const *rl; local in function:wctrans_l
146 _RuneLocale const *rl; local in function:iswctype_l
191 _RuneLocale const *rl; local in function:__weak_alias
213 _RuneLocale const *rl; local in function:wcswidth_l
    [all...]
multibyte_amd1.c 77 _RuneLocale *rl; local in function:mbsinit_l
83 rl = _RUNE_LOCALE(loc);
85 rl = _ps_to_runelocale(ps);
88 err0 = _citrus_ctype_mbsinit(rl->rl_citrus_ctype,
  /src/share/examples/puffs/rot13fs/
rot13fs.c 197 size_t rl; local in function:rot13_node_readdir
201 rl = *reslen;
208 while (rl > *reslen) {
210 rl -= _DIRENT_SIZE(dp);
  /src/share/examples/puffs/icfs/
icfs.c 237 size_t rl; local in function:ic_node_readdir
241 rl = *reslen;
248 while (rl > *reslen) {
250 rl -= _DIRENT_SIZE(dp);
  /src/sys/net/npf/
npf_handler.c 149 npf_rule_t *rl; local in function:npfk_packet_handler
222 rl = npf_ruleset_inspect(&npc, rlset, di, NPF_RULE_LAYER_3);
223 if (__predict_false(rl == NULL)) {
240 rp = npf_rule_getrproc(rl);
243 id_match = npf_rule_match_rid(rl, &npc, di);
246 error = npf_rule_conclude(rl, &mi);
351 npf_rule_t *rl; local in function:npfk_layer2_handler
392 rl = npf_ruleset_inspect(&npc, rlset, di, NPF_RULE_LAYER_2);
393 if (__predict_false(rl == NULL)) {
401 error = npf_rule_conclude(rl, &mi)
    [all...]
  /src/games/monop/
monop.c 320 int i, rl, cur_max; local in function:init_players
327 printf("%s (%d) rolls %d\n", play[i].name, i+1, rl=roll(2, 6));
328 if (rl > cur_max) {
330 cur_max = rl;
333 else if (rl == cur_max)
  /src/lib/libc/db/btree/
bt_debug.c 205 RLEAF *rl; local in function:__bt_dpage
274 rl = GETRLEAF(h, cur);
275 if (rl->flags & P_BIGDATA)
278 (unsigned long) __bt_pgno_t(rl->bytes),
279 __bt_uint32_t(rl->bytes + sizeof(pgno_t)));
280 else if (rl->dsize)
282 "%.*s", (int)rl->dsize, rl->bytes);
bt_split.c 619 RLEAF *rl; local in function:bt_psplit
663 src = rl = GETRLEAF(h, nxt);
664 nbytes = NRLEAF(rl);
761 src = rl = GETRLEAF(h, nxt);
762 nbytes = NRLEAF(rl);
  /src/usr.sbin/npf/npftest/libnpftest/
npf_l2rule_test.c 77 npf_rule_t *rl; local in function:run_raw_testcase
84 rl = npf_ruleset_inspect(npc, npf_config_ruleset(npf), t->di, NPF_RULE_LAYER_2);
85 if (rl) {
87 error = npf_rule_conclude(rl, &mi);
120 npf_rule_t *rl; local in function:npf_blockall_rule
124 rl = npf_rule_alloc(npf, rule);
126 return rl;
158 npf_rule_t *rl; local in function:test_dynamic
172 rl = npf_blockall_rule();
173 error = npf_ruleset_add(rlset, "l2-ruleset", rl);
    [all...]
npf_rule_test.c 232 npf_rule_t *rl; local in function:run_raw_testcase
239 rl = npf_ruleset_inspect(npc, npf_config_ruleset(npf), t->di, NPF_RULE_LAYER_3);
240 if (rl) {
242 error = npf_rule_conclude(rl, &mi);
274 npf_rule_t *rl; local in function:npf_blockall_rule
278 rl = npf_rule_alloc(npf, rule);
280 return rl;
314 npf_rule_t *rl; local in function:test_dynamic
328 rl = npf_blockall_rule();
329 error = npf_ruleset_add(rlset, "test-rules", rl);
    [all...]
  /src/dist/pf/usr.sbin/ftp-proxy/
npf.c 237 nl_rule_t *rl; local in function:npf_add_filter
248 rl = npf_rule_create(NULL, di | NPF_RULE_PASS | NPF_RULE_FINAL, NULL);
249 if (rl == NULL) {
255 errno = npf_rule_setcode(rl, NPF_CODE_BPF, insns, sizeof(insns));
257 npf_rule_destroy(rl);
262 fpe->fpe_rl = rl;
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_symbolizer_report.cc 232 ScopedErrorReportLock rl; local in function:__sanitizer::HandleDeadlySignal
  /src/usr.bin/sort/
sort.c 127 struct rlimit rl; local in function:main
133 if (getrlimit(RLIMIT_NOFILE, &rl) < 0)
135 rl.rlim_cur = rl.rlim_max;
136 if (setrlimit(RLIMIT_NOFILE, &rl) < 0)
  /src/lib/libterminfo/
termcap.c 493 size_t len, lp, nl, vl, rl; local in function:captoinfo
557 rl = nl + vl + 3; /* , \0 */
559 if (lp + rl > len) {
560 if (rl < 256)
563 len += rl;

Completed in 25 milliseconds

1 2