Searched refs:max (Results 1 – 11 of 11) sorted by relevance
| /scripts/ |
| D | syscallnr.sh | 66 max=0 68 max=$nr 71 echo "#define __NR_${prefix}syscalls $(($max + 1))"
|
| D | syscallhdr.sh | 77 max=0 80 max=$nr 92 echo "#define __NR_${prefix}syscalls $(($max + 1))"
|
| D | checkpatch.pl | 7072 my $max = $7; 7073 if ($min eq $max) { 7076 } elsif ($min =~ /^\d+$/ && $max =~ /^\d+$/ && 7077 $min > $max) {
|
| /scripts/coccinelle/misc/ |
| D | minmax.cocci | 3 /// Check for opencoded min(), max() implementations. 11 // Keywords: min, max 111 + max(x, y) 130 + max_val = max(x, y); 173 coccilib.report.print_report(p0, "WARNING opportunity for max()") 180 coccilib.org.print_todo(p0, "WARNING opportunity for max()") 187 coccilib.report.print_report(p0, "WARNING opportunity for max()") 194 coccilib.org.print_todo(p0, "WARNING opportunity for max()")
|
| /scripts/mod/ |
| D | file2alias.c | 172 unsigned char max, struct module *mod) in do_usb_entry() argument 199 else if (range_lo > 0 || range_hi < max) { in do_usb_entry() 241 unsigned char max, in incbcd() argument 248 if (max > 0x9) { in incbcd() 279 unsigned char chi, clo, max; in do_usb_entry_multi() local 296 max = 0x9; /* Default to decimal format */ in do_usb_entry_multi() 300 if (clo > max || chi > max) { in do_usb_entry_multi() 301 max = 0xf; in do_usb_entry_multi() 317 if (chi > max) /* If we are in bcd mode, truncate if necessary */ in do_usb_entry_multi() 318 chi = max; in do_usb_entry_multi() [all …]
|
| /scripts/kconfig/ |
| D | nconf.gui.c | 229 total_width = max(msg_width, btns_width); in btn_dialog() 337 prompt_width = max(prompt_width, len); in dialog_inputbox() 341 prompt_width = max(prompt_width, strlen(title)); in dialog_inputbox() 345 prompt_lines = max(win_lines-6, 0); in dialog_inputbox() 346 prompt_width = max(win_cols-7, 0); in dialog_inputbox() 540 total_cols = max(total_cols, len+2); in show_scroll_win_ext() 550 text_lines = max(win_lines-4, 0); in show_scroll_win_ext() 551 text_cols = max(win_cols-2, 0); in show_scroll_win_ext()
|
| D | nconf.h | 25 #define max(a, b) ({\ macro
|
| D | nconf.c | 921 toprow = max(selected_index-mwin_max_lines/2, 0); in center_item()
|
| /scripts/dtc/libfdt/ |
| D | fdt_ro.c | 116 uint32_t max = 0; in fdt_find_max_phandle() local 132 if (value > max) in fdt_find_max_phandle() 133 max = value; in fdt_find_max_phandle() 137 *phandle = max; in fdt_find_max_phandle() 144 uint32_t max; in fdt_generate_phandle() local 147 err = fdt_find_max_phandle(fdt, &max); in fdt_generate_phandle() 151 if (max == FDT_MAX_PHANDLE) in fdt_generate_phandle() 155 *phandle = max + 1; in fdt_generate_phandle()
|
| /scripts/gdb/linux/ |
| D | mapletree.py | 47 self.max = -1 71 self.max = ~0
|
| D | slab.py | 134 loc['max_time'] = max(loc['max_time'], age) 136 loc['max_pid'] = max(loc['max_pid'], pid)
|