Searched refs:max (Results 1 – 9 of 9) 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 | 7043 my $max = $7; 7044 if ($min eq $max) { 7047 } elsif ($min =~ /^\d+$/ && $max =~ /^\d+$/ && 7048 $min > $max) {
|
/scripts/coccinelle/misc/ |
D | minmax.cocci | 3 /// Check for opencoded min(), max() implementations. 11 // Keywords: min, max 96 + max(x, y) 115 + 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/kconfig/ |
D | nconf.gui.c | 228 total_width = max(msg_width, btns_width); in btn_dialog() 336 prompt_width = max(prompt_width, len); in dialog_inputbox() 340 prompt_width = max(prompt_width, strlen(title)); in dialog_inputbox() 344 prompt_lines = max(win_lines-6, 0); in dialog_inputbox() 345 prompt_width = max(win_cols-7, 0); in dialog_inputbox() 525 total_cols = max(total_cols, len+2); in show_scroll_win() 535 text_lines = max(win_lines-4, 0); in show_scroll_win() 536 text_cols = max(win_cols-2, 0); in show_scroll_win()
|
D | nconf.h | 25 #define max(a, b) ({\ macro
|
D | nconf.c | 934 toprow = max(selected_index-mwin_max_lines/2, 0); in center_item()
|
/scripts/mod/ |
D | file2alias.c | 171 unsigned char max, struct module *mod) in do_usb_entry() argument 198 else if (range_lo > 0 || range_hi < max) { in do_usb_entry() 240 unsigned char max, in incbcd() argument 247 if (max > 0x9) { in incbcd() 278 unsigned char chi, clo, max; in do_usb_entry_multi() local 295 max = 0x9; /* Default to decimal format */ in do_usb_entry_multi() 299 if (clo > max || chi > max) { in do_usb_entry_multi() 300 max = 0xf; in do_usb_entry_multi() 316 if (chi > max) /* If we are in bcd mode, truncate if necessary */ in do_usb_entry_multi() 317 chi = max; in do_usb_entry_multi() [all …]
|
/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()
|