__of_prop_dup — Copy a property into a new dynamic property
struct property * __of_prop_dup ( | const struct property * prop, |
gfp_t allocflags) ; |
Copy prop
into a new property. Memory is allocated for all objects
associated with the new property; the new property does not
contain any
pointers to the contents of old property.
The typical value for allocflags
is GFP_KERNEL.
The new property's OF_DYNAMIC flag is set so dynamic properties can be identified.