Lines Matching refs:index
525 UINT32 index;
530 index = g_dmesgInfo->logHead;
540 *(p + i) = *(g_dmesgInfo->logBuf + index++);
541 if (index > BUF_MAX_INDEX) {
542 index = 0;
545 if (index == g_dmesgInfo->logTail) {
770 if (LOS_DmesgToFile((CHAR *)argv[2]) < 0) { /* 2:index of parameters */
771 PRINTK("Dmesg write log to %s fail \n", argv[2]); /* 2:index of parameters */
774 PRINTK("Dmesg write log to %s success \n", argv[2]); /* 2:index of parameters */
778 return OsDmesgLvSet(argv[2]); /* 2:index of parameters */
780 return OsDmesgMemSizeSet(argv[2]); /* 2:index of parameters */