Lines Matching refs:method
890 method. This permits approximate matching to occur. If callout_string is
1061 If the key type does not have a modify method, then the key's payload can
1133 This optional method is called to vet a key description. If the key type
1140 This optional method permits the key type to attempt to parse payload
1154 Before calling the method, the caller will fill in data and datalen with
1163 The method can attach anything it likes to type_data[] and payload. These
1168 The method should return 0 if successful or a negative error code
1174 This method is only required if the preparse() method is provided,
1177 struct as filled in by the preparse() method. It will always be called
1184 This method is called to attach a payload to a key during construction.
1194 This method does not have to lock the key in order to attach a payload.
1198 It is safe to sleep in this method.
1203 If this type of key can be updated, then this method should be provided.
1214 The key will have its semaphore write-locked before this method is called,
1223 It is safe to sleep in this method.
1228 This method is optional. It is called when a key search is about to be
1253 The method may set cmp to point to a function of its choice that does some
1258 If preparsed is set, it may be necessary to use the match_free() method to
1261 The method should return 0 if successful or a negative error code
1264 It is permitted to sleep in this method, but (*cmp)() may not sleep as
1273 This method is optional. If given, it called to clean up
1279 This method is optional. It is called to discard part of the payload
1283 It is safe to sleep in this method, though care should be taken to avoid
1289 This method is optional. It is called to discard the payload data on a key
1292 This method does not need to lock the key to access the payload; it can
1296 It is not safe to sleep in this method; the caller may hold spinlocks.
1301 This method is optional. It is called during /proc/keys reading to
1304 This method will be called with the RCU read lock held. rcu_dereference()
1311 It is not safe to sleep in this method; the RCU read lock is held by the
1317 This method is optional. It is called by KEYCTL_READ to translate the
1325 This method will be called with the key's semaphore read-locked. This will
1327 when accessing the key's payload. It is safe to sleep in this method, such
1334 This method is optional. If provided, request_key() and friends will
1343 This method is permitted to return before the upcall is complete, but the
1355 If this method returns an error, that error will be returned to the