buf 162 cib/io.c struct stat buf; buf 170 cib/io.c if(stat(a_path, &buf) == 0) { buf 171 cib/io.c a_age = buf.st_ctime; buf 173 cib/io.c if(stat(b_path, &buf) == 0) { buf 174 cib/io.c b_age = buf.st_ctime; buf 94 crmd/subsystems.c struct stat buf; buf 120 crmd/subsystems.c s_res = stat(the_subsystem->command, &buf); buf 490 fencing/test.c char buf[16] = { 0, }; buf 508 fencing/test.c snprintf(buf, sizeof(buf) - 1, "%d", MAINLOOP_DEFAULT_TIMEOUT + CUSTOM_TIMEOUT_ADDITION); buf 509 fencing/test.c params = stonith_key_value_add(params, "pcmk_off_timeout", buf); buf 61 include/crm/common/util.h char *crm_itoa_stack(int an_int, char *buf, size_t len); buf 119 include/crm/common/util.h char *score2char_stack(int score, char *buf, size_t len); buf 958 lib/ais/plugin.c char buf[4096]; buf 128 lib/cib/cib_file.c struct stat buf; buf 138 lib/cib/cib_file.c s_res = stat(filename, &buf); buf 142 lib/cib/cib_file.c } else if (buf.st_size == 0) { buf 530 lib/cib/cib_file.c struct stat buf; buf 535 lib/cib/cib_file.c if (stat(filename, &buf) < 0) { buf 140 lib/cluster/legacy.c char *buf = malloc(buf_len); buf 142 lib/cluster/legacy.c cs_ipc_header_response_t *header = (cs_ipc_header_response_t *)(void*)buf; buf 144 lib/cluster/legacy.c CRM_ASSERT(buf != NULL); buf 158 lib/cluster/legacy.c rc = coroipcc_msg_send_reply_receive(ais_ipc_handle, iov, 1, buf, buf_len); buf 180 lib/cluster/legacy.c free(buf); buf 61 lib/common/cib_secrets.c char buf[MAX_VALUE_LEN+1]; buf 71 lib/common/cib_secrets.c if (!fgets(buf, MAX_VALUE_LEN, fp)) { buf 77 lib/common/cib_secrets.c for (p = buf+strlen(buf)-1; p >= buf && isspace(*p); p--) buf 80 lib/common/cib_secrets.c return strdup(buf); buf 283 lib/common/io.c struct stat buf; buf 294 lib/common/io.c s_res = stat(full_file, &buf); buf 295 lib/common/io.c if (s_res == 0 && S_ISREG(buf.st_mode) == FALSE) { buf 304 lib/common/io.c s_res = stat(dir, &buf); buf 310 lib/common/io.c } else if (S_ISDIR(buf.st_mode) == FALSE) { buf 321 lib/common/io.c && buf.st_uid == sys_user->pw_uid && (buf.st_mode & (S_IRUSR | S_IWUSR))); buf 334 lib/common/io.c && buf.st_gid == sys_grp->gr_gid && (buf.st_mode & (S_IRGRP | S_IWGRP))); buf 226 lib/common/remote.c crm_send_tls(gnutls_session_t * session, const char *buf, size_t len) buf 228 lib/common/remote.c const char *unsent = buf; buf 232 lib/common/remote.c if (buf == NULL) { buf 267 lib/common/remote.c crm_send_plaintext(int sock, const char *buf, size_t len) buf 271 lib/common/remote.c const char *unsent = buf; buf 274 lib/common/remote.c if (buf == NULL) { buf 303 lib/common/remote.c crm_trace("Sent %d bytes: %.100s", rc, buf); buf 268 lib/common/utils.c score2char_stack(int score, char *buf, size_t len) buf 271 lib/common/utils.c strncpy(buf, INFINITY_S, 9); buf 273 lib/common/utils.c strncpy(buf, MINUS_INFINITY_S , 10); buf 275 lib/common/utils.c return crm_itoa_stack(score, buf, len); buf 278 lib/common/utils.c return buf; buf 786 lib/common/utils.c char buf[LOCKSTRLEN + 1]; buf 798 lib/common/utils.c if (read(fd, buf, sizeof(buf)) < 1) { buf 802 lib/common/utils.c if (sscanf(buf, "%lu", &pid) > 0) { buf 849 lib/common/utils.c char buf[LOCKSTRLEN + 1]; buf 867 lib/common/utils.c snprintf(buf, sizeof(buf), "%*lu\n", LOCKSTRLEN - 1, mypid); buf 868 lib/common/utils.c rc = write(fd, buf, LOCKSTRLEN); buf 43 lib/services/services_linux.c char buf[500]; buf 44 lib/services/services_linux.c static const size_t buf_read_len = sizeof(buf) - 1; buf 67 lib/services/services_linux.c rc = read(fd, buf, buf_read_len); buf 69 lib/services/services_linux.c crm_trace("Got %d chars: %.80s", rc, buf); buf 70 lib/services/services_linux.c buf[rc] = 0; buf 72 lib/services/services_linux.c len += sprintf(data + len, "%s", buf); buf 49 libltdl/argz.c argz_append (char **pargz, size_t *pargz_len, const char *buf, size_t buf_len) buf 69 libltdl/argz.c memcpy (argz + *pargz_len, buf, buf_len); buf 51 libltdl/argz_.h const char *buf, size_t buf_len); buf 1768 libltdl/ltdl.c char *buf = 0; buf 1807 libltdl/ltdl.c buf = MALLOC (char, 1+ buf_len); buf 1808 libltdl/ltdl.c if (!buf) buf 1811 libltdl/ltdl.c assert (buf); buf 1813 libltdl/ltdl.c strcpy (buf, dirnam); buf 1814 libltdl/ltdl.c strcat (buf, "/"); buf 1815 libltdl/ltdl.c strncat (buf, dp->d_name, end_offset); buf 1816 libltdl/ltdl.c buf[buf_len] = LT_EOS_CHAR; buf 1819 libltdl/ltdl.c if (lt_argz_insertinorder (pargz, pargz_len, buf) != 0) buf 1822 libltdl/ltdl.c FREE (buf); buf 213 replace/uuid_parse.c char buf[3]; buf 235 replace/uuid_parse.c buf[2] = 0; buf 237 replace/uuid_parse.c buf[0] = *cp++; buf 238 replace/uuid_parse.c buf[1] = *cp++; buf 239 replace/uuid_parse.c uuid.node[i] = strtoul(buf, NULL, 16); buf 315 replace/uuid_parse.c get_random_bytes(void *buf, int nbytes) buf 319 replace/uuid_parse.c unsigned char *cp = (unsigned char *)buf; buf 339 replace/uuid_parse.c for (cp = buf, i = 0; i < nbytes; i++) buf 354 replace/uuid_parse.c char buf[1024]; buf 378 replace/uuid_parse.c memset(buf, 0, sizeof(buf)); buf 379 replace/uuid_parse.c ifc.ifc_len = sizeof(buf); buf 380 replace/uuid_parse.c ifc.ifc_buf = buf; buf 467 replace/uuid_parse.c uuid_t buf; buf 470 replace/uuid_parse.c get_random_bytes(buf, sizeof(buf)); buf 471 replace/uuid_parse.c uuid_unpack(buf, &uu); buf 170 tools/cib_shadow.c struct stat buf; buf 313 tools/cib_shadow.c rc = stat(shadow_file, &buf); buf 341 tools/cib_shadow.c rc = stat(shadow_file, &buf); buf 3569 tools/crm_mon.c crm_smtp_debug(const char *buf, int buflen, int writing, void *arg) buf 3583 tools/crm_mon.c switch (buf[lpc]) { buf 3587 tools/crm_mon.c do_crm_log(level, " %.*s", lpc - last, buf + last); buf 3589 tools/crm_mon.c do_crm_log(level, "%c: %.*s", type, lpc - last, buf + last); buf 3766 tools/crm_mon.c char buf[128]; buf 3769 tools/crm_mon.c crm_err("SMTP server problem: %s (%d)", smtp_strerror(rc, buf, sizeof buf), rc); buf 3772 tools/crm_mon.c char buf[128]; buf 3777 tools/crm_mon.c crm_err("SMTP server problem: %s (%d)", smtp_strerror(rc, buf, sizeof buf), rc);