Searched defs:advice (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Ddirectio.c40 directio(int fildes, int advice) argument
42 return (ioctl(fildes, _FIODIRECTIO, advice));
H A Dmadvise.c38 madvise(caddr_t addr, size_t len, int advice) argument
40 return (memcntl(addr, len, MC_ADVISE, (caddr_t)(intptr_t)advice, 0, 0));
H A Dposix_madvise.c43 posix_madvise(void *addr, size_t len, int advice) argument
45 switch (advice) {
55 if (madvise(addr, len, advice) == 0)
H A Dposix_fadvise.c44 * the kernel to optimize I/O operations based on the given advice.
49 posix_fadvise(int fd, off_t offset, off_t len, int advice) argument
53 switch (advice) {
77 posix_fadvise64(int fd, off64_t offset, off64_t len, int advice) argument
81 switch (advice) {
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmadvise.c40 madvise(caddr_t addr, u_int len, int advice) argument
46 return (mctl(addr, len, MC_ADVISE, advice));
/illumos-gate/usr/src/tools/ndrgen/
H A Dndr_parse.y37 /* advice keywords */
70 struct : advice STRUCT_KW typename LC members RC SEMI
76 union : advice UNION_KW typename LC members RC SEMI
92 member : advice type declarator SEMI
98 advice : /* empty */ ={ $$ = 0; } label
H A Dndr_anal.c117 show_advice(&ti->advice, 0);
122 show_advice(&mem->advice, 2);
349 * Snarf the advice.
351 determine_advice(&ti->advice, ti->definition->n_c_advice);
392 * Snarf the advice. Only recognize [operation()] for
395 determine_advice(&ti->advice, ti->definition->n_c_advice);
408 if (!ti->advice.a_operation /* no var-size in op param */ &&
446 * Snarf the advice. None supported for union definitions.
449 determine_advice(&ti->advice, ti->definition->n_c_advice);
520 determine_advice(&mem->advice, mem_n
975 determine_advice(ndr_advice_t *advice, ndr_node_t *advice_list) argument
[all...]
H A Dndrgen.h102 typedef struct advice { struct
155 ndr_advice_t advice; member in struct:typeinfo
169 ndr_advice_t advice; member in struct:member
/illumos-gate/usr/src/lib/libadm/common/
H A Dgetvol.c103 char *advice, *pt; local
152 /* display advice on how to ready device */
153 if (advice = devattr(device, "advice"))
154 (void) puttext(stderr, advice, 0, 0);
/illumos-gate/usr/src/lib/madv/common/
H A Dmadv.c96 * advice options
309 int advice = 0; local
315 "%s: invalid advice option (%s)"
321 "%s: option missing advice"
326 advice = strtoadv(value);
327 if (advice < 0) {
329 "%s: invalid advice specified (%s)"
336 advice_all = advice;
340 advice_heap = advice;
343 "%s: duplicate advice specifie
447 int advice; local
675 int advice = -1; local
729 int advice = -1; local
781 int advice = -1; local
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_vn.h100 uchar_t advice; /* madvise flags for segment */ member in struct:segvn_data
101 uchar_t pageadvice; /* true if per page advice set */
/illumos-gate/usr/src/cmd/ptools/pmadvise/
H A Dpmadvise.c34 * ptool wrapper for madvise(3C) to apply memory advice to running processes
37 * (Give "advice" about a process's memory)
39 * private=<advice>
40 * shared=<advice>
41 * heap=<advice>
42 * stack=<advice>
43 * <segaddr>[:<length>]=<advice>
44 * valid <advice> is one of:
54 * rawadv_list: includes all specific advice from command line (specific
55 * advice bein
818 char *advice; local
864 pr_madvise(struct ps_prochandle *Pr, caddr_t addr, size_t len, int advice) argument
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dlgrp.c3438 * Return lgroup memory allocation policy given advice from madvise(3C)
3441 lgrp_madv_to_policy(uchar_t advice, size_t size, int type) argument
3443 switch (advice) {

Completed in 96 milliseconds