Lines Matching refs:str
12 char *str; member
35 zfree(&cs->str); in comm_str__put()
40 static struct comm_str *comm_str__alloc(const char *str) in comm_str__alloc() argument
48 cs->str = strdup(str); in comm_str__alloc()
49 if (!cs->str) { in comm_str__alloc()
60 struct comm_str *__comm_str__findnew(const char *str, struct rb_root *root) in __comm_str__findnew() argument
76 cmp = strcmp(str, iter->str); in __comm_str__findnew()
86 new = comm_str__alloc(str); in __comm_str__findnew()
96 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) in comm_str__findnew() argument
101 cs = __comm_str__findnew(str, root); in comm_str__findnew()
107 struct comm *comm__new(const char *str, u64 timestamp, bool exec) in comm__new() argument
117 comm->comm_str = comm_str__findnew(str, &comm_str_root); in comm__new()
126 int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) in comm__override() argument
130 new = comm_str__findnew(str, &comm_str_root); in comm__override()
151 return comm->comm_str->str; in comm__str()