my_id
#define OSAL_BEFORE_PF_START(cdev, my_id) {};
#define OSAL_AFTER_PF_STOP(cdev, my_id) {};
u8 my_id; /* ID inside the PF */
#define IS_LEAD_HWFN(edev) (!((edev)->my_id))
p_hwfn->my_id, p_hwfn->p_cxt_mngr->pf_start_line);
p_hwfn->my_id = i;
db_entry->hwfn_idx = p_hwfn->my_id;
OSAL_BEFORE_PF_START((void *)p_hwfn->p_dev, p_hwfn->my_id);
OSAL_AFTER_PF_STOP((void *)p_dev, p_hwfn->my_id);
if (!p_hwfn->my_id) {
if (p_ptt->hwfn_id != p_hwfn->my_id)
p_ptt->idx, p_ptt->hwfn_id, p_hwfn->my_id);
p_pool->ptts[i].hwfn_id = p_hwfn->my_id;
p_hwfn, p_hwfn->my_id);
p_ll2_conn->my_id,
p_ll2_info[i].my_id = i;
p_ll2_conn->my_id,
p_ll2_conn->my_id,
data.connection_handle = p_ll2_conn->my_id;
p_ll2_conn->my_id,
rc = ecore_ll2_prepare_tx_packet(p_hwfn, p_ll2_conn->my_id,
p_ll2_conn->my_id,
rc = ecore_ll2_post_rx_buffer(p_hwfn, p_ll2_conn->my_id,
u8 my_id;
smmonid.my_id.my_name = "localhost";
smmonid.my_id.my_prog = NLM_PROG;
smmonid.my_id.my_vers = NLM_SM;
smmonid.my_id.my_proc = NLM_SM_NOTIFY;
smmon.mon_id.my_id.my_name = "localhost";
smmon.mon_id.my_id.my_prog = NLM_PROG;
smmon.mon_id.my_id.my_vers = NLM_SM;
smmon.mon_id.my_id.my_proc = NLM_SM_NOTIFY;
my_id id;
typedef struct my_id my_id;
struct my_id my_id;
extern struct sm_stat * sm_unmon_all_1(struct my_id *, CLIENT *);
extern struct sm_stat * sm_unmon_all_1_svc(struct my_id *, struct svc_req *);
extern bool_t xdr_my_id(XDR *, my_id*);
xdr_my_id(XDR *xdrs, my_id *objp)
if (!xdr_my_id(xdrs, &objp->my_id))
my_id id;
mon_host.mon_id.my_id.my_name = localhost;
mon_host.mon_id.my_id.my_prog = NLM_PROG;
mon_host.mon_id.my_id.my_vers = NLM_SM;
mon_host.mon_id.my_id.my_proc = NLM_SM_NOTIFY; /* bsdi addition */
smon.mon_id.my_id.my_name = "localhost";
smon.mon_id.my_id.my_prog = NLM_PROG;
smon.mon_id.my_id.my_vers = NLM_SM;
smon.mon_id.my_id.my_proc = NLM_SM_NOTIFY;
smon_id.my_id.my_name = "localhost";
smon_id.my_id.my_prog = NLM_PROG;
smon_id.my_id.my_vers = NLM_SM;
smon_id.my_id.my_proc = NLM_SM_NOTIFY;
arg->mon_id.my_id.my_name,
arg->mon_id.my_id.my_prog,
arg->mon_id.my_id.my_vers,
arg->mon_id.my_id.my_proc);
strncpy(lp->notifyHost, arg->mon_id.my_id.my_name, SM_MAXSTRLEN);
lp->notifyProg = arg->mon_id.my_id.my_prog;
lp->notifyVers = arg->mon_id.my_id.my_vers;
lp->notifyProc = arg->mon_id.my_id.my_proc;
static int do_unmon(HostInfo *hp, my_id *idp)
arg->my_id.my_prog, arg->my_id.my_vers, arg->my_id.my_proc);
if (do_unmon(hp, &arg->my_id)) sync_file();
arg->my_id.my_name);
arg->my_id.my_name, arg->mon_name);
struct sm_stat *sm_unmon_all_1_svc(my_id *arg, struct svc_req *req __unused)
mon.mon_id.my_id.my_name = argv[1];
mon.mon_id.my_id.my_prog = SM_PROG;
mon.mon_id.my_id.my_vers = SM_VERS;
mon.mon_id.my_id.my_proc = 1; /* have it call sm_stat() !!! */
struct my_id *argp;