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
1140 This optional method is called to vet a key description. If the key type
1147 This optional method permits the key type to attempt to parse payload
1160 Before calling the method, the caller will fill in data and datalen with
1169 The method can attach anything it likes to payload. This is merely passed
1173 The method should return 0 if successful or a negative error code
1179 This method is only required if the preparse() method is provided,
1182 preparse() method. It will always be called after preparse() returns
1188 This method is called to attach a payload to a key during construction.
1198 This method does not have to lock the key in order to attach a payload.
1202 It is safe to sleep in this method.
1207 free_preparse method doesn't release the data.
1212 If this type of key can be updated, then this method should be provided.
1223 The key will have its semaphore write-locked before this method is called,
1232 It is safe to sleep in this method.
1237 This method is optional. It is called when a key search is about to be
1262 The method may set cmp to point to a function of its choice that does some
1267 If preparsed is set, it may be necessary to use the match_free() method to
1270 The method should return 0 if successful or a negative error code
1273 It is permitted to sleep in this method, but (*cmp)() may not sleep as
1282 This method is optional. If given, it called to clean up
1288 This method is optional. It is called to discard part of the payload
1292 It is safe to sleep in this method, though care should be taken to avoid
1298 This method is optional. It is called to discard the payload data on a key
1301 This method does not need to lock the key to access the payload; it can
1305 It is not safe to sleep in this method; the caller may hold spinlocks.
1310 This method is optional. It is called during /proc/keys reading to
1313 This method will be called with the RCU read lock held. rcu_dereference()
1320 It is not safe to sleep in this method; the RCU read lock is held by the
1326 This method is optional. It is called by KEYCTL_READ to translate the
1334 This method will be called with the key's semaphore read-locked. This will
1336 when accessing the key's payload. It is safe to sleep in this method, such
1343 This method is optional. If provided, request_key() and friends will
1352 This method is permitted to return before the upcall is complete, but the
1364 If this method returns an error, that error will be returned to the