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