Lines Matching refs:p
56 char *p = splicepoint; in fdt_splice_() local
58 size_t soff = p - (char *)fdt; in fdt_splice_()
62 if ((p < (char *)fdt) || (dsize + newlen < (unsigned)oldlen)) in fdt_splice_()
66 memmove(p + newlen, p + oldlen, ((char *)fdt + dsize) - (p + oldlen)); in fdt_splice_()
70 static int fdt_splice_mem_rsv_(void *fdt, struct fdt_reserve_entry *p, in fdt_splice_mem_rsv_() argument
73 int delta = (newn - oldn) * sizeof(*p); in fdt_splice_mem_rsv_()
75 err = fdt_splice_(fdt, p, oldn * sizeof(*p), newn * sizeof(*p)); in fdt_splice_mem_rsv_()
83 static int fdt_splice_struct_(void *fdt, void *p, in fdt_splice_struct_() argument
89 if ((err = fdt_splice_(fdt, p, oldlen, newlen))) in fdt_splice_struct_()
107 void *p = (char *)fdt in fdt_splice_string_() local
111 if ((err = fdt_splice_(fdt, p, 0, newlen))) in fdt_splice_string_()
130 const char *p; in fdt_find_add_string_() local
138 p = fdt_find_string_(strtab, fdt_size_dt_strings(fdt), s); in fdt_find_add_string_()
139 if (p) in fdt_find_add_string_()
141 return (p - strtab); in fdt_find_add_string_()