search for: all_var

Displaying 5 results from an estimated 5 matches for "all_var".

2011 Nov 28
0
RFC: [PATCH] Add TCP congestion control and Diffserv options
...harset; char *comment; + char *congestion_alg; char *dont_compress; char *exclude; char *exclude_from; @@ -138,6 +139,7 @@ typedef struct { int max_verbosity; int syslog_facility; int timeout; + int diffserv; BOOL fake_super; BOOL forward_lookup; @@ -185,6 +187,7 @@ static const all_vars Defaults = { /* auth_users; */ NULL, /* charset; */ NULL, /* comment; */ NULL, + /* congestion_alg; */ NULL, /* dont_compress; */ DEFAULT_DONT_COMPRESS, /* exclude; */ NULL, /* exclude_from; */ NULL, @@ -212,6 +215,7 @@ static const all_vars Defaults = { /* max_verbosity;...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 04/13] Useful debugging
...gt; symbol_start) { + symbol_end = kstuff->addresses[i]; + break; + } + } + + /* if we found no next symbol, we use the end of the section */ + if (!symbol_end) { + return (unsigned long)(-1UL); +#if 0 + if (is_kernel_inittext(addr)) + symbol_end = (unsigned long)_einittext; + else if (all_var) + symbol_end = (unsigned long)_end; + else + symbol_end = (unsigned long)_etext; +#endif + } + + *symbolsize = symbol_end - symbol_start; + *offset = addr - symbol_start; + + return low; +} + +static int is_ksym_addr(struct lguest_guest_info *linfo, + unsigned long addr) +{ + /* need to loo...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 04/13] Useful debugging
...gt; symbol_start) { + symbol_end = kstuff->addresses[i]; + break; + } + } + + /* if we found no next symbol, we use the end of the section */ + if (!symbol_end) { + return (unsigned long)(-1UL); +#if 0 + if (is_kernel_inittext(addr)) + symbol_end = (unsigned long)_einittext; + else if (all_var) + symbol_end = (unsigned long)_end; + else + symbol_end = (unsigned long)_etext; +#endif + } + + *symbolsize = symbol_end - symbol_start; + *offset = addr - symbol_start; + + return low; +} + +static int is_ksym_addr(struct lguest_guest_info *linfo, + unsigned long addr) +{ + /* need to loo...
2007 Apr 18
1
[PATCH] lguest32 kallsyms backtrace of guest.
...gt; symbol_start) { + symbol_end = kstuff->addresses[i]; + break; + } + } + + /* if we found no next symbol, we use the end of the section */ + if (!symbol_end) { + return (unsigned long)(-1UL); +#if 0 + if (is_kernel_inittext(addr)) + symbol_end = (unsigned long)_einittext; + else if (all_var) + symbol_end = (unsigned long)_end; + else + symbol_end = (unsigned long)_etext; +#endif + } + + *symbolsize = symbol_end - symbol_start; + *offset = addr - symbol_start; + + return low; +} + +static int is_ksym_addr(struct lguest *lg, + unsigned long addr) +{ + /* need to look up the segs...
2007 Apr 18
1
[PATCH] lguest32 kallsyms backtrace of guest.
...gt; symbol_start) { + symbol_end = kstuff->addresses[i]; + break; + } + } + + /* if we found no next symbol, we use the end of the section */ + if (!symbol_end) { + return (unsigned long)(-1UL); +#if 0 + if (is_kernel_inittext(addr)) + symbol_end = (unsigned long)_einittext; + else if (all_var) + symbol_end = (unsigned long)_end; + else + symbol_end = (unsigned long)_etext; +#endif + } + + *symbolsize = symbol_end - symbol_start; + *offset = addr - symbol_start; + + return low; +} + +static int is_ksym_addr(struct lguest *lg, + unsigned long addr) +{ + /* need to look up the segs...