Lines Matching defs:str
13 char *str;
36 zfree(&cs->str);
41 static struct comm_str *comm_str__alloc(const char *str)
49 cs->str = strdup(str);
50 if (!cs->str) {
61 struct comm_str *__comm_str__findnew(const char *str, struct rb_root *root)
77 cmp = strcmp(str, iter->str);
87 new = comm_str__alloc(str);
97 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root)
102 cs = __comm_str__findnew(str, root);
108 struct comm *comm__new(const char *str, u64 timestamp, bool exec)
118 comm->comm_str = comm_str__findnew(str, &comm_str_root);
127 int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec)
131 new = comm_str__findnew(str, &comm_str_root);
152 return comm->comm_str->str;