Searched refs:rl (Results 26 - 50 of 217) sorted by relevance

123456789

/freebsd-11-stable/sys/modules/rl/
H A DMakefile1 # $FreeBSD: stable/11/sys/modules/rl/Makefile 319182 2017-05-30 04:11:12Z ngie $
3 .PATH: ${SRCTOP}/sys/dev/rl
/freebsd-11-stable/sys/dev/sound/pcm/
H A Dbuffer.c302 b->rl = b->bufsize;
306 sndbuf_fillsilence_rl(struct snd_dbuf *b, u_int rl) argument
311 b->rl = min(b->bufsize, rl);
326 b->rl = 0;
336 b->rl = 0;
505 KASSERT((b->rl >= 0) && (b->rl <= b->bufsize), ("%s: b->rl invalid %d", __func__, b->rl));
[all...]
/freebsd-11-stable/sys/compat/ia32/
H A Dia32_sysvec.c206 ia32_fixlimit(struct rlimit *rl, int which) argument
212 if (rl->rlim_cur > ia32_maxdsiz)
213 rl->rlim_cur = ia32_maxdsiz;
214 if (rl->rlim_max > ia32_maxdsiz)
215 rl->rlim_max = ia32_maxdsiz;
220 if (rl->rlim_cur > ia32_maxssiz)
221 rl->rlim_cur = ia32_maxssiz;
222 if (rl->rlim_max > ia32_maxssiz)
223 rl->rlim_max = ia32_maxssiz;
228 if (rl
[all...]
H A Dia32_util.h55 void ia32_fixlimit(struct rlimit *rl, int which);
/freebsd-11-stable/contrib/libreadline/
H A Dundo.c236 UNDO_LIST *rl; local
238 for (rl = rl_undo_list; rl; rl = rl->next)
240 if (rl->what == type)
242 rl->start = start;
243 rl->end = end;
/freebsd-11-stable/usr.sbin/nghook/
H A Dmain.c203 int rl, wl; local
206 if ((rl = NgRecvData(dsock,
209 if (rl == 0)
214 WriteAscii((u_char *) buf, rl);
215 else if ((wl = write(outfd, buf, rl)) != rl) {
221 rl, wl);
226 if (NgSendData(dsock, NG_SOCK_HOOK_NAME, buf, rl) < 0)
234 int rl; local
237 if ((rl
[all...]
/freebsd-11-stable/sys/dev/mca/
H A Dmca_bus.c61 struct resource_list rl; /* Resources */ member in struct:mca_device
186 while (resource_list_find(&(m_dev->rl), SYS_RES_IRQ, rid)) rid++;
187 resource_list_add(&(m_dev->rl), SYS_RES_IRQ, rid, irq, irq, 1);
200 while (resource_list_find(&(m_dev->rl), SYS_RES_DRQ, rid)) rid++;
201 resource_list_add(&(m_dev->rl), SYS_RES_DRQ, rid, drq, drq, 1);
215 while (resource_list_find(&(m_dev->rl), SYS_RES_MEMORY, rid)) rid++;
216 resource_list_add(&(m_dev->rl), SYS_RES_MEMORY, rid,
231 while (resource_list_find(&(m_dev->rl), SYS_RES_IOPORT, rid)) rid++;
232 resource_list_add(&(m_dev->rl), SYS_RES_IOPORT, rid,
302 resource_list_init(&(m_dev->rl));
489 struct resource_list * rl = &m_dev->rl; local
[all...]
/freebsd-11-stable/lib/libc/db/recno/
H A Drec_delete.c149 RLEAF *rl; local
165 to = rl = GETRLEAF(h, idx);
166 if (rl->flags & P_BIGDATA && __ovfl_delete(t, rl->bytes) == RET_ERROR)
168 nbytes = NRLEAF(rl);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_pipe2.c118 struct rlimit rl; local
129 err = getrlimit(RLIMIT_NOFILE, &rl);
136 old = rl.rlim_cur;
137 rl.rlim_cur = 4;
138 err = setrlimit(RLIMIT_NOFILE, &rl);
143 rl.rlim_cur = old;
144 err = setrlimit(RLIMIT_NOFILE, &rl);
H A Dt_clone.c225 struct rlimit rl; local
228 ATF_REQUIRE_ERRNO(errno, getrlimit(RLIMIT_NPROC, &rl) != -1);
230 rl.rlim_cur = 0;
231 rl.rlim_max = 0;
233 ATF_REQUIRE_ERRNO(errno, setrlimit(RLIMIT_NPROC, &rl) != -1);
237 CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|SIGCHLD, (void *)&rl);
/freebsd-11-stable/lib/libc/gen/
H A Dsysconf.c77 struct rlimit rl; local
91 if (getrlimit(RLIMIT_NPROC, &rl) != 0)
93 if (rl.rlim_cur == RLIM_INFINITY)
95 if (rl.rlim_cur > LONG_MAX) {
99 return ((long)rl.rlim_cur);
107 if (getrlimit(RLIMIT_NOFILE, &rl) != 0)
109 if (rl.rlim_cur == RLIM_INFINITY)
111 if (rl.rlim_cur > LONG_MAX) {
115 return ((long)rl.rlim_cur);
117 if (getrlimit(RLIMIT_NOFILE, &rl) !
[all...]
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dldap.c869 SM_LDAP_RECURSE_ENTRY *rl; local
931 rl = sm_ldap_add_recurse(&recurse, dn,
935 if (rl == NULL)
942 else if (rl->lr_done)
1282 rl->lr_done = true;
1283 if (rl->lr_ludp != NULL)
1285 ldap_free_urldesc(rl->lr_ludp);
1286 rl->lr_ludp = NULL;
1288 if (rl->lr_attrs != NULL)
1290 free(rl
[all...]
H A Drpool.c385 SM_RLIST_T *rl, *rnext; local
398 rl = rpool->sm_rlists;
399 if (rl != NULL)
404 for (r = rl->sm_rvec; r < rmax; ++r)
409 rnext = rl->sm_rnext;
410 sm_free(rl);
413 rl = rnext;
414 rmax = &rl->sm_rvec[SM_RLIST_MAX];
476 SM_RLIST_T *rl; local
483 rl
[all...]
/freebsd-11-stable/sys/x86/isa/
H A Disa.c99 struct resource_list *rl = &idev->id_resources; local
103 rle = resource_list_find(rl, type, *rid);
127 resource_list_add(rl, type, *rid, start, end, count);
131 return resource_list_alloc(rl, bus, child, type, rid,
145 struct resource_list *rl = &idev->id_resources; local
174 resource_list_release(rl, bus, child, type, *rid, re);
189 resource_list_release(rl, bus, child, type,
217 struct resource_list *rl = &idev->id_resources; local
230 resource_list_release(rl, bus, child, type,
237 return resource_list_release(rl, bu
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dbench_cascade.c143 struct rlimit rl; local
166 rl.rlim_cur = rl.rlim_max = num_pipes * 2 + 50;
167 if (setrlimit(RLIMIT_NOFILE, &rl) == -1) {
H A Dbench.c140 struct rlimit rl; local
171 rl.rlim_cur = rl.rlim_max = num_pipes * 2 + 50;
172 if (setrlimit(RLIMIT_NOFILE, &rl) == -1) {
H A Dtest-fdleak.c225 struct rlimit rl; local
226 rl.rlim_cur = rl.rlim_max = 20;
227 if (setrlimit(RLIMIT_NOFILE, &rl) == -1) {
/freebsd-11-stable/sys/dev/fdt/
H A Dsimplebus.h56 struct resource_list rl; member in struct:simplebus_devinfo
/freebsd-11-stable/contrib/wpa/src/tls/
H A Dtlsv1_server.c71 if (tls_prf(conn->rl.tls_version,
85 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len +
86 conn->rl.iv_size);
87 if (tls_prf(conn->rl.tls_version,
100 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size);
101 pos += conn->rl.hash_size;
103 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl
[all...]
/freebsd-11-stable/sys/arm/at91/
H A Dat91.c155 struct resource_list *rl = &ivar->resources; local
162 rle = resource_list_find(rl, type, *rid);
211 struct resource_list *rl; local
214 rl = at91_get_resource_list(dev, child);
215 if (rl == NULL)
217 rle = resource_list_find(rl, type, rid);
276 struct resource_list *rl; local
280 rl = &ivars->resources;
284 retval += resource_list_print_type(rl, "port", SYS_RES_IOPORT, "%#jx");
285 retval += resource_list_print_type(rl, "me
[all...]
/freebsd-11-stable/sys/sparc64/isa/
H A Disa.c143 struct resource_list *rl; local
192 rl = BUS_GET_RESOURCE_LIST(dev, cdev);
201 while (resource_list_find(rl, rtype, rid) != NULL)
225 while (resource_list_find(rl, rtype,
283 struct resource_list *rl; local
287 rl = BUS_GET_RESOURCE_LIST(bus, child);
289 rle = resource_list_find(rl, type, *rid);
313 resource_list_add(rl, type, *rid, start, end, count);
323 if ((rle = resource_list_find(rl, type, *rid)) == NULL)
351 return (resource_list_alloc(rl, bu
[all...]
/freebsd-11-stable/sys/isa/
H A Disa_common.c478 struct resource_list *rl = &idev->id_resources; local
482 STAILQ_FOREACH(rle, rl, link) {
485 resource_list_alloc(rl, dev, child, rle->type, &rid,
626 struct resource_list *rl = &idev->id_resources; local
629 if (STAILQ_FIRST(rl) || device_get_flags(dev))
632 retval += resource_list_print_type(rl, "port", SYS_RES_IOPORT, "%#jx");
633 retval += resource_list_print_type(rl, "iomem", SYS_RES_MEMORY, "%#jx");
634 retval += resource_list_print_type(rl, "irq", SYS_RES_IRQ, "%jd");
635 retval += resource_list_print_type(rl, "drq", SYS_RES_DRQ, "%jd");
675 struct resource_list *rl local
896 struct resource_list *rl = &idev->id_resources; local
934 struct resource_list *rl = &idev->id_resources; local
959 struct resource_list *rl = &idev->id_resources; local
[all...]
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dpcsc_funcs.h36 #define scard_umts_auth(s, r, a, r2, rl, i, c, a2) -1
/freebsd-11-stable/contrib/sendmail/src/
H A Dsasl.c166 int l1, l2, rl; local
172 rl = SM_MIN(l1, l2);
173 res = (char *) sm_rpool_malloc(rpool, rl + 1);
177 if (rl == 0) /* at least one string empty? */
/freebsd-11-stable/contrib/ntp/scripts/deprecated/
H A Dntp-groper66 ntpq -c "ntpversion $version" -c rl $host > $ntpqlog

Completed in 316 milliseconds

123456789