/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | directio.c | 40 directio(int fildes, int advice) argument 42 return (ioctl(fildes, _FIODIRECTIO, advice));
|
H A D | madvise.c | 38 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 D | posix_madvise.c | 43 posix_madvise(void *addr, size_t len, int advice) argument 45 switch (advice) { 55 if (madvise(addr, len, advice) == 0)
|
H A D | posix_fadvise.c | 44 * 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 D | madvise.c | 40 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 D | ndr_parse.y | 37 /* 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 D | ndr_anal.c | 117 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 D | ndrgen.h | 102 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 D | getvol.c | 103 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 D | madv.c | 96 * 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 D | seg_vn.h | 100 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 D | pmadvise.c | 34 * 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 D | lgrp.c | 3438 * 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) {
|