Searched refs:token_len (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | rtas-proc.c | 986 int token_len; in ppc_rtas_errinjct_write() local 1005 token_len = strnlen(tmpbuf, max_len); in ppc_rtas_errinjct_write() 1006 token_len++; /* Add one for the null termination */ in ppc_rtas_errinjct_write() 1008 ei_token = (char *)kmalloc(token_len, GFP_KERNEL); in ppc_rtas_errinjct_write() 1015 strncpy(ei_token, tmpbuf, token_len); in ppc_rtas_errinjct_write() 1017 if (count > token_len + WORKSPACE_SIZE) { in ppc_rtas_errinjct_write() 1018 count = token_len + WORKSPACE_SIZE; in ppc_rtas_errinjct_write() 1021 buf += token_len; in ppc_rtas_errinjct_write() 1024 if (count > token_len) { in ppc_rtas_errinjct_write() 1026 if ((count - token_len) > WORKSPACE_SIZE) { in ppc_rtas_errinjct_write() [all …]
|
/linux-2.4.37.9/drivers/s390/net/ |
D | qeth.c | 10121 static int qeth_get_next_token(char *buffer,int *token_len, in qeth_get_next_token() argument 10124 *token_len=0; in qeth_get_next_token() 10136 *token_len=(*token_len)+1; in qeth_get_next_token() 10157 if (!qeth_get_next_token(buffer,&token_len,&pos,&end_pos,user_len)) { \ 10162 card=qeth_find_card(buffer+pos,token_len); \ 10176 int token_len; in qeth_procfile_write() local 10194 if (!qeth_get_next_token(buffer,&token_len,&pos,&end_pos,user_len)) in qeth_procfile_write() 10198 if (!strncmp(buffer+pos,"recover",token_len)) { in qeth_procfile_write() 10206 } else if (!strncmp(buffer+pos,"remember",token_len)) { in qeth_procfile_write() 10212 } else if (!strncmp(buffer+pos,"forget",token_len)) { in qeth_procfile_write() [all …]
|