Lines Matching refs:NANDSIM_ENTRY_SIZE
47 static int nandsim_entry_size = NANDSIM_ENTRY_SIZE;
50 static char string[NANDSIM_ENTRY_SIZE + 1] = {0};
75 memset(&string[str_index], 0, NANDSIM_ENTRY_SIZE - str_index);
90 char tmp[NANDSIM_ENTRY_SIZE];
121 len = vsnprintf(tmp, NANDSIM_ENTRY_SIZE - 1, fmt, ap);
122 tmp[NANDSIM_ENTRY_SIZE - 1] = 0;
155 len = vsnprintf(tmp, NANDSIM_ENTRY_SIZE - 1, fmt, ap);
156 tmp[NANDSIM_ENTRY_SIZE - 1] = 0;
159 rest = NANDSIM_ENTRY_SIZE - str_index;
164 strlcat(string, hdr, NANDSIM_ENTRY_SIZE + 1);
170 rest = NANDSIM_ENTRY_SIZE - str_index;
175 strlcat(string, tmp, NANDSIM_ENTRY_SIZE + 1);