Searched refs:ptl (Results 1 – 6 of 6) sorted by relevance
/drivers/staging/lustre/lnet/lnet/ |
D | lib-ptl.c | 45 struct lnet_portal *ptl = the_lnet.ln_portals[index]; in lnet_ptl_match_type() local 52 LASSERT(!lnet_ptl_is_unique(ptl) || !lnet_ptl_is_wildcard(ptl)); in lnet_ptl_match_type() 55 if (likely(lnet_ptl_is_unique(ptl) || lnet_ptl_is_wildcard(ptl))) in lnet_ptl_match_type() 59 lnet_ptl_lock(ptl); in lnet_ptl_match_type() 61 if (unlikely(lnet_ptl_is_unique(ptl) || lnet_ptl_is_wildcard(ptl))) { in lnet_ptl_match_type() 62 lnet_ptl_unlock(ptl); in lnet_ptl_match_type() 68 lnet_ptl_setopt(ptl, LNET_PTL_MATCH_UNIQUE); in lnet_ptl_match_type() 70 lnet_ptl_setopt(ptl, LNET_PTL_MATCH_WILDCARD); in lnet_ptl_match_type() 72 lnet_ptl_unlock(ptl); in lnet_ptl_match_type() 77 if ((lnet_ptl_is_unique(ptl) && !unique) || in lnet_ptl_match_type() [all …]
|
D | lib-me.c | 151 struct lnet_portal *ptl; in LNetMEInsert() local 177 ptl = the_lnet.ln_portals[current_me->me_portal]; in LNetMEInsert() 178 if (lnet_ptl_is_unique(ptl)) { in LNetMEInsert()
|
D | net_fault.c | 358 unsigned int ptl = -1; in lnet_drop_rule_match() local 367 ptl = le32_to_cpu(hdr->msg.put.ptl_index); in lnet_drop_rule_match() 369 ptl = le32_to_cpu(hdr->msg.get.ptl_index); in lnet_drop_rule_match() 373 drop = drop_rule_match(rule, src, dst, typ, ptl); in lnet_drop_rule_match() 539 unsigned int ptl = -1; in lnet_delay_rule_match_locked() local 548 ptl = le32_to_cpu(hdr->msg.put.ptl_index); in lnet_delay_rule_match_locked() 550 ptl = le32_to_cpu(hdr->msg.get.ptl_index); in lnet_delay_rule_match_locked() 553 if (delay_rule_match(rule, src, dst, typ, ptl, msg)) in lnet_delay_rule_match_locked()
|
D | Makefile | 4 lib-me.o lib-msg.o lib-eq.o lib-md.o lib-ptl.o \
|
/drivers/staging/lustre/include/linux/lnet/ |
D | lib-lnet.h | 172 #define lnet_ptl_lock(ptl) spin_lock(&(ptl)->ptl_lock) argument 173 #define lnet_ptl_unlock(ptl) spin_unlock(&(ptl)->ptl_lock) argument 505 lnet_ptl_is_lazy(lnet_portal_t *ptl) in lnet_ptl_is_lazy() argument 507 return !!(ptl->ptl_options & LNET_PTL_LAZY); in lnet_ptl_is_lazy() 511 lnet_ptl_is_unique(lnet_portal_t *ptl) in lnet_ptl_is_unique() argument 513 return !!(ptl->ptl_options & LNET_PTL_MATCH_UNIQUE); in lnet_ptl_is_unique() 517 lnet_ptl_is_wildcard(lnet_portal_t *ptl) in lnet_ptl_is_wildcard() argument 519 return !!(ptl->ptl_options & LNET_PTL_MATCH_WILDCARD); in lnet_ptl_is_wildcard() 523 lnet_ptl_setopt(lnet_portal_t *ptl, int opt) in lnet_ptl_setopt() argument 525 ptl->ptl_options |= opt; in lnet_ptl_setopt() [all …]
|
/drivers/platform/x86/ |
D | intel_ips.c | 1145 u16 ptl; 1147 ptl = thm_readw(THM_PTL); 1148 dev_dbg(&ips->dev->dev, "Processor temp limit: %d\n", ptl);
|