Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/linux-2.4.37.9/fs/intermezzo/
Dmethods.c149 if ( strlen(cache_type) == strlen("ext2") && in filter_setup_journal_ops()
150 memcmp(cache_type, "ext2", strlen("ext2")) == 0 ) { in filter_setup_journal_ops()
159 if ( strlen(cache_type) == strlen("ext3") && in filter_setup_journal_ops()
160 memcmp(cache_type, "ext3", strlen("ext3")) == 0 ) { in filter_setup_journal_ops()
169 if ( strlen(cache_type) == strlen("tmpfs") && in filter_setup_journal_ops()
170 memcmp(cache_type, "tmpfs", strlen("tmpfs")) == 0 ) { in filter_setup_journal_ops()
179 if ( strlen(cache_type) == strlen("reiserfs") && in filter_setup_journal_ops()
180 memcmp(cache_type, "reiserfs", strlen("reiserfs")) == 0 ) { in filter_setup_journal_ops()
190 if ( strlen(cache_type) == strlen("xfs") && in filter_setup_journal_ops()
191 memcmp(cache_type, "xfs", strlen("xfs")) == 0 ) { in filter_setup_journal_ops()
[all …]
Dsuper.c65 if ( strncmp(opt, data, strlen(opt)) ) in opt_read()
72 PRESTO_ALLOC(retval, strlen(value) + 1); in opt_read()
89 PRESTO_FREE(*dst, strlen(*dst) + 1); in opt_store()
99 PRESTO_FREE(*dst, strlen(*dst) + 1); in opt_set_default()
102 PRESTO_ALLOC(def_alloced, strlen(defval)+1); in opt_set_default()
175 PRESTO_FREE(channel, strlen(channel) + 1); in presto_set_channel()
292 PRESTO_FREE(fileset, strlen(fileset) + 1); in presto_read_super()
321 PRESTO_FREE(fileset, strlen(fileset) + 1); in presto_read_super()
323 PRESTO_FREE(channel, strlen(channel) + 1); in presto_read_super()
325 PRESTO_FREE(cache_type, strlen(cache_type) + 1); in presto_read_super()
/linux-2.4.37.9/arch/mips/momentum/ocelot_c/
Dprom.c177 if ((strlen(arcs_cmdline) + strlen(ptr) + 1) >= in prom_init()
189 if (strncmp("gtbase", ptr, strlen("gtbase")) == 0) { in prom_init()
190 mv64340_base = simple_strtol(ptr + strlen("gtbase="), in prom_init()
198 if (strncmp("cpuclock", ptr, strlen("cpuclock")) == 0) { in prom_init()
199 cpu_clock = simple_strtol(ptr + strlen("cpuclock="), in prom_init()
214 if (strlen(arcs_cmdline) + strlen(arg[i] + 1) in prom_init()
222 if (strncmp("gtbase", *env, strlen("gtbase")) == 0) { in prom_init()
223 mv64340_base = simple_strtol(*env + strlen("gtbase="), in prom_init()
226 if (strncmp("cpuclock", *env, strlen("cpuclock")) == 0) { in prom_init()
227 cpu_clock = simple_strtol(*env + strlen("cpuclock="), in prom_init()
/linux-2.4.37.9/arch/mips/momentum/jaguar_atx/
Dprom.c173 if ((strlen(arcs_cmdline) + strlen(ptr) + 1) >= in prom_init()
186 if (strncmp("gtbase", ptr, strlen("gtbase")) == 0) { in prom_init()
187 mv64340_base = simple_strtol(ptr + strlen("gtbase="), in prom_init()
195 if (strncmp("cpuclock", ptr, strlen("cpuclock")) == 0) { in prom_init()
196 cpu_clock = simple_strtol(ptr + strlen("cpuclock="), in prom_init()
211 if (strlen(arcs_cmdline) + strlen(arg[i] + 1) in prom_init()
219 if (strncmp("gtbase", *env, strlen("gtbase")) == 0) { in prom_init()
220 mv64340_base = simple_strtol(*env + strlen("gtbase="), in prom_init()
223 if (strncmp("cpuclock", *env, strlen("cpuclock")) == 0) { in prom_init()
224 cpu_clock = simple_strtol(*env + strlen("cpuclock="), in prom_init()
/linux-2.4.37.9/arch/mips/pmc-sierra/stretch/
Dprom.c117 if ((strlen(arcs_cmdline) + strlen(ptr) + 1) >= in prom_init()
130 if (strncmp("cpuclock", ptr, strlen("cpuclock")) == 0) { in prom_init()
131 cpu_clock = simple_strtol(ptr + strlen("cpuclock="), in prom_init()
147 if (strlen(arcs_cmdline) + strlen(arg[i] + 1) in prom_init()
155 if (strncmp("cpuclock", *env, strlen("cpuclock")) == 0) { in prom_init()
156 cpu_clock = simple_strtol(*env + strlen("cpuclock="), in prom_init()
/linux-2.4.37.9/fs/udf/
Dunicode.c35 int udf_ustr_to_dchars(uint8_t *dest, const struct ustr *src, int strlen) in udf_ustr_to_dchars() argument
37 if ( (!dest) || (!src) || (!strlen) || (src->u_len > strlen) ) in udf_ustr_to_dchars()
44 int udf_ustr_to_char(uint8_t *dest, const struct ustr *src, int strlen) in udf_ustr_to_char() argument
46 if ( (!dest) || (!src) || (!strlen) || (src->u_len >= strlen) ) in udf_ustr_to_char()
63 int udf_dchars_to_ustr(struct ustr *dest, const uint8_t *src, int strlen) in udf_dchars_to_ustr() argument
65 if ( (!dest) || (!src) || (!strlen) || (strlen > UDF_NAME_LEN) ) in udf_dchars_to_ustr()
68 memcpy(dest->u_name, src+1, strlen-1); in udf_dchars_to_ustr()
70 dest->u_len = strlen-1; in udf_dchars_to_ustr()
71 return strlen-1; in udf_dchars_to_ustr()
74 int udf_char_to_ustr(struct ustr *dest, const uint8_t *src, int strlen) in udf_char_to_ustr() argument
[all …]
/linux-2.4.37.9/arch/mips/momentum/ocelot_g/
Dprom.c64 if (strlen(arcs_cmdline) + strlen(arg[i] + 1) in prom_init()
80 if (strncmp("gtbase", *env, strlen("gtbase")) == 0) { in prom_init()
81 gt64240_base = simple_strtol(*env + strlen("gtbase="), in prom_init()
84 if (strncmp("busclock", *env, strlen("busclock")) == 0) { in prom_init()
85 bus_clock = simple_strtol(*env + strlen("busclock="), in prom_init()
/linux-2.4.37.9/drivers/pci/
Dgen-devlist.c53 if (line[0] == 'C' && strlen(line) > 4 && line[4] == ' ') { in main()
65 if (strlen(line) > 5 && line[5] == ' ') { in main()
69 if (vendor_len + strlen(c) + 1 > MAX_NAME_SIZE) { in main()
74 if (vendor_len + strlen(c) + 1 > MAX_NAME_SIZE) { in main()
86 if (strlen(line) > 3 && line[3] == ' ') { in main()
96 } else if (strlen(line) > 4 && line[4] == ' ') { in main()
104 vendor_len = strlen(c); in main()
/linux-2.4.37.9/arch/mips/pmc-sierra/yosemite/
Dprom.c118 if (strlen(arcs_cmdline) + strlen(arg[i] + 1) >= sizeof(arcs_cmdline)) in prom_init()
126 if (strncmp("ocd_base", *env, strlen("ocd_base")) == 0) in prom_init()
127 yosemite_base = simple_strtol(*env + strlen("ocd_base="), in prom_init()
130 if (strncmp("cpuclock", *env, strlen("cpuclock")) == 0) in prom_init()
131 cpu_clock = simple_strtol(*env + strlen("cpuclock="), in prom_init()
/linux-2.4.37.9/arch/mips/arc/
Dcmdline.c50 int len = strlen(used_arc[i][0]); in move_firmware_args()
55 cp += strlen(used_arc[i][1]); in move_firmware_args()
61 cp += strlen(s); in move_firmware_args()
89 int len = strlen(ignored[i]); in prom_init_cmdline()
96 cp += strlen(prom_argv(actr)); in prom_init_cmdline()
/linux-2.4.37.9/drivers/zorro/
Dgen-devlist.c53 if (strlen(line) > 5 && line[5] == ' ') { in main()
57 if (manuf_len + strlen(c) + 1 > MAX_NAME_SIZE) { in main()
62 if (manuf_len + strlen(c) + 1 > MAX_NAME_SIZE) { in main()
75 } else if (strlen(line) > 4 && line[4] == ' ') { in main()
83 manuf_len = strlen(c); in main()
/linux-2.4.37.9/arch/alpha/lib/
Dev67-strlen.S24 .globl strlen
25 .ent strlen
27 strlen: label
49 .end strlen
Dstrlen.S20 .globl strlen
21 .ent strlen
23 strlen: label
57 .end strlen
/linux-2.4.37.9/arch/mips/pmc-sierra/big_sur/
Dprom.c50 if (strlen(arcs_cmdline) + strlen(arg[i] + 1) in prom_init()
59 if (strncmp("cpuclock", *env, strlen("cpuclock")) == 0) { in prom_init()
60 cpu_clock = simple_strtol(*env + strlen("cpuclock="), in prom_init()
/linux-2.4.37.9/arch/ia64/sn/io/drivers/
Difconfig_net.c90 memset(dev->name, 0, strlen(dev->name)); in assign_ifname()
106 memset(dev->name, 0, strlen(dev->name)); in assign_ifname()
122 memset(dev->name, 0, strlen(dev->name)); in assign_ifname()
138 memset(dev->name, 0, strlen(dev->name)); in assign_ifname()
154 memset(dev->name, 0, strlen(dev->name)); in assign_ifname()
240 if ( (dev->addr_len == 0) || ( !strncmp(dev->name, "lo", strlen(dev->name))) ){ in ifconfig_net_ioctl()
/linux-2.4.37.9/arch/mips/au1000/common/
Dprom.c73 cp += strlen(CONFIG_CMDLINE); in prom_init_cmdline()
78 cp += strlen(prom_argv[actr]); in prom_init_cmdline()
99 i = strlen(envname); in prom_getenv()
103 return(env->name + strlen(envname) + 1); in prom_getenv()
/linux-2.4.37.9/net/khttpd/
Drfc.c73 if (strlen(Ident)!=4) in AddMimeType()
79 if (strlen(Type)>(64-sizeof(__u32)-sizeof(__kernel_size_t) ) ) in AddMimeType()
93 MimeTypes[atomic_read(&MimeCount)].len = strlen(Type); in AddMimeType()
118 filelen = (int)strlen(File); in ResolveMimeType()
200 iov[4].iov_len = strlen(Request->LengthS); in SendHTTPHeader()
253 slen = strlen(Request->LengthS); in SendHTTPHeader()
328 PrefixLen = strlen(sysctl_khttpd_docroot); in ParseHeader()
Dsecurity.c94 if (strlen(Filename)>=256 ) in OpenFileForSecurity()
246 max=253 - strlen(String) - strlen(Temp->value); in GetSecureString()
248 max=253 - strlen(String) - 3; in GetSecureString()
/linux-2.4.37.9/drivers/scsi/
DcpqfcTSinit.c683 cpqfcTSDecodeGBICtype(&cpqfcHBA->fcChip, &buf[strlen(buf)]); in cpqfcTS_info()
684 cpqfcTSGetLPSM(&cpqfcHBA->fcChip, &buf[strlen(buf)]); in cpqfcTS_info()
782 cpqfcTSGetLPSM(&cpqfcHBA->fcChip, &buf[strlen(buf)]); in cpqfcTS_proc_info()
1566 sprintf(&cErrorString[strlen(cErrorString)], "NONE! "); in cpqfcTSDecodeGBICtype()
1571 sprintf(&cErrorString[strlen(cErrorString)], "Copper. "); in cpqfcTSDecodeGBICtype()
1575 sprintf(&cErrorString[strlen(cErrorString)], "Long-wave. "); in cpqfcTSDecodeGBICtype()
1578 sprintf(&cErrorString[strlen(cErrorString)], "Short-wave. "); in cpqfcTSDecodeGBICtype()
1581 sprintf(&cErrorString[strlen(cErrorString)], "Unknown. "); in cpqfcTSDecodeGBICtype()
1607 …sprintf(&cErrorString[strlen(cErrorString)], " LPSM %Xh ", (fcChip->Registers.FMstatus.value >> 4)… in cpqfcTSGetLPSM()
1613 sprintf(&cErrorString[strlen(cErrorString)], "ARB"); in cpqfcTSGetLPSM()
[all …]
/linux-2.4.37.9/arch/mips/gt64120/momenco_ocelot/
Dprom.c51 if (strlen(arcs_cmdline) + strlen(arg[i] + 1) in prom_init()
63 gt64120_base = simple_strtol(*env + strlen("gtbase="), in prom_init()
/linux-2.4.37.9/arch/ia64/sn/io/sn2/
Dklconflib.c150 for (i = 0; i < strlen(old_name); i++) { in nic_name_convert()
380 serial_string = serial_string + strlen(serial_pattern); in component_serial_number_get()
579 strcpy(buffer, EDGE_LBL_RACK "/"); buffer += strlen(buffer); in format_module_id()
585 strcpy(buffer, "/" EDGE_LBL_RPOS "/"); buffer += strlen(buffer); in format_module_id()
609 buffer += strlen(EDGE_LBL_RACK "/"); in parse_module_id()
612 if (strlen(buffer) != strlen("/" EDGE_LBL_RPOS "/") + 5) in parse_module_id()
619 if (strlen(buffer) != 6) in parse_module_id()
662 buffer += strlen("/" EDGE_LBL_RPOS "/"); in parse_module_id()
/linux-2.4.37.9/arch/ppc64/kernel/
Dviopath.c234 sprintf(buf + strlen(buf), "SRLNBR="); in proc_read()
235 buf[strlen(buf)] = e2a(xItExtVpdPanel.mfgID[2]); in proc_read()
236 buf[strlen(buf)] = e2a(xItExtVpdPanel.mfgID[3]); in proc_read()
237 buf[strlen(buf)] = e2a(xItExtVpdPanel.systemSerial[1]); in proc_read()
238 buf[strlen(buf)] = e2a(xItExtVpdPanel.systemSerial[2]); in proc_read()
239 buf[strlen(buf)] = e2a(xItExtVpdPanel.systemSerial[3]); in proc_read()
240 buf[strlen(buf)] = e2a(xItExtVpdPanel.systemSerial[4]); in proc_read()
241 buf[strlen(buf)] = e2a(xItExtVpdPanel.systemSerial[5]); in proc_read()
242 buf[strlen(buf)] = '\n'; in proc_read()
244 return strlen(buf); in proc_read()
Dflight_recorder.c97 int TextLen = strlen(LogText); in fr_Log_Data()
140 StartEntry += strlen(StartEntry)+1; in fr_Dump()
145 StartEntry += strlen(StartEntry) + 1; in fr_Dump()
156 StartEntry += strlen(StartEntry) + 1; in fr_Dump()
/linux-2.4.37.9/arch/mips/ite-boards/generic/
Dpmon_prom.c73 cp += strlen(prom_argv[actr]); in prom_init_cmdline()
94 i = strlen(envname); in prom_getenv()
98 return(env->name + strlen(envname) + 1); in prom_getenv()
/linux-2.4.37.9/arch/ppc/boot/utils/
Dmkprep.c254 strlen( "\t.data\n\t.globl input_data\ninput_data:\n" ) ); in write_asm_data()
266 write( out, "\t.long\t", strlen( "\t.long\t" ) ); in write_asm_data()
269 write( out, str, strlen(str) ); in write_asm_data()
277 write( out, str, strlen(str) ); in write_asm_data()
290 write( out, str, strlen(str) ); in write_asm_data()

12345678910>>...24