Lines Matching refs:buflen
880 const int buflen = SZ_8K; in create_gpt_partitions() local
889 buf = malloc(buflen); in create_gpt_partitions()
903 memset(buf, 0, buflen); in create_gpt_partitions()
913 if (offset + 100 > buflen) { in create_gpt_partitions()
923 offset += snprintf(buf + offset, buflen - offset, in create_gpt_partitions()
931 buflen - offset, in create_gpt_partitions()
936 buflen - offset, in create_gpt_partitions()
941 buflen - offset, in create_gpt_partitions()
953 buflen - offset, in create_gpt_partitions()
958 offset += snprintf(buf + offset, buflen - offset, ";"); in create_gpt_partitions()
962 offset += snprintf(buf + offset, buflen - offset, "\""); in create_gpt_partitions()