Lines Matching refs:str
8 char *str; member
27 zfree(&cs->str); in comm_str__put()
32 static struct comm_str *comm_str__alloc(const char *str) in comm_str__alloc() argument
40 cs->str = strdup(str); in comm_str__alloc()
41 if (!cs->str) { in comm_str__alloc()
51 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) in comm_str__findnew() argument
62 cmp = strcmp(str, iter->str); in comm_str__findnew()
72 new = comm_str__alloc(str); in comm_str__findnew()
82 struct comm *comm__new(const char *str, u64 timestamp, bool exec) in comm__new() argument
92 comm->comm_str = comm_str__findnew(str, &comm_str_root); in comm__new()
103 int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) in comm__override() argument
107 new = comm_str__findnew(str, &comm_str_root); in comm__override()
129 return comm->comm_str->str; in comm__str()