bufcall(9r)bufcall(9r)NAME
bufcall - STREAMS: Gets a buffer when allocb fails
SYNOPSIS
#include <sys/stream.h>
int bufcall(
int size,
int pri,
int (*function) (),
long argument );
ARGUMENTS
Specifies the number of bytes in the buffer. Specifies the priority of the allocb allocation request (no longer used). Specifies a kernel
or driver interface to be called when a buffer becomes available. Specifies an argument to be passed to the kernel or driver interface
specified in the function argument.
DESCRIPTION
The bufcall interface serves as a timeout call of indeterminate length. When a buffer allocation request fails, you can use bufcall to
schedule the interface passed to the function argument to be called with the argument passed to argument when a buffer becomes available.
The interface passed to function can be a routine that calls allocb or it can be implemented to perform something else.
NOTES
Even when the bufcall interface calls the interface passed to the function argument, the allocb interface can still fail if another module
or device driver allocated the memory before the interface in function was able to call allocb.
RETURN VALUES
Upon successful completion, the bufcall interface returns a bufcall id that you can use in a call to the unbufcall interface to cancel the
request. If the bufcall scheduling fails (that is, a buffer is not available), the interface passed to function is never called and bufcall
returns the value zero(0).
SEE ALSO
Kernel Routines: allocb(9r), esballoc(9r), testb(9r)
Programmer's Guide: STREAMS
bufcall(9r)
Check Out this Related Man Page
esbbcall(9F) Kernel Functions for Drivers esbbcall(9F)NAME
esbbcall - call function when buffer is available
SYNOPSIS
#include <sys/stream.h>
bufcall_id_t esbbcall(uint_t pri, void (*func)(void *arg), void (arg));
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
pri Priority of allocation request (to be used by allocb(9F) function, called by esbbcall())
func Function to be called when buffer becomes available.
arg Argument to func.
DESCRIPTION
esbbcall(), like bufcall(9F), serves as a timeout(9F) call of indeterminate length. If esballoc(9F) is unable to allocate a message and
data block header to go with its externally supplied data buffer, esbbcall() can be used to schedule the routine func, to be called with
the argument arg when a buffer becomes available. func may be a routine that calls esballoc(9F) or it may be another kernel function.
RETURN VALUES
On success, a bufcall IDis returned. On failure, 0 is returned. The value returned from a successful call should be saved for possible
future use with unbufcall() should it become necessary to cancel the esbbcall() request (as at driver close time).
CONTEXT
esbbcall() can be called from user or interrupt context.
SEE ALSO allocb(9F), bufcall(9F), esballoc(9F), timeout(9F), datab(9S), unbufcall(9F)
Writing Device Drivers STREAMS Programming Guide
SunOS 5.10 18 Feb 98 esbbcall(9F)
On AIX platform we are having Weblogic 8.1 as the middleware for an application.
The application is deployed in Weblogic on AIX platform and the server is having 2 dedicated listening ports for any incoming requests.
Output for netstat -an command for the port 30001 is as follows:-
tcp4... (7 Replies)
I have a 2-node Power 7 - 16cpu - 32gb RAM - AIX 6L cluster. The production node has 10 physical cpus (40 cores) and 24gb of RAM.
The cluster has been live for 6 weeks and I'm seeing some things on the production node that I think could be of concern but wanted to get some opinions.
The... (6 Replies)
last night i want to do oracle full backup with expdp when i switch to oracle it hangs,it looks like:
su - oracle
there is nothing feedback and hang ,but su - root work fine.
then i use truss su - oracle found it stuck at "ENOSR" ,then i changed the kernel parameter of strthresh from 85 to 90... (7 Replies)