Lines Matching refs:str
7 char *str; member
24 zfree(&cs->str); in comm_str__put()
29 static struct comm_str *comm_str__alloc(const char *str) in comm_str__alloc() argument
37 cs->str = strdup(str); in comm_str__alloc()
38 if (!cs->str) { in comm_str__alloc()
46 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) in comm_str__findnew() argument
57 cmp = strcmp(str, iter->str); in comm_str__findnew()
67 new = comm_str__alloc(str); in comm_str__findnew()
77 struct comm *comm__new(const char *str, u64 timestamp, bool exec) in comm__new() argument
87 comm->comm_str = comm_str__findnew(str, &comm_str_root); in comm__new()
98 int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) in comm__override() argument
102 new = comm_str__findnew(str, &comm_str_root); in comm__override()
124 return comm->comm_str->str; in comm__str()