OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:optmem_max
(Results
1 - 4
of
4
) sorted by null
/external/strace/
msghdr.c
267
static int
optmem_max
;
local
269
if (!
optmem_max
) {
270
if (read_int_from_file(tcp, "/proc/sys/net/core/
optmem_max
",
271
&
optmem_max
) ||
optmem_max
<= 0) {
272
optmem_max
= sizeof(long long) * (2 * IOV_MAX + 512);
274
optmem_max
= (
optmem_max
+ sizeof(long long) - 1)
279
return
optmem_max
;
/external/strace/tests/
msg_control.c
800
int
optmem_max
;
local
802
if (read_int_from_file("/proc/sys/net/core/
optmem_max
", &
optmem_max
)
803
||
optmem_max
<= 0 ||
optmem_max
> 0x100000)
804
optmem_max
= sizeof(long long) * (2 * IOV_MAX + 512);
805
optmem_max
= (
optmem_max
+ sizeof(long long) - 1)
808
const size_t len =
optmem_max
* 2;
825
print_fds(cmsg,
optmem_max
);
[
all
...]
/external/strace/tests-m32/
msg_control.c
800
int
optmem_max
;
local
802
if (read_int_from_file("/proc/sys/net/core/
optmem_max
", &
optmem_max
)
803
||
optmem_max
<= 0 ||
optmem_max
> 0x100000)
804
optmem_max
= sizeof(long long) * (2 * IOV_MAX + 512);
805
optmem_max
= (
optmem_max
+ sizeof(long long) - 1)
808
const size_t len =
optmem_max
* 2;
825
print_fds(cmsg,
optmem_max
);
[
all
...]
/external/strace/tests-mx32/
msg_control.c
800
int
optmem_max
;
local
802
if (read_int_from_file("/proc/sys/net/core/
optmem_max
", &
optmem_max
)
803
||
optmem_max
<= 0 ||
optmem_max
> 0x100000)
804
optmem_max
= sizeof(long long) * (2 * IOV_MAX + 512);
805
optmem_max
= (
optmem_max
+ sizeof(long long) - 1)
808
const size_t len =
optmem_max
* 2;
825
print_fds(cmsg,
optmem_max
);
[
all
...]
Completed in 251 milliseconds