Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/linux-2.4.37.9/drivers/hotplug/
Dacpiphp_res.c259 struct pci_resource *max; in acpiphp_get_max_resource() local
273 for (max = *head;max; max = max->next) { in acpiphp_get_max_resource()
277 if (max->length < size) in acpiphp_get_max_resource()
280 if (max->base & (size - 1)) { in acpiphp_get_max_resource()
283 temp_qword = (max->base | (size-1)) + 1; in acpiphp_get_max_resource()
286 if ((max->length - (temp_qword - max->base)) < size) in acpiphp_get_max_resource()
289 split_node = acpiphp_make_resource(max->base, temp_qword - max->base); in acpiphp_get_max_resource()
294 max->base = temp_qword; in acpiphp_get_max_resource()
295 max->length -= split_node->length; in acpiphp_get_max_resource()
298 split_node->next = max->next; in acpiphp_get_max_resource()
[all …]
Dpciehp_ctrl.c594 struct pci_resource *max; in get_max_resource() local
610 for (max = *head;max; max = max->next) { in get_max_resource()
614 if (max->length < size) in get_max_resource()
617 if (max->base & (size - 1)) { in get_max_resource()
620 temp_dword = (max->base | (size-1)) + 1; in get_max_resource()
623 if ((max->length - (temp_dword - max->base)) < size) in get_max_resource()
631 split_node->base = max->base; in get_max_resource()
632 split_node->length = temp_dword - max->base; in get_max_resource()
633 max->base = temp_dword; in get_max_resource()
634 max->length -= split_node->length; in get_max_resource()
[all …]
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_sysctl.c100 &xfs_params.refcache_size.min, &xfs_params.refcache_size.max},
111 &xfs_params.restrict_chown.min, &xfs_params.restrict_chown.max},
116 &xfs_params.sgid_inherit.min, &xfs_params.sgid_inherit.max},
121 &xfs_params.symlink_mode.min, &xfs_params.symlink_mode.max},
126 &xfs_params.panic_mask.min, &xfs_params.panic_mask.max},
131 &xfs_params.error_level.min, &xfs_params.error_level.max},
136 &xfs_params.syncd_timer.min, &xfs_params.syncd_timer.max},
141 &xfs_params.inherit_sync.min, &xfs_params.inherit_sync.max},
146 &xfs_params.inherit_nodump.min, &xfs_params.inherit_nodump.max},
151 &xfs_params.inherit_noatim.min, &xfs_params.inherit_noatim.max},
[all …]
/linux-2.4.37.9/drivers/char/
Dtipar.c147 unsigned long max; in put_ti_parallel() local
152 START(max); in put_ti_parallel()
154 WAIT(max); in put_ti_parallel()
158 START(max); in put_ti_parallel()
160 WAIT(max); in put_ti_parallel()
164 START(max); in put_ti_parallel()
166 WAIT(max); in put_ti_parallel()
170 START(max); in put_ti_parallel()
172 WAIT(max); in put_ti_parallel()
192 unsigned long max; in get_ti_parallel() local
[all …]
/linux-2.4.37.9/drivers/net/hamradio/soundmodem/
Dgentbl.c170 float min, max; in gentbl_fsk9600() local
173 min = max = 0; in gentbl_fsk9600()
194 if (s > max) in gentbl_fsk9600()
195 max = s; in gentbl_fsk9600()
205 fprintf(stderr, "fsk9600: txfilt4: min = %f; max = %f\n", min, max); in gentbl_fsk9600()
208 min = max = 0; in gentbl_fsk9600()
229 if (s > max) in gentbl_fsk9600()
230 max = s; in gentbl_fsk9600()
240 fprintf(stderr, "fsk9600: txfilt5: min = %f; max = %f\n", min, max); in gentbl_fsk9600()
443 float min, max; in gentbl_hapn4800() local
[all …]
/linux-2.4.37.9/drivers/usb/
Dhid-input.c99 int max; in hidinput_configure_usage() local
107 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
121 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
143 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
151 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
156 usage->type = EV_REL; bit = input->relbit; max = REL_MAX; in hidinput_configure_usage()
160 usage->type = EV_ABS; bit = input->absbit; max = ABS_MAX; in hidinput_configure_usage()
172 usage->type = EV_LED; bit = input->ledbit; max = LED_MAX; in hidinput_configure_usage()
186 usage->type = EV_ABS; bit = input->absbit; max = ABS_MAX; in hidinput_configure_usage()
193 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
[all …]
/linux-2.4.37.9/Documentation/sysctl/
Dfs.txt19 - dquot-max
21 - file-max
23 - inode-max
28 - super-max
60 dquot-max & dquot-nr:
62 The file dquot-max shows the maximum number of cached disk
74 file-max & file-nr:
79 The value in file-max denotes the maximum number of file-
93 inode-max, inode-nr & inode-state:
98 The value in inode-max denotes the maximum number of inode
[all …]
/linux-2.4.37.9/drivers/pcmcia/
Dcardbus.c257 static int cb_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int irq) in cb_scan_bridge() argument
275 child = pci_add_new_bus(bus, dev, ++max); in cb_scan_bridge()
286 max = cb_scan_new_bus(child, irq); in cb_scan_bridge()
293 max += 3; in cb_scan_bridge()
298 child->subordinate = max; in cb_scan_bridge()
299 pci_write_config_byte(dev, PCI_SUBORDINATE_BUS, max); in cb_scan_bridge()
302 return max; in cb_scan_bridge()
307 unsigned int devfn, max; in cb_scan_new_bus() local
315 max = bus->secondary; in cb_scan_new_bus()
357 max = cb_scan_bridge(bus, dev, max, irq); in cb_scan_new_bus()
[all …]
/linux-2.4.37.9/net/sctp/
Dchunk.c172 int max, whole, i, offset, over, err; in sctp_datamsg_from_user() local
195 max = asoc->frag_point; in sctp_datamsg_from_user()
198 first_len = max; in sctp_datamsg_from_user()
202 whole = msg_len / (max - SCTP_ARBITRARY_COOKIE_ECHO_LEN); in sctp_datamsg_from_user()
206 first_len = max - SCTP_ARBITRARY_COOKIE_ECHO_LEN; in sctp_datamsg_from_user()
213 whole += msg_len / max; in sctp_datamsg_from_user()
214 over = msg_len % max; in sctp_datamsg_from_user()
251 len = max; in sctp_datamsg_from_user()
/linux-2.4.37.9/arch/x86_64/kernel/
Dmtrr.c559 int i, max; in init_table() local
561 max = get_num_var_ranges (); in init_table()
562 if ((usage_table = kmalloc (max * sizeof *usage_table, GFP_KERNEL))==NULL) { in init_table()
567 for (i = 0; i < max; i++) in init_table()
571 if ((ascii_buffer = kmalloc (max * LINE_SIZE, GFP_KERNEL)) == NULL) { in init_table()
587 int i, max; in get_free_region() local
592 max = get_num_var_ranges (); in get_free_region()
593 for (i = 0; i < max; ++i) { in get_free_region()
636 int i, max; in mtrr_add_page() local
696 max = get_num_var_ranges (); in mtrr_add_page()
[all …]
/linux-2.4.37.9/drivers/md/
Dxor.c67 int i, count, max; in do_xor_speed() local
77 max = 0; in do_xor_speed()
88 if (count > max) in do_xor_speed()
89 max = count; in do_xor_speed()
92 speed = max * (HZ * BENCH_SIZE / 1024); in do_xor_speed()
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_nat_proto_tcp.c15 const union ip_conntrack_manip_proto *max) in tcp_in_range() argument
25 && ntohs(port) <= ntohs(max->tcp.port); in tcp_in_range()
65 range_size = ntohs(range->max.tcp.port) - min + 1; in tcp_unique_tuple()
131 if (range->min.tcp.port != 0 || range->max.tcp.port != 0xFFFF) { in tcp_print_range()
132 if (range->min.tcp.port == range->max.tcp.port) in tcp_print_range()
138 ntohs(range->max.tcp.port)); in tcp_print_range()
Dip_nat_proto_udp.c16 const union ip_conntrack_manip_proto *max) in udp_in_range() argument
26 && ntohs(port) <= ntohs(max->udp.port); in udp_in_range()
65 range_size = ntohs(range->max.udp.port) - min + 1; in udp_unique_tuple()
124 if (range->min.udp.port != 0 || range->max.udp.port != 0xFFFF) { in udp_print_range()
125 if (range->min.udp.port == range->max.udp.port) in udp_print_range()
131 ntohs(range->max.udp.port)); in udp_print_range()
Dip_nat_proto_icmp.c16 const union ip_conntrack_manip_proto *max) in icmp_in_range() argument
19 && tuple->src.u.icmp.id <= max->icmp.id); in icmp_in_range()
32 range_size = ntohs(range->max.icmp.id) - ntohs(range->min.icmp.id) + 1; in icmp_unique_tuple()
84 if (range->min.icmp.id != 0 || range->max.icmp.id != 0xFFFF) in icmp_print_range()
87 ntohs(range->max.icmp.id)); in icmp_print_range()
Dipt_ah.c27 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, int invert) in spi_match() argument
31 min,spi,max); in spi_match()
32 r=(spi >= min && spi <= max) ^ invert; in spi_match()
Dipt_esp.c24 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, int invert) in spi_match() argument
28 min,spi,max); in spi_match()
29 r=(spi >= min && spi <= max) ^ invert; in spi_match()
/linux-2.4.37.9/net/khttpd/
Dsecurity.c234 int max; in GetSecureString() local
246 max=253 - strlen(String) - strlen(Temp->value); in GetSecureString()
247 strncat(String,Temp->value,max); in GetSecureString()
248 max=253 - strlen(String) - 3; in GetSecureString()
249 strncat(String,"- -",max); in GetSecureString()
/linux-2.4.37.9/arch/i386/kernel/
Dmtrr.c1118 int i, max; in init_table() local
1120 max = get_num_var_ranges (); in init_table()
1121 if ( ( usage_table = kmalloc (max * sizeof *usage_table, GFP_KERNEL) ) in init_table()
1127 for (i = 0; i < max; i++) usage_table[i] = 1; in init_table()
1129 if ( ( ascii_buffer = kmalloc (max * LINE_SIZE, GFP_KERNEL) ) == NULL ) in init_table()
1146 int i, max; in generic_get_free_region() local
1150 max = get_num_var_ranges (); in generic_get_free_region()
1151 for (i = 0; i < max; ++i) in generic_get_free_region()
1166 int i, max; in centaur_get_free_region() local
1170 max = get_num_var_ranges (); in centaur_get_free_region()
[all …]
/linux-2.4.37.9/drivers/usb/gadget/
Depautoconf.c72 u16 max; in ep_matches() local
136 max = 0x7ff & le16_to_cpup (&desc->wMaxPacketSize); in ep_matches()
140 if (!gadget->is_dualspeed && max > 64) in ep_matches()
146 if (ep->maxpacket < max) in ep_matches()
148 if (!gadget->is_dualspeed && max > 1023) in ep_matches()
/linux-2.4.37.9/Documentation/usb/
Dw9968cf.txt228 Type: int array (min = 0, max = 32)
241 Type: int array (min = 0, max = 32)
248 Type: int array (min = 0, max = 32)
256 Type: bool array (min = 0, max = 32)
265 Type: bool array (min = 0, max = 32)
271 Type: int array (min = 0, max = 32)
280 Type: bool array (min = 0, max = 32)
286 Type: bool array (min = 0, max = 32)
296 Type: int array (min = 0, max = 32)
312 Type: int array (min = 0, max = 32)
[all …]
/linux-2.4.37.9/drivers/pnp/
Dquirks.c47 port2->max += 0x400; in quirk_awe32_resources()
49 port3->max += 0x800; in quirk_awe32_resources()
95 if(port->min != port->max) in quirk_sb16audio_resources()
97 port->max += 0x70; in quirk_sb16audio_resources()
/linux-2.4.37.9/arch/m68k/atari/
Dstram.c555 p->max = SWAP_NR(swap_end); in swap_init()
563 for( i = 1, addr = SWAP_ADDR(1); i < p->max; in swap_init()
733 static int unswap_by_read(unsigned short *map, unsigned long max, in unswap_by_read() argument
805 unsigned long max = stram_swap_info->max; in get_stram_region() local
824 err = unswap_by_read(map, max, start, n_pages); in get_stram_region()
847 if (offset < 1 || offset + n_pages > stram_swap_info->max) { in free_stram_region()
898 unsigned long max = stram_swap_info->max; in find_free_region() local
911 for( tail = head; tail-head < n_pages && tail < max; ++tail ) { in find_free_region()
933 while( tail < max ) { in find_free_region()
1200 unsigned long max = stram_swap_info->max; in get_stram_list() local
[all …]
/linux-2.4.37.9/fs/jbd/
Drecovery.c73 unsigned int max, nbufs, next; in do_readahead() local
80 max = start + (128 * 1024 / journal->j_blocksize); in do_readahead()
81 if (max > journal->j_maxlen) in do_readahead()
82 max = journal->j_maxlen; in do_readahead()
89 for (next = start; next < max; next++) { in do_readahead()
580 int offset, max; in scan_revoke_records() local
584 max = ntohl(header->r_count); in scan_revoke_records()
586 while (offset < max) { in scan_revoke_records()
/linux-2.4.37.9/arch/parisc/kernel/
Dccio-dma.c1079 static int proc_append(char *src, int len, char **dst, off_t *offset, int *max) in proc_append() argument
1090 if (len > *max) { in proc_append()
1091 len = *max; in proc_append()
1095 *max -= len; in proc_append()
1096 return (*max == 0); in proc_append()
1102 int max = count; in ccio_proc_info() local
1108 unsigned long avg = 0, min, max; in ccio_proc_info() local
1136 min = max = ioc->avg_search[0]; in ccio_proc_info()
1139 if(ioc->avg_search[j] > max) in ccio_proc_info()
1140 max = ioc->avg_search[j]; in ccio_proc_info()
[all …]
/linux-2.4.37.9/drivers/char/ftape/lowlevel/
Dftape-setup.c49 int max; member
81 param > config_params[i].max) { in ftape_setup()
86 config_params[i].max); in ftape_setup()

12345678910>>...12